RosettaCodeData/Task/Memory-allocation/ZX-Spectrum-Basic/memory-allocation.zx

4 lines
190 B
Text
Raw Permalink Normal View History

2013-04-10 22:43:41 -07:00
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