This the multi-page printable view of this section.Click here to print.

Return to the regular view of this page.

MEMTOP

Set top of memory

Table of Contents

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.