home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tiger Disk 26
/
Tiger_Disk_026_19xx_Tiger-Crew-Disk_de_Side_B.d64
/
scratch-schutz
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2023-02-26
|
1KB
|
52 lines
100 poke53280,3:poke53281,1:poke646,6
110 printchr$(147)+chr$(8)+chr$(142)
120 print" scratchschutz"
130 print:print" (c) 1985"
140 print:print" by henrysoft"
145 print:print" greetings to ksv"
150 print:print" disk einlegen & space "
160 wait197,60:poke198,0
170 close15:open15,8,15,"i0":gosub560:ifer<>0then150
180 close8:open8,8,8,"#"
190 print#15,"u1:";8;0;18;1:print#15,"u2:";8;0;18;1:gosub560
200 ifer=26thenprint:print" schreibschutz enfernen [146]":goto150
210 print:print:t=18:s=1
220 print#15,"u1:";8;0;t;s:gosub560
230 print#15,"b-p:";8;0
240 get#8,nt$,ns$
250 nt=0:ifnt$<>""thennt=asc(nt$)
260 ns=0:ifns$<>""thenns=asc(ns$)
270 forz=2to226step32
280 print#15,"b-p:";8;z+3
290 get#8,n$:ifn$=""then530
300 print#15,"b-p:";8;z
310 get#8,n$:ifn$=""then500
320 ifasc(n$)and128=0thengoto500
330 print#15,"b-p:";8;z+3
340 forzz=1to16:get#8,n$:printn$;:next:printtab(18);
350 print#15,"b-p:";8;z
360 get#8,n$:pt=asc(n$):ps=pt and64
370 ifps=0thenprint" frei [146]";
380 ifps=64thenprint"geschuetzt";
390 printtab(29);"schutz j/n"
400 poke198,0:wait198,1:getn$
410 ifn$="j"thenprinttab(29)"[145] j a [146]":goto460
420 ifn$="e"thenprint:goto530
430 ifn$="n"thenprinttab(29)"[145] nein [146]":goto470
440 ifn$=" "thenprinttab(29)"[145]unveraend.":goto500
450 goto400
460 pt=pt or64:goto480
470 pt=pt and(255-64)
480 print#15,"b-p:";8;z
490 print#8,chr$(pt);
500 nextz
510 print#15,"u2:";8;0;t;s:gosub560
520 ifnt<>0thent=nt:s=ns:goto220
530 print#15,"u2:";8;0;t;s:gosub560
540 close8:close15
550 print"ende.":end
560 input#15,er,er$,et,es
570 ifer=0orer=26thenreturn
580 print:print" disk-error";er;": ";er$;" ,";et;" ,";es
590 return