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
Wrap
Commodore BASIC
|
2022-10-26
|
799b
|
32 lines
1000 lib "primm.h"
1010 ;
1020 ;a test program for the
1030 ;header create utility
1040 ;
1050 *=$c000
1060 ;
1070 start jsr primm
1080 byt 8,14,"[147]"
1090 byt "[212]his is a test program for the [208][210][201][205][205].[200]",13
1100 byt "header file, created with [200]eader [195]reate.",0
1110 rts
1120 ;
1130 ;^notes for the above code^
1140 ;
1150 ;primm is a similar routine to
1160 ;that found in the c128 rom. it
1170 ;displays character data which is
1180 ;immediately after the jsr which
1190 ;calls it. this is done by pulling
1200 ;the last two items from the
1210 ;stack. the routine replaces the
1220 ;correct restart address onto the
1230 ;stack, and does an rts.
1240 ;
1250 ;the routine stores the
1260 ;values of the registers in
1270 ;locations whose symbols are not
1280 ;available to this program.
1290 ;
1300 ;glenn davies, 14th may 1991.