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
Did u use EMS/XMS or just the 'primitive' conventional memory?
Well, it's now only about 16 * 500
No, it's not in EMS. The 500 is the maximum.
And we now have loads of memory free
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...
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
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?
You would require a supercomputer to decrypt aga's code =P