home *** CD-ROM | disk | FTP | other *** search
/ SPACE 2 / SPACE - Library 2 - Volume 1.iso / program / 670 / speccode / example.bas (.txt) next >
Encoding:
Atari STOS Basic  |  1999-01-01  |  3.3 KB  |  22 lines

  1. 1 REM SPECCODE IS SHAREWARE (SEE BELOW)
  2. 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.
  3. 100 REM ********* THE PROGRAM **********
  4. 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.)
  5. 110 RESERVE
  6. 12 REM ********SHAREWARE MESSAGE********
  7. 120 VARNAME
  8. 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)
  9. 130 BLOAD
  10. 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.
  11. 140 DREG
  12. 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.
  13. 150 DREG
  14. 16 REM (Existing registered users  of SPECCODE will receive SPECPLUS free of charge now that speccode has passed into the Shareware Domain.)
  15. 160 CALL
  16. 170 GOTO
  17. 2 REM *********************************
  18. 3 REM *       SPECCODE PROGRAM        *
  19. 4 REM *                               *
  20. 5 REM *   BLACKWING PUBLISHING (UK)   *
  21. 9 REM *********************************
  22.