home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 234
/
234.d81
/
b.splat
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-08-26
|
1KB
|
45 lines
10 d=peek(186):ifd=8then100
20 gosub41000
30 a$="splat boot
40 [153]"stoploada$,d":[153]"run"
41 [153][163]02)"(NULL)his program works only on str$rive 8.
42 printtab(02)"[208]ut disk in [196]rive 8 and [208]ress [203]ey
43 [153]:[153][163]10)"(NULL)ress <(NULL)> to (NULL)uit
44 printtab(06)"[193]ny other key to continue[144]"
50 poke198,0:wait198,1:getz$:ifz$="q"then40000
60 poke186,8:open1,8,15:close1:run
70 poke198,2:poke631,13:poke632,13:end
100 poke53280,0:poke53281,0
105 a$="splat boot
107 [153]"loadstoploada$,d":[153]"run"
110 [151]198,2:[151]631,13:[151]632,13:[128]
10000 d[178][194](186):n$[178]"b.splat boot
10001 open15,d,15,"s0:"+n$:close15:saven$,d:end
40000 fori=0to21:poke828+i,8+i:next
40010 ifdv<8ordv>29ordv=8then40030
40020 a=peek(828):b=peek(828+dv-8):poke828,b:poke828+dv-8,a
40030 a$="hello connect":forj=8to29:i=peek(828+j-8):ifi=14thennext
40040 close2:open2,i,2:close2:ifstthen40060
40050 close15:open15,i,15,"r0:"+a$+"="+a$:input#15,er:close15:ifer=63then40070
40060 next:print"[147]":poke53272,23:poke186,8:end
40070 q$=chr$(34):poke646,peek(53281):print"[147]":poke53272,23
40080 print"[147]p[207]2048,0:p[207]44,8:p[207]43,1:p[207]56,160:p[207]55,0:clr:l[207]"q$a$q$","i
40090 print"run:":poke631,13:poke632,13:poke198,2:end
41000 poke53280,0:poke53281,0:poke53272,22:print"[147]"
41002 poke214,14:print
41004 printtab(1)"[155] "
41005 forx=1to6
41006 printtab(1)"[152] "
41007 next
41013 printtab(1)"[151] "
41020 forx=1to4:reada$:poke214,15+x:print
41022 printtab(19-len(a$)/2)"[152]"a$
41024 next
41030 t=ti+60
41031 ift>tithen41031
41032 print"":return
41050 data"[211] [208] [204][160][193] [212] !
41051 [131]"by mid$ohnny '(NULL)he (NULL)ad chr$amer' left$arris
41052 data"(c) 2002 by [202] & [198] [208]ublishing, [201]nc.
41053 [131]"www.loadstar.com