Just one byte to change… offset 4.
![Cool 8-)](./images/smilies/icon_cool.gif)
No, the Basic program is not "Read only" data base !But this is only a limit for ML. Basic should have no problem using all memory, right?
Yes, it's already done in the boot sequence.This modification will be to set the RAMTOP, so you don’t need to set it yourself with POKE/NEW, right?
If the basic d'ont reach the "dead zone", the CPU Always use the stack process (Push and Pop), in the Basic monitor and can't access to the A15 & A14 room, without destroy the display process (From the ULA).Why not test the full RAM, to get RAMTOP set right from the start.
Yes, it's true.this memory map is assuming that RAM is between 1K byte and 16K bytes.
But why still not set RAMTOP to $FFFF if I want to load a program with a lot of data?48K RAM
RAM is located at 4000h-FFFFh, same restrictions as for 32K RAM apply. The memory at C000h-FFFFh can be used as data storage only, but not for machine code execution, and not for video data 'execution'.
When patching the RAMTOP value use the maximum of FFFFh (indicating 48K minus one byte), as video memory must be below C000h, BASIC program code is restricted to less than 32K as well, BASIC variables may use the additional memory though.
Some 16K expansions can be combined with 32K expansions to gain a total of 48K RAM.