home *** CD-ROM | disk | FTP | other *** search
/ Commodore Disk User Volume 4 #12 / Commodore_Disk_User_Vol.4_12_1991_-.d64 / test.src (.txt) < prev   
Commodore BASIC  |  2022-10-26  |  799b  |  32 lines

  1. 1000 lib "primm.h"
  2. 1010 ;
  3. 1020 ;a test program for the
  4. 1030 ;header create utility
  5. 1040 ;
  6. 1050 *=$c000
  7. 1060 ;
  8. 1070 start jsr primm
  9. 1080 byt 8,14,"[147]"
  10. 1090 byt "[212]his is a test program for the [208][210][201][205][205].[200]",13
  11. 1100 byt "header file, created with [200]eader [195]reate.",0
  12. 1110 rts
  13. 1120 ;
  14. 1130 ;^notes for the above code^
  15. 1140 ;
  16. 1150 ;primm is a similar routine to
  17. 1160 ;that found in the c128 rom. it
  18. 1170 ;displays character data which is
  19. 1180 ;immediately after the jsr which
  20. 1190 ;calls it. this is done by pulling
  21. 1200 ;the last two items from the
  22. 1210 ;stack. the routine replaces the
  23. 1220 ;correct restart address onto the
  24. 1230 ;stack, and does an rts.
  25. 1240 ;
  26. 1250 ;the routine stores the
  27. 1260 ;values of the registers in
  28. 1270 ;locations whose symbols are not
  29. 1280 ;available to this program.
  30. 1290 ;
  31. 1300 ;glenn davies, 14th may 1991.
  32.