A 4-Line Program to Set RAMTOP

See all articles from Sinc-Link v4 n4
Author(s): George Chambers
Publication: Sinc-Link
Pub Details: Sinc-Link v4 n4 (Volume 4, Issue 4)
Date: August/September 1986
Pages: 7
 5 INPUT N
10 RAND 1024*(32-N) (or RAND X)
20 POKE 16388, PEEK 16434
30 POKE 16388, PEEK 16435
40 NEW

Where N = the number of 1K by which RAMTOP is to be lowered.

As an alternative – Where X = the address at which RAMTOP is to be set.

from Your Computer March 1983

Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.