BUG-BYTE ZXTK Application Notes

See all articles from Sinc-Link v1 n2
Author(s): George Chambers
Publication: Sinc-Link
Pub Details: Sinc-Link v1 n2 (Volume 1, Issue 2)
Pages: 4-5

As many purchasers of the Bugbyte ZXTK Tool kit program are no doubt aware the instruction leaflet supplied with the cassette can be rather daunting. For the benefit of the neophyte programmer like myself,I have put together these notes which should help in getting started. Note these are applicable to the ZX81 with a Sinclair 16K RAM attached.

STEP   ACTION                     ON-SCREEN RESULT

  1    Load ZXTK (Tool kit)       On completion, displays advice to stop; after a
                                  pause the option list appears.

  2    Stop tape recorder         ---

  3    Press BREAK key            Report code (Inverse D/0) appears.

  4    Enter POKE 16389, 120      Screen clears and Report code (0/0) appears.

  5    Enter RAND USR 17034       Menu reappears.

  6    Press 8                    Fig 8 appears as OPT=8.

  7    Press N/L                  Start = appears.

  8    Press 1                    Fig 1 appears as START = 1.

  9    Press N/L                  END = appears.

 10    Press 3                    Fig 3 appears as END=3.

 11    Press N/L                  Inverse 0 appears.

 12    Press BREAK                Report code (Inverse D/0) appears.

This sequence has placed ZXTK safely above RAMTOP. Now proceed to load a program in the normal fashion (step 13).

STEP   ACTION                     ON-SCREEN RESULT

 13    Load your program          ----

 14    Enter PRINT PEEK 31954     205 appears in upper RH corner.

 15    Enter RAND USR 31954       Report code (0/0) appears.

 16    Enter RAND USR 17034       Menu re-appears.

You are now ready to apply the ZXTK functions to your program. As an example, to renumber a program to start at line 100 and increment in steps of 10 line numbers, follow the sequence below:

STEP   ACTION                     ON-SCREEN RESULT

  1    PRESS 2                    OPT=2

  2    PRESS N/L                  START =

  3    PRESS 100                  start = 100

  4    PRESS N/L                  Step =

  5    PRESS 10                   Step = 10

  6    PRESS N/L                  Screen goes blank for several seconds. Display re-
                                  appears with a ZXTK successful completion report
                                  code (Inverse 0).

Your program is now renumbered. You may observe this by entering BREAK, then LIST 100. Enter RAND USE 17034 to get back to ZXTK menu.