Hi.
Is it safe to use all 32kb of ram on a MTX500, I am thinking to load one part of the game into vram and the other part into lower memory from 8000-> and then move the data from vram to higher memory. But would it be safe, what about Interrupts, buffers and System variables is it safe to overwrite them?
Safe to use 32kb ram on MTX500?
Safe to use 32kb ram on MTX500?
//CLAUS - Webmaster at www.mtxworld.dk
Re: Safe to use 32kb ram on MTX500?
Hi Claus,
You probably don't have to worry about the BASIC variables at $c000, which is normally a single $ff anyway if nothing has been defined.
System variables are from $f8f2 up to $ffff.
If you are not using Basic interrupts, but your own, then I would say issue a "DI" in your code and copy away.
Note the interrupt table is at $fff8 if you are thinking of overwriting system variables with your own copy of system variables, then I wouldn't worry as the tape load rom routines do that anyway.
Regards
You probably don't have to worry about the BASIC variables at $c000, which is normally a single $ff anyway if nothing has been defined.
System variables are from $f8f2 up to $ffff.
If you are not using Basic interrupts, but your own, then I would say issue a "DI" in your code and copy away.
Note the interrupt table is at $fff8 if you are thinking of overwriting system variables with your own copy of system variables, then I wouldn't worry as the tape load rom routines do that anyway.
Regards
THIS is what Memotech is doing now.
Re: Safe to use 32kb ram on MTX500?
If you don't use any ROM routines then the memory used by the system variables is free for use.