RosettaCodeData/Task/Memory-allocation/ZX-Spectrum-Basic/memory-allocation.basic
2023-07-01 13:44:08 -04: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