Qbasicnews.com

Full Version: DIM SHARED, COMMON SHARED
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
Bleh, I never use such large arrays. When you occupy such a big amount of space in the conventional memory(16 * 3000 * 2 = 93.75KB) you leave little space for other variables. If thats a map of some sort I suggest you use EMS/XMS to store it.
That's why I recoded it to have it occupy minimum space Wink
Did u use EMS/XMS or just the 'primitive' conventional memory?
Well, it's now only about 16 * 500 Wink

No, it's not in EMS. The 500 is the maximum.

And we now have loads of memory free Wink
16 * 500 was minimum for now, and all our sprites are put in Virtual XMS. And we have 300000 bytes of array mem free or so... Wink
Ahem... if you are storing an integer then you occupy 16 * 500 * 2 = 16000 bytes =P
Yeah, 16000 of 300000, it's not too much Wink
rel:

you can use the 20 function set.. You don't need to look at the internals... do you?

Looking at internal code is disgusting.....
Ahhhh...... Its for a tutorial?

Big Grin
You would require a supercomputer to decrypt aga's code =P
Pages: 1 2 3 4