RAMTOP is set by the initialisation routine which is wired to only check from 32k down to 16k. RAM at 8K is non-standard, and RAM above 32k has ... quirks.
Interestingly the 32k RAM pack made by Pokemon pulls a very neat trick, dynamically altering a byte of the ROM so that the INIT routine starts its check higher in RAM
No Break please, just a space...
Re: No Break please, just a space...
Yes, indeed. This is the responsibility of the user. There are also situations where RAMTOP is decreased by some programs/drivers after loading them. But Mark and Sir Morris are right, there is not really a memory management existing as this machine was constructed to run a single program only.mrtinb wrote: Well, the program could assume that RAMTOP is set correctly before the program is loaded.
Martin