home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Run Magazine ReRun 1986 September & October
/
rerun-1986-09-10.d64
/
sub1
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-09-20
|
297b
|
9 lines
1000 rem *** sample overlay sub1 ***
1010 poke 43,1 : poke 44,8 : rem must be first line.
1020 print:print"this is the overlay."
1030 print:print"press any key to return to"
1040 print"the main program."
1050 geta$ : if a$="" then 1050
1060 z=2:rem z tells main program where to resume execution
1070 p$="main" : goto 10 : rem load main again.