home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 209
/
209.d81
/
b.letter
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-08-26
|
1KB
|
39 lines
5 gosub41000
10 a$="letter":d=peek(186)
20 b$="l[207]a$,d"+chr$(13)+"r[213]"+chr$(13)
30 poke53280,0:poke53281,0:print"[147][144]":poke53272,20
40 forx=1to10:poke630+x,asc(mid$(b$,x)):next:poke198,10:end
1000 poke214,10:print:printtab(05)"[158][196]oes [206]ot [210]eturn to [204][207][193][196][211][212][193][210]"
1001 printtab(13)"<[209]> to [209]uit
1002 [153][163]09)"atnny (NULL)ey to lenontinuestop
1003 poke198,0:wait198,1:getz$:ifz$="q"then40000
1004 return
10000 d=peek(186):n$="b.letter":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"[204] [197] [212] [212] [197] [210] [193] [212] [212] [193] [195][160][203]
41051 [131]"(c) atnleksi valeben
41052 data"2001 [205]ini[199]ame [195]ompetition
41053 [131]"www.loadstar.com