Authors
Publication
Pub Details
Date
Pages
Add or alter these lines of ZX PRO/FILE to make it work with Byte-Back’s P-2 serial print< er driver. P-2 can be located in any convenient memory location. Once you decide where you want it to be, determine the address of both the LPRINT and the LCOPY routines. The address for LCOPY will be stored by the program as a variable-called MC.
24 LET MC=(your configured LCOPY address)
2055 POKE MC+442,14
2056 POKE MC+1,C2
3010 delete this line
3020 RAND USR MC
3032 PRINT AT 0,03;q$;Q$;Q$; AT 4,6;
3036 RAND USR (your configured LPRINT)
3038 IF C THEN GOTO 110
3040 GOTO 125
After the modification is complete, GOTO 17 to get the program running. Run through a DEFP procedure to initialize everything. Once done, you can use P-2 exactly as the PRO/FILE manual describes. As with any machine language modification or utility, do not try to LPRINT if the P-2 driver is not present in memory. The results of doing so are at best unpredictable, and usually fatal. Thanks goes to Tom Lawfin, Hillsboro, NH for his help in debugging and testing this routine.