home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
64'er
/
64ER_CD.iso
/
sh3x
/
sh39a.d64
/
drucker.gen
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
1995-03-30
|
2KB
|
137 lines
10 DIMZ(8,4),AN(4):SA=0:GA=4
100 POKE53272,23
110 GOSUB10000
120 PRINT" [196]RUCKER-[193]NPASSUNG"
130 PRINT
140 PRINT
150 PRINT" A) [211]TEUERZEICHEN EINGEBEN"
160 PRINT
170 PRINT" B) [211]TEUERZEICHEN AUSGEBEN"
180 PRINT
190 PRINT" C) [211]EKUNDAERADRESSE:";SA
200 PRINT
210 PRINT" D) [199]ERAETEADRESSE: ";GA
220 PRINT
230 PRINT" E) [208]ARAMETER SPEICHERN"
240 PRINT
250 PRINT" X) [197]XIT"
300 POKE198,0:WAIT198,1
310 GETA$
320 IFA$="A"GOTO1000
330 IFA$="B"GOTO2000
340 IFA$="C"GOTO4000
350 IFA$="D"GOTO5000
360 IFA$="E"GOTO3000
370 IFA$="X"THENEND
380 GOTO300
1000 GOSUB10000
1010 PRINT" [211]TEUERZEICHEN EINGEBEN"
1020 PRINT
1030 PRINT
1040 PRINT
1050 PRINT" [197]INSCHALTEN DES [199]RAFIK-[205]ODUS:"
1060 X=0:GOSUB20000
1070 PRINT" [218]EILENVORSCHUB N/216TEL [218]OLL:"
1080 X=1:GOSUB20000
1090 PRINT" [196]RUCKERRESET: "
1100 X=2:GOSUB20000
1110 PRINT" [208]APIERVORSCHUB (FORM FEED): "
1120 X=3:GOSUB20000
1130 PRINT" [218]EILENVORSCHUB (CR/LF): "
1140 X=4:GOSUB20000
1999 GOTO100
2000 GOSUB10000
2010 PRINT" [211]TEUERZEICHEN AUSGEBEN"
2020 PRINT
2030 PRINT
2040 PRINT
2050 PRINT:PRINT" [199]RAFIK EIN: ";
2060 X=0:GOSUB40000
2070 PRINT:PRINT" [218]-VORSCHUB: ";
2080 X=1:GOSUB40000
2090 PRINT:PRINT" [210]ESET : ";
2100 X=2:GOSUB40000
2110 PRINT:PRINT" FORM FEED : ";
2120 X=3:GOSUB40000
2130 PRINT:PRINT" LINE FEED : ";
2140 X=4:GOSUB40000
2150 POKE198,0:WAIT198,1:POKE198,0
2160 GOTO100
3000 OPEN15,8,15,"S:GP[201]"
3010 OPEN1,8,1,"GP[201]"
3020 PRINT#1,CHR$(15)CHR$(112);
3030 FORX=0TO4
3040 I=1:IFAN(X)=0GOTO3080
3050 FORI=1TOAN(X)
3060 PRINT#1,CHR$(Z(I,X));
3070 NEXT
3080 IFI>8GOTO3110
3090 PRINT#1,CHR$(255);
3100 I=I+1:GOTO3080
3110 NEXT
3120 PRINT#1,CHR$(GA);CHR$(SA);:CLOSE1
3130 INPUT#15,A$,B$,T$,S$
3140 PRINT"";
3150 PRINTA$","B$","T$","S$;
3160 POKE198,0:WAIT198,1:POKE198,0
3170 CLOSE15:GOTO100
4000 GOSUB10000
4010 PRINT" [211]EKUNDAERADRESSE EINGEBEN"
4020 PRINT
4030 PRINT
4040 PRINT
4050 PRINT" [211]EKUNDAERADRESSE: ";
4060 OPEN1,0:INPUT#1,A$:CLOSE1
4070 SA=VAL(A$)
4080 IFSA<0ORSA>255GOTO4000
4090 GOTO100
5000 GOSUB10000
5010 PRINT" [199]ERAETEADRESSE EINGEBEN"
5020 PRINT
5030 PRINT
5040 PRINT
5050 PRINT" [199]ERAETEADRESSE: ";
5060 OPEN1,0:INPUT#1,A$:CLOSE1
5070 GA=VAL(A$)
5080 IFGA<4ORGA>7GOTO5000
5090 GOTO100
10000 PRINTCHR$(147);
10010 PRINT"[192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192]"
10020 PRINT
10030 PRINT
10040 PRINT"[192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192]"
10050 PRINTCHR$(19):RETURN
20000 PRINT
20010 PRINT" [215]IEVIELE [211]TEUERZEICHEN: ";
20020 OPEN1,0:INPUT#1,A$:CLOSE1
20030 IF(A$<"0"ORA$>"8")ORLEN(A$)>1THENPRINT:PRINT"[145]";:GOTO20010
20040 AN=VAL(A$):IFAN=0THENPRINT:PRINT:GOTO20120
20050 PRINT:PRINT
20060 FORI=1TOAN
20070 PRINT" ";I;"[157]. [211]TEUERZEICHEN: ";
20080 OPEN1,0:INPUT#1,A$:CLOSE1
20090 Z(I,X)=VAL(A$)
20100 PRINT
20110 NEXT
20120 PRINT
20130 PRINT" [211]IND DIE [197]INGABEN RICHTIG ?"
20140 POKE198,0:WAIT198,1
20150 GETA$
20160 IFA$<>"N"GOTO20200
20170 GOSUB30000
20180 PRINT"":GOTO20000
20200 GOSUB30000
20210 PRINT""
20220 AN(X)=AN:RETURN
30000 PRINT""
30010 FORI=1TO12
30020 PRINT" "
30030 NEXT:RETURN
40000 IFAN(X)=0THENPRINT:RETURN
40010 I=1
40020 A$=MID$(STR$(Z(I,X)),2)
40030 A$=LEFT$(" ",3-LEN(A$))+A$
40040 PRINTA$;
40050 I=I+1:IFI<=AN(X)THENPRINT",";:GOTO40020
40060 PRINT:RETURN