MEMTOP

Set top of memory
Function AddressDescription
MEMTOP FF99Set top of memory

This routine reads or writes the top of memory.

When the Carry flag is set then the top memory address is read into the X, Y index registers.

When the Carry flag is clear then the top memory address is set to the address in the X, Y index registers.

The value is stored in the MEMSIZ variable at 0x283.