ZX81/TS 1000 Tips

Author(s): Don Lamen
Publication: The Data Expansion
Pub Details: The Data Expansion v5 n3 (Volume 5, Issue 3)
Date: March 1988
Pages: 24

Here is a little function, which may be placed at the beginning or within a machine code program, to stop the program until the tape player starts inputting data.

XXXX  DBFE       HOLD: IN A,(FE)
CB7F BIT 7,A
28FA JR Z, HOLD

Where XXXX represents the address.

This is a routine to set RAMTOP and then install your machine code above it. As an example, let’s say that you have 80 bytes of machines code in 1 REM and you want to install it as address 20000 [7530 hex].

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