Spectrum Basic Memory Map
Spectrum Basic Memory Map
The following table shows the memory map of the Spectrum as seen by BASIC.
Address | 48K | 128K | ||||||
---|---|---|---|---|---|---|---|---|
4000 | Display File | |||||||
5800 | Display Attributes | |||||||
5B00 | Printer Buffer | |||||||
5C00 | System variables | |||||||
5CB6 CHANS |
Channel Information | |||||||
PROG | 0x80h | |||||||
Basic Program | ||||||||
VARS | Variables | |||||||
0x80h | ||||||||
Command or program line being edited | ||||||||
NL | ||||||||
0x80h | ||||||||
WORKSP | INPUT data | |||||||
NL | ||||||||
Temporary workspace | ||||||||
STKBOT | Calculator stack | |||||||
STKEND | ||||||||
Spare | ||||||||
SP | Machine stack | |||||||
Gosub stack | ||||||||
RAMTOP | ||||||||
0x3E | ||||||||
UDG | User defined graphics | |||||||
PRAMT |
Last modified November 2, 2021: Add basic memory map (4b394fe)