home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
64'er Special 18
/
64er_Magazin_Sonderheft_18_19xx_Markt__Technik_de_Side_A.d64
/
interface
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-10-26
|
847b
|
29 lines
10 print"[147] **** printer-basic ****"
20 print" interface -anpassung"
30 print" diskette mit printer-basic[146] einlegen,"
40 print" schreibschutz entfernen und"
50 print" return[146] druecken"
60 geta$:ifa$<>chr$(13)then60
65 print"[147] bitte warten"
70 open2,8,2,"printer-basic,p,r"
80 dimw$(1900):i=0
90 get#2,a$:w$(i)=a$:ifst=0theni=i+1:goto90
100 close2
110 print"[147] devicenummer ";asc(w$(799)+chr$(0))
115 input"[145]";a
120 w$(799)=chr$(a)
130 print" filenummer ";asc(w$(797)+chr$(0))
135 input"[145]";a
140 w$(797)=chr$(a):w$(822)=w$(797)
150 print" sekundaeradr. ";asc(w$(801)+chr$(0))
155 input"[145]";a
160 w$(801)=chr$(a)
170 print" sind sie sicher (j/n) ?"
180 geta$:ifa$="n"then110
190 ifa$<>"j"then180
195 print" bitte warten"
200 open1,8,15,"s:printer-basic"
210 open2,8,2,"printer-basic,p,w"
220 fori=0to1900:print#2,chr$(asc(w$(i)+chr$(0)));:next
230 close2