home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Compute! Gazette 1990 February
/
1990-02.d64
/
messenger.demo
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-09-20
|
1KB
|
15 lines
2000 poke53280,0:poke53281,0:print"[147]"chr$(142)chr$(8):x=2049
2010 deffna(x)=peek(x)+256*peek(x+1)
2020 x=fna(x):ifx<>0theny=x+2:goto2020
2030 ifpeek(y+1)=173thensys(y+1)
2040 ifpeek(y)=0then2080
2050 print"this message is protected."
2060 input"please enter password ";k$
2070 forz=1to8:n$=n$+k$:poke49183+z,asc(mid$(n$,z,1)):next:pokey,0
2080 print"[147][159] messenger file-player"
2090 print"[154]hold [153] cmdr [146][154] to speed up"
2100 print"hold [153] shft [146][154] to freeze display"
2110 printtab(9)"[158]press any key to start":poke198,0
2120 geta$:ifa$=""then2120
2130 sys49152,(y+465):run