Another goodie from the mists of time. This also appeared in our pages in the Spring of ’83 and comes from Sinclair Programs.
QUICK TAPE, a machine code tape routine, will allow you to save and load 16K programs on the ZX-81 in less than a minute. In technical terms the program increases the machine baud rate to 1,500. To put in the program for the first time, type-in and run the hex loader, which is the first program in the listing. In answer to the program prompt, type-in the machine code listing line by line. When you have finished the listing, type ‘S’ and the machine code will be transferred to the REM statement in line 1. Then delete the loader, line by line, keeping the REM intact.
Type-in the second program, starting at line 10. The REM in line 1 should look like the REM statement which you have just created. When you run this program it will SAVE itself on to tape and then NEW automatically. The machine code routine is then stored above RAMTOP ready for use.
To SAVE a program, type RAND USE 32512 and to LOAD, type RAND USR 32525. When you want to use the program LOAD it normally and RUN. The Basic will destroy itself after transferring the machine code above RAMTOP. The routine will then be ready to use on your faster computer.
Quick Tape was sent by K S Beddoe of Botley, Southampton and is proving very useful.
1 REM 244 0'S
10 LET A$=""
20 INPUT B$
30 IF B$="S" THEN STOP
40 LET A$=A$+B$
50 CLS
60 PRINT A$
70 PRINT "LENGTH= ";LEN A$/2;" BYTES"
80 GOTO 20
100 LET X=16514
105 FAST
110 IF A$="" THEN GOTO 160
120 POKE X,16*CODE A$+CODE A$(2)-476
130 LET A$=A$(3 TO )
140 LET X=X+1
150 GOTO 110
160 SLOW
170 STOP
10 SAVE "FAST TAPE ROUTIN▒"
20 PRINT "FAST TAPE ROUTINE"
30 PRINT "TO SAVE RAND USR 32512"
40 PRINT "TO LOAD RAND USR 32525"
50 PAUSE 150
60 RAND USR 16738
Machine code listing
16514 CD 23 0F 11 06 7F CD 2B
16522 7F CD 2B 0F C9 CD 23 0F
16530 21 1D 7F 22 16 40 CD 70
16538 7F CD 2B 0F C9 0B 0B 0B
16546 00 00 00 00 00 00 CD A8
16554 03 38 F9 EB 11 CB 12 CD
16562 46 0F 30 2E 10 FE 1B 7A
16570 B3 20 F4 CD 4E 7F CB 7E
16578 23 28 F8 21 09 40 CD 4E
16586 7F CD FC 01 18 F8 5E 37
16594 CB 13 C8 9F E6 02 C6 01
16602 4F D3 FF 06 23 10 FE CD
16610 46 0F 30 72 06 1E 10 FE
16618 0D 20 EE C3 D8 7F 18 E0
16626 CD A8 03 CB 12 CB 0A CD
16634 7C 7F 18 FB 0E 01 06 00
16642 3E 7F DB FE D3 FF 1F 30
16650 49 17 17 38 28 10 F1 F1
16658 BA D2 E5 03 62 6B CD 7C
16666 7F CB 7A 79 20 03 BE 20
16674 D6 23 17 30 F1 FD 34 15
16682 21 09 40 50 CD 7C 7F 71
16690 CD FC 01 18 F6 D5 1E 31
16698 06 0E 1D DB FE 17 CB 7B
16706 7B 38 F5 10 F5 D1 20 04
16714 FE 56 30 B2 3F CB 11 30
16722 AD C9 7A A7 28 BB CF 0C
16730 A7 06 50 10 FE C3 6E 7F
16738 21 82 40 11 00 7F 01 E0
16746 00 ED B0 21 FF 7E 22 04
16754 40 C3 C3 03
Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.