10 REM This program loads a SPECTRUM (SPU) picture file into bank 13 and then displays it by passing the SPU file address and the Screen address to the SPECCODE machine code program in bank 14 (using the dreg() command) and then calling same. Pressing any key removes the picture.
100 REM ********* THE PROGRAM **********
11 REM You can incorporate the machine code into your own programs by simply typing (load "speccode.prg",b) in direct mode with SPECCODE.PRG in the root directory of your current disk drive. - (where "b" is the bank number.)
110 RESERVE
12 REM ********SHAREWARE MESSAGE********
120 VARNAME
13 REM SPECCODE.PRG is Shareware and may be freely copied provided that the files README.DOC and EXAMPLE.BAS reside with it on the same disk (within the same folder)
130 BLOAD
14 REM If you find SPECCODE useful you may wish to register as a user by sending דô15.00 (inc VAT - add דô2.00 if outside UK) to Blackwing Publishing (UK) 1 Pepper Street London SE1 OEP.
140 DREG
15 REM Registered users will receive a copy of SPECPLUS.PRG which allows keyboard, text and window operations to be performed whilst a spectrum picture is being displayed.
150 DREG
16 REM (Existing registered users of SPECCODE will receive SPECPLUS free of charge now that speccode has passed into the Shareware Domain.)