RosettaCodeData/Task/Memory-allocation/ZX-Spectrum-Basic/memory-allocation.zx
Ingy döt Net d066446780 langs a-z
2013-04-10 22:43:41 -07:00

3 lines
190 B
Text

10 REM This code is written for a 48k spectrum
20 CLEAR 65535 - 8192: REM reserve 8192 bytes of memory
30 CLEAR 65535: REM unreserve the memory, moving the ramtop back to the top of the ram