10 POKE55,.:POKE56,160:CLR:Q$=CHR$(34):E$="00":K=3168:PRINT"[147][142]" 20 PRINT"ENTER FIRST DEVICE NUMBER." 25 GOSUB500:A=Z:IFZ=.THENEND 27 IFFTHENF=.:GOTO20 30 PRINT" " 35 PRINT"ENTER SECOND DEVICE NUMBER." 40 GOSUB500:B=Z:IFZ=.THENEND 42 IFFTHENF=.:PRINT"":GOTO35 45 IFA<>BTHEN55 50 PRINT"[147]YOU ENTERED TWO IDENTICAL NUMBERS.":GOTO20 55 POKEK+44,A:POKEK+56,A+32:POKEK+61,A+64 60 POKEK+52,B:POKEK+69,B+32:POKEK+74,B+64:PRINT"[147]" 65 PRINT"ENTER DEVICE NUMBER FOR FILE." 70 GOSUB500:IFZ=.THENEND 72 IFFTHENF=.:GOTO65 75 GOSUB700:IFSTTHEN65 77 OPEN15,Z,15:GOSUB600:IFJ$=E$THENPRINT" ":GOTO80 78 CLOSE15:GOTO65 80 PRINT"ENTER FILENAME FOR FILE." 85 F$="":PRINT" [145]":INPUTF$:IFF$=""THENCLOSE15:PRINT"[147]":GOTO65 90 OPEN8,Z,1,F$:GOSUB600:IFJ$<>"00"THENCLOSE8:GOTO80 95 PRINT"[147]WRITING ";Q$;F$;Q$;"..." 100 FORI=.TO94:PRINT#8,CHR$(PEEK(I+K));:NEXT:CLOSE8:CLOSE15:PRINT"...DONE":END 500 PRINT"(FROM 4 TO 30)":PRINT" [145]" 510 Z=.:INPUTZ:IFZ=.THENRETURN 520 IFZ>3ANDZ<31THENRETURN 530 PRINT" " 540 PRINT"[145]ILLEGAL DEVICE NUMBER":F=1:RETURN 600 INPUT#15,J$,O$,H$,N$ 610 IFJ$="00"THENRETURN 620 PRINT" " 630 PRINT"[145]";J$;",";O$;",";H$;",";N$:RETURN 700 POKE186,Z:POKE185,8:POKE184,8:POKE183,1:POKE187,22:POKE188,8:SYS65472 710 IFSTTHENPRINT"[147]DEVICE";Z;"[157] NOT PRESENT" 720 CLOSE8:RETURN