Search found 8 matches

by dkg
Sat Apr 05, 2008 10:01 am
Forum: QBASIC and QB64 Questions & Answers
Topic: swapping the bytes of an integer
Replies: 13
Views: 21148

Thankyou for your efforts. Your last post is very much out of my legue (for now at least).

It's reasuring to know that advanced help is available, should I ever need it.

As always, thankyou for your time.
by dkg
Fri Apr 04, 2008 4:00 am
Forum: QBASIC and QB64 Questions & Answers
Topic: swapping the bytes of an integer
Replies: 13
Views: 21148

Sorry TmEE. I rushed my last reply. I meant to say "I've been playing around with TmEE's suggestion". It works a dream. Michael, thankyou for opening my eyes to the CVI/MKI$ functions, in this case it's not quite what I wanted though. Again I thank you all for your helfpull and friendly po...
by dkg
Thu Apr 03, 2008 4:21 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: swapping the bytes of an integer
Replies: 13
Views: 21148

I appreciate your response Michael. I've been playing around with Ted's suggestion and, after a few bugs when using the code in a function, have reached my goal. Despite having accoumplished what I needed, I will experiment with your code too. With the goal of familiarising myself with features of t...
by dkg
Thu Apr 03, 2008 8:53 am
Forum: QBASIC and QB64 Questions & Answers
Topic: swapping the bytes of an integer
Replies: 13
Views: 21148

That's exactly what I needed. Many thanks for your quick response.
by dkg
Thu Apr 03, 2008 7:45 am
Forum: QBASIC and QB64 Questions & Answers
Topic: swapping the bytes of an integer
Replies: 13
Views: 21148

swapping the bytes of an integer

I do appologise if this is answered elsewhere, I did try the forum search first. Is there a quick, elegant way of switching MSB with LFB in an integer? eg &h6D0D (27917) to &h076D(3437) I though of something like this, but it seems a little long winded. [code] DIM a AS INTEGER open "som...
by dkg
Wed Apr 02, 2008 3:04 pm
Forum: General Discussion
Topic: Project: C&C1(Tiberian Dawn) gold/95 edition Savegame Ed
Replies: 3
Views: 8233

Fine point Ted.

Back in a few weeks :)
by dkg
Wed Apr 02, 2008 2:42 pm
Forum: General Discussion
Topic: Project: C&C1(Tiberian Dawn) gold/95 edition Savegame Ed
Replies: 3
Views: 8233

For my 1st attempt I created an ampty map with one minigunner in the top corner of the screen. Replaced GDI's 1st mission, started a new game and saved. 2nd Waited then saved again (time passed must be stored in the savegame somewhere too) 3rd save I moved the minigunner right by one square, 4th no ...
by dkg
Wed Apr 02, 2008 1:37 pm
Forum: General Discussion
Topic: Project: C&C1(Tiberian Dawn) gold/95 edition Savegame Ed
Replies: 3
Views: 8233

Project: C&C1(Tiberian Dawn) gold/95 edition Savegame Ed

Hi all. Here I will be posting my progress, if any, with my new project. A savegame editor for Westwood's first game in the C&C series, Tiberian Dawn (gold/95 edition). 1. why QB? 2. Why c&c1? 3. why savegame editor? 4. Why post this here? 1. I find QB relaxing and enjoyable to use, and it g...