Home » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199604.adf » Features » StarInfo/Oland/!Wiper/!RunImage

StarInfo/Oland/!Wiper/!RunImage

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199604.adf » Features
Filename: StarInfo/Oland/!Wiper/!RunImage
Read OK:
File size: 1A79 bytes
Load address: 0000
Exec address: 0000
File contents
   10REM>!RunImage
   20REMProduced by BasCompress v1.69 (04 Aug 1995)
   30ONERRORPROCZ
   40D%=!TOP:E%=?(TOP+4):S$="Wiper":SYS&400C0,&C8,&4B534154,S$TO,Task%:ONERRORPROCS(REPORT$+" Fatal internal error "+STR$(ERL)+" Will have to exit.",0):PROCD
   50PROCI(D%,E%):REPEAT:R%=FNX(Mask%,Buf%):CASER%OF
   60WHEN2:PROCF
   70WHEN3:PROCJ
   80WHEN6:PROCO
   90WHEN9:IFFNP=1PROCM(WhichMenu%,PX%,PY%)
  100WHEN17,18,19:PROCX
  110ENDCASE:UNTILExit%
  120DEFPROCD:*UNSET Wiper$Dir
  130SYS&400DD,Task%,&4B534154:PROCZ:END
  140DEFPROCFSYS&400C5,,Buf%:ENDPROC
  150DEFPROCJSYS&400C6,,Buf%:ENDPROC
  160DEFPROCO:X%=Buf%!0:Y%=Buf%!4:B%=Buf%!8:W%=Buf%!&C:I%=Buf%!16:CASEW%OF
  170WHEN-2:PROCC
  180WHENMainWh%:PROCN
  190WHENDriveWh%:PROCR
  200ENDCASE:ENDPROC
  210DEFFNPLOCALA$:A$=FNF(Buf%):SYS&400CF,,Temp%:Bpress%=Temp%!8:PX%=!Temp%:PY%=Temp%!4:CASEWhichMenu%OF
  220WHENIconBar%:CASEA$OF
  230WHENB$:Bpress%=4:Exit%=TRUE
  240ENDCASE
  250ENDCASE:=Bpress%
  260DEFFNF(I%)LOCALX%,A$:WHILEI%!X%>=0:A$=A$+CHR$(65+I%!X%):X%+=4:ENDWHILE:=A$
  270DEFPROCC:CASEB%OF
  280WHEN1,4:PROCW:MainWh%=FNL(X%,&C2+38,MainWh%):PROCP(MainWh%)
  290WHEN2:PROCM(0,X%,Y%)
  300ENDCASE:ENDPROC
  310DEFPROCN:CASEB%OF
  320WHEN1,4:PROCK
  330ENDCASE:ENDPROC
  340DEFPROCR:CASEB%OF
  350WHEN1,4:IFI%=0THEN
  360Drive%+=1:IFDrive%>=MaxDrv%Drive%=0
  370$IndDrive%=":"+STR$(Drive%):$MapType%="Drive "+STR$Drive%:PROCA(DriveWh%,0,0,0):PROCA(MainWh%,0,0,0)
  380ELSEPROCU:IFErd%<>2SYS&400D4,,-1
  390ENDIF
  400ENDCASE:ENDPROC
  410DEFPROCX:CASEBuf%!16OF
  420WHEN0:Exit%=TRUE
  430WHEN&400C1:Wx%=FNZ(MODE,4,&B):Hy%=FNZ(MODE,5,&C)
  440WHEN5:PROCH
  450ENDCASE:ENDPROC
  460DEFPROCP(W%)Buf%!0=W%:SYS&400CB,,Buf%:Buf%!28=-1:PROCF:ENDPROC
  470DEFPROCI(Eddy%,EdDrv%):BufSize%=750:IndSize%=712:DIMBuf%BufSize%,Indirects%IndSize%,Temp%256:EndI%=Indirects%+IndSize%:M$=FNW("Wiper$Dir",1):Exit%=FALSE:Mask%=FNJ("0,1,4,5,10,11,12"):SYS&400D9,,M$+".Templates":InfoWh%=FNM("Info",0,0):Ver%=FNA(Buf%,3,0)
  480Nam%=FNA(Buf%,0,0):Aut%=FNA(Buf%,2,0):Pur%=FNA(Buf%,1,0):MainWh%=FNM("Main",0,0):MapType%=FNA(Buf%,0,0):WipeMess%=FNA(Buf%,1,0):WipeAct%=FNA(Buf%,2,0):MWtitle%=Buf%!72:$MWtitle%=S$:DriveWh%=FNM("Drive",0,0):IndDrive%=FNA(Buf%,0,0):SYS&400DA
  490$Nam%="Wiper":$Pur%="Quick disc wipe":$Aut%="� E.J.Oland":$Ver%="1.02 (Feb-05-1994)":PROCB("!Wiper"):PROCY(1):Wx%=FNZ(MODE,4,&B):Hy%=FNZ(MODE,5,&C):PROCL:ENDPROC
  500DEFFNW(A$,N%)IFN%N%=3
  510LOCALL%:SYS&20023,A$,END,&FF,0,N%TO,,L%:L%?END=&D:=$END
  520DEFFNJ(A$):LOCALB%,X%:REPEATIFLEFT$(A$,1)<>","ANDA$<>""B%=B%OR(1<<VAL(A$))
  530X%=INSTR(A$,","):A$=MID$(A$,X%+1):UNTILX%=0:=(B%AND&E1831)
  540DEFFNM(N$,spriteBuf%,fonts%)IFfonts%=0fonts%=-1
  550SYS&400DB,,Buf%,Indirects%,EndI%,fonts%,N$,0TO,,Indirects%,,,,h%:IFspriteBuf%Buf%!64=spriteBuf%
  560SYS&400C1,,Buf%TOh%:=h%
  570DEFFNA(buf%,ic%,opt%)=!(buf%+88+20+opt%+(ic%*32))
  580DEFPROCS(X$,err%):LOCALe%,boxes%,C$:C$=S$:SYS&406C2:IF(err%AND3)<>0boxes%=boxes%+err%OR16:C$="Message from "+S$
  590e%=END+64:!e%=err%:$(e%+4)=X$+CHR$(0):SYS&400DF,e%,boxes%,C$TO,Erd%:IFINKEY-&71ORerr%<>3Erd%=2
  600ENDPROC
  610DEFFNX(M%,B%)SYS&400C7,M%,B%TOM%:=M%
  620DEFFNZ(M%,A%,B%):SYS53,M%,A%TO,,w1%:SYS53,M%,B%TO,,w2%:=(2^w1%)*(w2%+1)
  630DEFPROCHLOCALJ$:J$=FNQ(M$):IFRIGHT$(FNN(Buf%),LENJ$)=J$ANDBuf%!40<>4096PROCT
  640ENDPROC
  650DEFFNN(B%)LOCALX%,C%:C%=B%?(44+X%):WHILEC%<>0:Temp%?X%=C%:X%+=1:C%=B%?(44+X%):ENDWHILE:Temp%?X%=&D:=$Temp%
  660DEFPROCT:Buf%!&C=Buf%!8:SYS&400E7,19,Buf%:ENDPROC
  670DEFFNQ(W$)LOCALF%,X%,P%:REPEAT:F%=INSTR(W$,".",X%):IFF%>0P%=F%
  680X%+=1:UNTILX%>=LEN(W$):=MID$(W$,P%+1)
  690DEFPROCA(H%,I%,E%,C%):Buf%!0=H%:Buf%!4=I%:Buf%!8=E%:Buf%!&C=C%:SYS&400CD,,Buf%:ENDPROC
  700DEFPROCB(U$):Buf%!0=-1:Buf%!4=0:Buf%!8=0:Buf%!&C=68:Buf%!16=68:Buf%!20=8202:$(Buf%+24)=U$:BarNumber%=FNU(Buf%):ENDPROC
  710DEFFNU(buf%)SYS&400C2,,buf%TOIcNumber%:=IcNumber%
  720DEFFNL(X%,Y%,H%)!Buf%=H%:LOCALxl%,yl%:SYS&400CC,,Buf%:xl%=Buf%!&C-Buf%!4:yl%=Buf%!16-Buf%!8:Buf%!4=X%-(xl%DIV2):Buf%!&C=Buf%!4+xl%:Buf%!8=Y%-(yl%DIV2):Buf%!16=Buf%!8+yl%:SYS&400C3,,Buf%:SYS&400C1,,Buf%+4TOH%:=H%
  730DEFPROCY(A%)LOCALdim%,StrBufSize%:MenFg%=33+(7<<24):dim%=FNG(A%):DIMMenuBlock%dim%:!MenuBlock%=MenuBlock%+(A%*4):WhichMenu%=0:menuEnd%=0:dot%=0:PROCG(A%-1,(MenuBlock%+dim%)-StrBufSize%,StrBufSize%):ENDPROC
  740DEFFNG(B%):LOCALE%,F%,G%,N%,X%,A$:StrBufSize%=0:FORX%=0TOB%-1:READA$:E%=0:WHILE(E%AND&80)=0:READE%,F%,G%,A$:N%+=24:IFLENA$>&COR(E%AND4)StrBufSize%+=LEN(A$)+1
  750ENDWHILE:N%+=28:NEXT:N%+=(B%*4)+StrBufSize%:RESTORE:=N%
  760DEFPROCG(X%,indBuf%,bufSpace%):LOCALitemData%,offSet%,strLen%,L%,S%,Z$:FORS%=0TOX%:itemData%=0:offSet%=0:strLen%=0:add%=MenuBlock%!(S%*4):READ$add%:strLen%=LEN($add%):WHILE(itemData%AND&80)=0:READitemData%,subPtr%,iconFlag%,Z$
  770add%!(28+offSet%)=itemData%:add%!(32+offSet%)=subPtr%:add%!(36+offSet%)=iconFlag%:IFLENZ$>&COR(itemData%AND4)THEN
  780$(indBuf%)=Z$:add%!(40+offSet%)=indBuf%:add%!(44+offSet%)=0:add%!(48+offSet%)=LEN(Z$)+1:indBuf%+=LEN($indBuf%)+1:bufSpace%-=LEN(Z$)+1:add%!(36+offSet%)=add%!(36+offSet%)OR256:IF(itemData%AND4)$(add%!(40+offSet%))="":add%!(36+offSet%)=add%!(36+offSet%)OR8
  790ELSE$(add%+40+offSet%)=Z$
  800ENDIF:IFLENZ$>strLen%strLen%=LENZ$
  810offSet%+=24:ENDWHILE:add%?&C=7:add%?&D=2:add%?&E=add%?&C:add%?&F=0:add%!16=(16*strLen%)+&C:add%!20=44:add%!24=0:IFS%<>X%MenuBlock%!((S%+1)*4)=add%+offSet%+28
  820NEXT:FORS%=0TOX%:itemData%=0:offSet%=0:add%=MenuBlock%!(S%*4):WHILE(itemData%AND&80)=0:itemData%=add%!(28+offSet%):subPtr%=add%!(32+offSet%):IFsubPtr%=0add%!(32+offSet%)=-1ELSEIFsubPtr%<0add%!(32+offSet%)=MenuBlock%!(ABS(subPtr%*4))
  830IFS%=0AND(add%!(28+offSet%)AND2)<>0dot%+=24
  840offSet%+=24:ENDWHILE:IFS%=0menuEnd%+=offSet%DIV24:B$=CHR$(65+menuEnd%-1):IconBar%=S%
  850NEXT:ENDPROC
  860DEFPROCM(Menu%,PX%,PY%):IFMenu%=IconBar%PX%-=64:PY%=&84+((menuEnd%*44)+dot%)
  870WhichMenu%=Menu%:SYS&400D4,,MenuBlock%!(Menu%*4),PX%-4,PY%-36:ENDPROC
  880DATA Wiper
  890DATA 0,InfoWh%,MenFg%,Info
  900DATA 0,DriveWh%,MenFg%,Drive
  910DATA 128,0,MenFg%,Quit
  920DEFPROCW$MapType%="Drive "+STR$Drive%:$WipeMess%="Insert disc to be wiped":$WipeAct%="Wipe":PROCA(MainWh%,0,0,0):PROCA(MainWh%,1,0,0):ENDPROC
  930DEFPROCL:Offset%=&2800:BufSize%=Offset%:Emap%=0:DIMDesDisc%64,Buffer%2*BufSize%:Ptr%=0:Drive%=0:OSCLI("LOAD "+M$+".D_E_Form "+STR$~Buffer%):MaxDrv%=FND:IFMaxDrv%=0ERROR0,"No floppies configured"
  940IFEddy%=&79646445ANDEdDrv%<MaxDrv%Drive%=EdDrv%
  950$IndDrive%=":"+STR$(Drive%):ENDPROC
  960DEFPROCKSYS&406C0:LOCALERROR:ONERRORLOCALSYS&406C2:$WipeMess%="Couldn't wipe. "+REPORT$:PROCA(MainWh%,0,0,0):PROCA(MainWh%,1,0,0):VDU7:IFERR=67795ENDPROCELSEOSCLI"DIR\":ENDPROC
  970G$=FNB:IFFileSystem%<>8THENOSCLI"Adfs"
  980PROCQ:IFEmap%>-1THEN
  990SYS&40240,,2,Ptr%+(Drive%<<29),Buffer%+Emap%,BufSize%:OSCLI"DISMOUNT "+STR$Drive%:OSCLI"DRIVE "+STR$Drive%:OSCLI"MOUNT "+STR$Drive%:OSCLI"NameDisc :"+STR$(Drive%)+" "+FNC(TIME$):$WipeMess%="Wipe another":OSCLI"DISMOUNT "+STR$Drive%
 1000ENDIF:*DIR\
 1010IFFileSystem%<>8THENOSCLIG$
 1020PROCA(MainWh%,1,0,0):SYS&406C2:ENDPROC
 1030DEFFNC(Q$):=MID$(TIME$,20,2)+"_"+MID$(TIME$,23,2)+"_"+LEFT$(Q$,3)
 1040DEFPROCQ:$MapType%="Drive "+STR$Drive%:F$="":$WipeMess%="Wiping":OSCLI"DRIVE "+STR$Drive%:OSCLI"MOUNT "+STR$Drive%:SYS&40245,":"+STR$Drive%,DesDisc%:IFDesDisc%!16=&C8000THEN
 1050IFDesDisc%?5=0F$="D map on ":Emap%=0ELSEEmap%=Offset%:F$="E map on "
 1060ELSE:$WipeMess%="Couldn't wipe. Disc is not D or E format":VDU7:Emap%=-1
 1070ENDIF:$MapType%=F$+$MapType%:PROCA(MainWh%,0,0,0):PROCA(MainWh%,1,0,0):ENDPROC
 1080DEFFNDSYS&40242TO,R1%:=R1%
 1090DEFPROCU:CH%=0:Erd%=0:LOCALERROR:ONERRORLOCALPROCV:CH%=FNS(CH%):ENDPROC
 1100CH%=OPENUP(M$+".!RunImage"):PTR#CH%=EXT#CH%-5:ptr%=PTR#CH%:FORX%=0TO4:Buf%?X%=BGET#CH%:NEXT:IF!Buf%<>&79646445PTR#CH%=EXT#CH%ELSEPTR#CH%=ptr%
 1110!Buf%=&79646445:Buf%?4=Drive%:FORX%=0TO4:BPUT#CH%,Buf%?X%:NEXT:CLOSE#CH%:ENDPROC
 1120DEFFNS(C%):LOCALERROR:ONERRORLOCAL=0
 1130IFC%<>0CLOSE#C%
 1140=0
 1150DEFPROCVLOCALP$:IFERR<>67796ANDERR<>67797THEN
 1160P$=REPORT$:IFERR=&C1P$="Locked"
 1170PROCS("Could not save drive setting. "+P$+" ",1):ENDPROC
 1180ELSEENDPROC
 1190ENDIF:ENDPROC
 1200DEFFNBLOCALB%,C%:B%=END+&64:SYS9,0,0TON%:FileSystem%=N%:SYS41,33,N%,B%,64:N%=0:REPEATN%+=1:UNTILB%?N%=0:B%?N%=&D:=$B%
 1210DEFPROCZ:!PAGE=&FF0D:|(PAGE+4)=0:|(PAGE+9)=0:M%=((TOP-PAGE-50)DIV&FF):R%=((TOP-PAGE-50)MOD&FF):N%=PAGE+4:FORX%=1TOM%:$N%=STRING$(&FF,CHR$0):N%+=LEN$N%:NEXT:$N%=STRING$(R%,CHR$0):END

�>!RunImage
0�Produced by BasCompress v1.69 (04 Aug 1995)
��Z
(�D%=!�P:E%=?(�P+4):S$="Wiper":ș&400C0,&C8,&4B534154,S$�,Task%:��S(�$+" Fatal internal error "+�(�)+" Will have to exit.",0):�D
2'�I(D%,E%):�:R%=�X(Mask%,Buf%):ȎR%�
<	�2:�F
F	�3:�J
P	�6:�O
Z"�9:�P=1�M(WhichMenu%,PX%,PY%)
d�17,18,19:�X
n�:�Exit%
x��D:*UNSET Wiper$Dir
�!ș&400DD,Task%,&4B534154:�Z:�
���Fș&400C5,,Buf%:�
���Jș&400C6,,Buf%:�
�A��O:X%=Buf%!0:Y%=Buf%!4:B%=Buf%!8:W%=Buf%!&C:I%=Buf%!16:ȎW%�
�
�-2:�C
��MainWh%:�N
��DriveWh%:�R
��:�
�[ݤP�A$:A$=�F(Buf%):ș&400CF,,Temp%:Bpress%=Temp%!8:PX%=!Temp%:PY%=Temp%!4:ȎWhichMenu%�
��IconBar%:ȎA$�
��B$:Bpress%=4:Exit%=�
��
��:=Bpress%
:ݤF(I%)�X%,A$:ȕI%!X%>=0:A$=A$+�(65+I%!X%):X%+=4:�:=A$

��C:ȎB%�
5�1,4:�W:MainWh%=�L(X%,&C2+38,MainWh%):�P(MainWh%)
"�2:�M(0,X%,Y%)
,�:�
6
��N:ȎB%�
@�1,4:�K
J�:�
T
��R:ȎB%�
^�1,4:�I%=0�
h&Drive%+=1:�Drive%>=MaxDrv%Drive%=0
r\$IndDrive%=":"+�(Drive%):$MapType%="Drive "+�Drive%:�A(DriveWh%,0,0,0):�A(MainWh%,0,0,0)
|��U:�Erd%<>2ș&400D4,,-1
��
��:�
���X:ȎBuf%!16�
��0:Exit%=�
�)�&400C1:Wx%=�Z(�,4,&B):Hy%=�Z(�,5,&C)
�	�5:�H
��:�
�3��P(W%)Buf%!0=W%:ș&400CB,,Buf%:Buf%!28=-1:�F:�
����I(Eddy%,EdDrv%):BufSize%=750:IndSize%=712:�Buf%BufSize%,Indirects%IndSize%,Temp%256:EndI%=Indirects%+IndSize%:M$=�W("Wiper$Dir",1):Exit%=�:Mask%=�J("0,1,4,5,10,11,12"):ș&400D9,,M$+".Templates":InfoWh%=�M("Info",0,0):Ver%=�A(Buf%,3,0)
��Nam%=�A(Buf%,0,0):Aut%=�A(Buf%,2,0):Pur%=�A(Buf%,1,0):MainWh%=�M("Main",0,0):MapType%=�A(Buf%,0,0):WipeMess%=�A(Buf%,1,0):WipeAct%=�A(Buf%,2,0):MWtitle%=Buf%!72:$MWtitle%=S$:DriveWh%=�M("Drive",0,0):IndDrive%=�A(Buf%,0,0):ș&400DA
�$Nam%="Wiper":$Pur%="Quick disc wipe":$Aut%="� E.J.Oland":$Ver%="1.02 (Feb-05-1994)":�B("!Wiper"):�Y(1):Wx%=�Z(�,4,&B):Hy%=�Z(�,5,&C):�L:�
�ݤW(A$,N%)�N%N%=3
�/�L%:ș&20023,A$,�,&FF,0,N%�,,L%:L%?�=&D:=$�
7ݤJ(A$):�B%,X%:��A$,1)<>","�A$<>""B%=B%�(1<<�(A$))
/X%=�A$,","):A$=�A$,X%+1):�X%=0:=(B%�&E1831)
/ݤM(N$,spriteBuf%,fonts%)�fonts%=0fonts%=-1
&`ș&400DB,,Buf%,Indirects%,EndI%,fonts%,N$,0�,,Indirects%,,,,h%:�spriteBuf%Buf%!64=spriteBuf%
0ș&400C1,,Buf%�h%:=h%
:2ݤA(buf%,ic%,opt%)=!(buf%+88+20+opt%+(ic%*32))
De��S(X$,err%):�e%,boxes%,C$:C$=S$:ș&406C2:�(err%�3)<>0boxes%=boxes%+err%�16:C$="Message from "+S$
NUe%=�+64:!e%=err%:$(e%+4)=X$+�(0):ș&400DF,e%,boxes%,C$�,Erd%:�-&71�err%<>3Erd%=2
X�
b#ݤX(M%,B%)ș&400C7,M%,B%�M%:=M%
lDݤZ(M%,A%,B%):ș53,M%,A%�,,w1%:ș53,M%,B%�,,w2%:=(2^w1%)*(w2%+1)
v7��H�J$:J$=�Q(M$):�¤N(Buf%),�J$)=J$�Buf%!40<>4096�T
��
�]ݤN(B%)�X%,C%:C%=B%?(44+X%):ȕC%<>0:Temp%?X%=C%:X%+=1:C%=B%?(44+X%):�:Temp%?X%=&D:=$Temp%
�)��T:Buf%!&C=Buf%!8:ș&400E7,19,Buf%:�
�0ݤQ(W$)�F%,X%,P%:�:F%=�W$,".",X%):�F%>0P%=F%
�X%+=1:�X%>=�(W$):=�W$,P%+1)
�N��A(H%,I%,E%,C%):Buf%!0=H%:Buf%!4=I%:Buf%!8=E%:Buf%!&C=C%:ș&400CD,,Buf%:�
�n��B(U$):Buf%!0=-1:Buf%!4=0:Buf%!8=0:Buf%!&C=68:Buf%!16=68:Buf%!20=8202:$(Buf%+24)=U$:BarNumber%=�U(Buf%):�
�0ݤU(buf%)ș&400C2,,buf%�IcNumber%:=IcNumber%
��ݤL(X%,Y%,H%)!Buf%=H%:�xl%,yl%:ș&400CC,,Buf%:xl%=Buf%!&C-Buf%!4:yl%=Buf%!16-Buf%!8:Buf%!4=X%-(xl%�2):Buf%!&C=Buf%!4+xl%:Buf%!8=Y%-(yl%�2):Buf%!16=Buf%!8+yl%:ș&400C3,,Buf%:ș&400C1,,Buf%+4�H%:=H%
ڼ��Y(A%)�dim%,StrBufSize%:MenFg%=33+(7<<24):dim%=�G(A%):�MenuBlock%dim%:!MenuBlock%=MenuBlock%+(A%*4):WhichMenu%=0:menuEnd%=0:dot%=0:�G(A%-1,(MenuBlock%+dim%)-StrBufSize%,StrBufSize%):�
�ݤG(B%):�E%,F%,G%,N%,X%,A$:StrBufSize%=0:�X%=0�B%-1:�A$:E%=0:ȕ(E%�&80)=0:�E%,F%,G%,A$:N%+=24:�A$>&C�(E%�4)StrBufSize%+=�(A$)+1
�+�:N%+=28:�:N%+=(B%*4)+StrBufSize%:�:=N%
����G(X%,indBuf%,bufSpace%):�itemData%,offSet%,strLen%,L%,S%,Z$:�S%=0�X%:itemData%=0:offSet%=0:strLen%=0:add%=MenuBlock%!(S%*4):�$add%:strLen%=�($add%):ȕ(itemData%�&80)=0:�itemData%,subPtr%,iconFlag%,Z$
ladd%!(28+offSet%)=itemData%:add%!(32+offSet%)=subPtr%:add%!(36+offSet%)=iconFlag%:�Z$>&C�(itemData%�4)�
�$(indBuf%)=Z$:add%!(40+offSet%)=indBuf%:add%!(44+offSet%)=0:add%!(48+offSet%)=�(Z$)+1:indBuf%+=�($indBuf%)+1:bufSpace%-=�(Z$)+1:add%!(36+offSet%)=add%!(36+offSet%)�256:�(itemData%�4)$(add%!(40+offSet%))="":add%!(36+offSet%)=add%!(36+offSet%)�8
�$(add%+40+offSet%)=Z$
 �:�Z$>strLen%strLen%=�Z$
*�offSet%+=24:�:add%?&C=7:add%?&D=2:add%?&E=add%?&C:add%?&F=0:add%!16=(16*strLen%)+&C:add%!20=44:add%!24=0:�S%<>X%MenuBlock%!((S%+1)*4)=add%+offSet%+28
4��:�S%=0�X%:itemData%=0:offSet%=0:add%=MenuBlock%!(S%*4):ȕ(itemData%�&80)=0:itemData%=add%!(28+offSet%):subPtr%=add%!(32+offSet%):�subPtr%=0add%!(32+offSet%)=-1��subPtr%<0add%!(32+offSet%)=MenuBlock%!(�(subPtr%*4))
>*�S%=0�(add%!(28+offSet%)�2)<>0dot%+=24
HKoffSet%+=24:�:�S%=0menuEnd%+=offSet%�24:B$=�(65+menuEnd%-1):IconBar%=S%
R�:�
\J��M(Menu%,PX%,PY%):�Menu%=IconBar%PX%-=64:PY%=&84+((menuEnd%*44)+dot%)
fBWhichMenu%=Menu%:ș&400D4,,MenuBlock%!(Menu%*4),PX%-4,PY%-36:�
p� Wiper
z� 0,InfoWh%,MenFg%,Info
�� 0,DriveWh%,MenFg%,Drive
�� 128,0,MenFg%,Quit
�}��W$MapType%="Drive "+�Drive%:$WipeMess%="Insert disc to be wiped":$WipeAct%="Wipe":�A(MainWh%,0,0,0):�A(MainWh%,1,0,0):�
����L:Offset%=&2800:BufSize%=Offset%:Emap%=0:�DesDisc%64,Buffer%2*BufSize%:Ptr%=0:Drive%=0:�("LOAD "+M$+".D_E_Form "+�~Buffer%):MaxDrv%=�D:�MaxDrv%=0�0,"No floppies configured"
�0�Eddy%=&79646445�EdDrv%<MaxDrv%Drive%=EdDrv%
�$IndDrive%=":"+�(Drive%):�
�y��Kș&406C0:�:��ș&406C2:$WipeMess%="Couldn't wipe. "+�$:�A(MainWh%,0,0,0):�A(MainWh%,1,0,0):�7:�=67795�"DIR\":�
�!G$=�B:�FileSystem%<>8��"Adfs"
��Q:�Emap%>-1�
��ș&40240,,2,Ptr%+(Drive%<<29),Buffer%+Emap%,BufSize%:�"DISMOUNT "+�Drive%:�"DRIVE "+�Drive%:�"MOUNT "+�Drive%:�"NameDisc :"+�(Drive%)+" "+�C(�$):$WipeMess%="Wipe another":�"DISMOUNT "+�Drive%
��:*DIR\
��FileSystem%<>8��G$
� �A(MainWh%,1,0,0):ș&406C2:�
/ݤC(Q$):=��$,20,2)+"_"+��$,23,2)+"_"+�Q$,3)
���Q:$MapType%="Drive "+�Drive%:F$="":$WipeMess%="Wiping":�"DRIVE "+�Drive%:�"MOUNT "+�Drive%:ș&40245,":"+�Drive%,DesDisc%:�DesDisc%!16=&C8000�
D�DesDisc%?5=0F$="D map on ":Emap%=0�Emap%=Offset%:F$="E map on "
$G�:$WipeMess%="Couldn't wipe. Disc is not D or E format":�7:Emap%=-1
.B�:$MapType%=F$+$MapType%:�A(MainWh%,0,0,0):�A(MainWh%,1,0,0):�
8ݤDș&40242�,R1%:=R1%
B+��U:CH%=0:Erd%=0:�:���V:CH%=�S(CH%):�
LsCH%=�(M$+".!RunImage"):�#CH%=�#CH%-5:ptr%=�#CH%:�X%=0�4:Buf%?X%=�#CH%:�:�!Buf%<>&79646445�#CH%=�#CH%��#CH%=ptr%
VA!Buf%=&79646445:Buf%?4=Drive%:�X%=0�4:�#CH%,Buf%?X%:�:�#CH%:�
`ݤS(C%):�:��=0
j�C%<>0�#C%
t=0
~��V�P$:�<>67796��<>67797�
�P$=�$:�=&C1P$="Locked"
�3�S("Could not save drive setting. "+P$+" ",1):�
���
��:�
�dݤB�B%,C%:B%=�+&64:ș9,0,0�N%:FileSystem%=N%:ș41,33,N%,B%,64:N%=0:�N%+=1:�B%?N%=0:B%?N%=&D:=$B%
�~��Z:!�=&FF0D:|(�+4)=0:|(�+9)=0:M%=((�P-�-50)�&FF):R%=((�P-�-50)�&FF):N%=�+4:�X%=1�M%:$N%=�&FF,�0):N%+=�$N%:�:$N%=�R%,�0):�
�
00000000  0d 00 0a 0f f4 3e 21 52  75 6e 49 6d 61 67 65 0d  |.....>!RunImage.|
00000010  00 14 30 f4 50 72 6f 64  75 63 65 64 20 62 79 20  |..0.Produced by |
00000020  42 61 73 43 6f 6d 70 72  65 73 73 20 76 31 2e 36  |BasCompress v1.6|
00000030  39 20 28 30 34 20 41 75  67 20 31 39 39 35 29 0d  |9 (04 Aug 1995).|
00000040  00 1e 08 ee 85 f2 5a 0d  00 28 83 44 25 3d 21 b8  |......Z..(.D%=!.|
00000050  50 3a 45 25 3d 3f 28 b8  50 2b 34 29 3a 53 24 3d  |P:E%=?(.P+4):S$=|
00000060  22 57 69 70 65 72 22 3a  c8 99 26 34 30 30 43 30  |"Wiper":..&400C0|
00000070  2c 26 43 38 2c 26 34 42  35 33 34 31 35 34 2c 53  |,&C8,&4B534154,S|
00000080  24 b8 2c 54 61 73 6b 25  3a ee 85 f2 53 28 f6 24  |$.,Task%:...S(.$|
00000090  2b 22 20 46 61 74 61 6c  20 69 6e 74 65 72 6e 61  |+" Fatal interna|
000000a0  6c 20 65 72 72 6f 72 20  22 2b c3 28 9e 29 2b 22  |l error "+.(.)+"|
000000b0  20 57 69 6c 6c 20 68 61  76 65 20 74 6f 20 65 78  | Will have to ex|
000000c0  69 74 2e 22 2c 30 29 3a  f2 44 0d 00 32 27 f2 49  |it.",0):.D..2'.I|
000000d0  28 44 25 2c 45 25 29 3a  f5 3a 52 25 3d a4 58 28  |(D%,E%):.:R%=.X(|
000000e0  4d 61 73 6b 25 2c 42 75  66 25 29 3a c8 8e 52 25  |Mask%,Buf%):..R%|
000000f0  ca 0d 00 3c 09 c9 32 3a  f2 46 0d 00 46 09 c9 33  |...<..2:.F..F..3|
00000100  3a f2 4a 0d 00 50 09 c9  36 3a f2 4f 0d 00 5a 22  |:.J..P..6:.O..Z"|
00000110  c9 39 3a e7 a4 50 3d 31  f2 4d 28 57 68 69 63 68  |.9:..P=1.M(Which|
00000120  4d 65 6e 75 25 2c 50 58  25 2c 50 59 25 29 0d 00  |Menu%,PX%,PY%)..|
00000130  64 10 c9 31 37 2c 31 38  2c 31 39 3a f2 58 0d 00  |d..17,18,19:.X..|
00000140  6e 0c cb 3a fd 45 78 69  74 25 0d 00 78 18 dd f2  |n..:.Exit%..x...|
00000150  44 3a 2a 55 4e 53 45 54  20 57 69 70 65 72 24 44  |D:*UNSET Wiper$D|
00000160  69 72 0d 00 82 21 c8 99  26 34 30 30 44 44 2c 54  |ir...!..&400DD,T|
00000170  61 73 6b 25 2c 26 34 42  35 33 34 31 35 34 3a f2  |ask%,&4B534154:.|
00000180  5a 3a e0 0d 00 8c 17 dd  f2 46 c8 99 26 34 30 30  |Z:.......F..&400|
00000190  43 35 2c 2c 42 75 66 25  3a e1 0d 00 96 17 dd f2  |C5,,Buf%:.......|
000001a0  4a c8 99 26 34 30 30 43  36 2c 2c 42 75 66 25 3a  |J..&400C6,,Buf%:|
000001b0  e1 0d 00 a0 41 dd f2 4f  3a 58 25 3d 42 75 66 25  |....A..O:X%=Buf%|
000001c0  21 30 3a 59 25 3d 42 75  66 25 21 34 3a 42 25 3d  |!0:Y%=Buf%!4:B%=|
000001d0  42 75 66 25 21 38 3a 57  25 3d 42 75 66 25 21 26  |Buf%!8:W%=Buf%!&|
000001e0  43 3a 49 25 3d 42 75 66  25 21 31 36 3a c8 8e 57  |C:I%=Buf%!16:..W|
000001f0  25 ca 0d 00 aa 0a c9 2d  32 3a f2 43 0d 00 b4 0f  |%......-2:.C....|
00000200  c9 4d 61 69 6e 57 68 25  3a f2 4e 0d 00 be 10 c9  |.MainWh%:.N.....|
00000210  44 72 69 76 65 57 68 25  3a f2 52 0d 00 c8 07 cb  |DriveWh%:.R.....|
00000220  3a e1 0d 00 d2 5b dd a4  50 ea 41 24 3a 41 24 3d  |:....[..P.A$:A$=|
00000230  a4 46 28 42 75 66 25 29  3a c8 99 26 34 30 30 43  |.F(Buf%):..&400C|
00000240  46 2c 2c 54 65 6d 70 25  3a 42 70 72 65 73 73 25  |F,,Temp%:Bpress%|
00000250  3d 54 65 6d 70 25 21 38  3a 50 58 25 3d 21 54 65  |=Temp%!8:PX%=!Te|
00000260  6d 70 25 3a 50 59 25 3d  54 65 6d 70 25 21 34 3a  |mp%:PY%=Temp%!4:|
00000270  c8 8e 57 68 69 63 68 4d  65 6e 75 25 ca 0d 00 dc  |..WhichMenu%....|
00000280  13 c9 49 63 6f 6e 42 61  72 25 3a c8 8e 41 24 ca  |..IconBar%:..A$.|
00000290  0d 00 e6 19 c9 42 24 3a  42 70 72 65 73 73 25 3d  |.....B$:Bpress%=|
000002a0  34 3a 45 78 69 74 25 3d  b9 0d 00 f0 05 cb 0d 00  |4:Exit%=........|
000002b0  fa 0e cb 3a 3d 42 70 72  65 73 73 25 0d 01 04 3a  |...:=Bpress%...:|
000002c0  dd a4 46 28 49 25 29 ea  58 25 2c 41 24 3a c8 95  |..F(I%).X%,A$:..|
000002d0  49 25 21 58 25 3e 3d 30  3a 41 24 3d 41 24 2b bd  |I%!X%>=0:A$=A$+.|
000002e0  28 36 35 2b 49 25 21 58  25 29 3a 58 25 2b 3d 34  |(65+I%!X%):X%+=4|
000002f0  3a ce 3a 3d 41 24 0d 01  0e 0d dd f2 43 3a c8 8e  |:.:=A$......C:..|
00000300  42 25 ca 0d 01 18 35 c9  31 2c 34 3a f2 57 3a 4d  |B%....5.1,4:.W:M|
00000310  61 69 6e 57 68 25 3d a4  4c 28 58 25 2c 26 43 32  |ainWh%=.L(X%,&C2|
00000320  2b 33 38 2c 4d 61 69 6e  57 68 25 29 3a f2 50 28  |+38,MainWh%):.P(|
00000330  4d 61 69 6e 57 68 25 29  0d 01 22 12 c9 32 3a f2  |MainWh%).."..2:.|
00000340  4d 28 30 2c 58 25 2c 59  25 29 0d 01 2c 07 cb 3a  |M(0,X%,Y%)..,..:|
00000350  e1 0d 01 36 0d dd f2 4e  3a c8 8e 42 25 ca 0d 01  |...6...N:..B%...|
00000360  40 0b c9 31 2c 34 3a f2  4b 0d 01 4a 07 cb 3a e1  |@..1,4:.K..J..:.|
00000370  0d 01 54 0d dd f2 52 3a  c8 8e 42 25 ca 0d 01 5e  |..T...R:..B%...^|
00000380  0f c9 31 2c 34 3a e7 49  25 3d 30 8c 0d 01 68 26  |..1,4:.I%=0...h&|
00000390  44 72 69 76 65 25 2b 3d  31 3a e7 44 72 69 76 65  |Drive%+=1:.Drive|
000003a0  25 3e 3d 4d 61 78 44 72  76 25 44 72 69 76 65 25  |%>=MaxDrv%Drive%|
000003b0  3d 30 0d 01 72 5c 24 49  6e 64 44 72 69 76 65 25  |=0..r\$IndDrive%|
000003c0  3d 22 3a 22 2b c3 28 44  72 69 76 65 25 29 3a 24  |=":"+.(Drive%):$|
000003d0  4d 61 70 54 79 70 65 25  3d 22 44 72 69 76 65 20  |MapType%="Drive |
000003e0  22 2b c3 44 72 69 76 65  25 3a f2 41 28 44 72 69  |"+.Drive%:.A(Dri|
000003f0  76 65 57 68 25 2c 30 2c  30 2c 30 29 3a f2 41 28  |veWh%,0,0,0):.A(|
00000400  4d 61 69 6e 57 68 25 2c  30 2c 30 2c 30 29 0d 01  |MainWh%,0,0,0)..|
00000410  7c 1c cc f2 55 3a e7 45  72 64 25 3c 3e 32 c8 99  ||...U:.Erd%<>2..|
00000420  26 34 30 30 44 34 2c 2c  2d 31 0d 01 86 05 cd 0d  |&400D4,,-1......|
00000430  01 90 07 cb 3a e1 0d 01  9a 12 dd f2 58 3a c8 8e  |....:.......X:..|
00000440  42 75 66 25 21 31 36 ca  0d 01 a4 0e c9 30 3a 45  |Buf%!16......0:E|
00000450  78 69 74 25 3d b9 0d 01  ae 29 c9 26 34 30 30 43  |xit%=....).&400C|
00000460  31 3a 57 78 25 3d a4 5a  28 eb 2c 34 2c 26 42 29  |1:Wx%=.Z(.,4,&B)|
00000470  3a 48 79 25 3d a4 5a 28  eb 2c 35 2c 26 43 29 0d  |:Hy%=.Z(.,5,&C).|
00000480  01 b8 09 c9 35 3a f2 48  0d 01 c2 07 cb 3a e1 0d  |....5:.H.....:..|
00000490  01 cc 33 dd f2 50 28 57  25 29 42 75 66 25 21 30  |..3..P(W%)Buf%!0|
000004a0  3d 57 25 3a c8 99 26 34  30 30 43 42 2c 2c 42 75  |=W%:..&400CB,,Bu|
000004b0  66 25 3a 42 75 66 25 21  32 38 3d 2d 31 3a f2 46  |f%:Buf%!28=-1:.F|
000004c0  3a e1 0d 01 d6 f0 dd f2  49 28 45 64 64 79 25 2c  |:.......I(Eddy%,|
000004d0  45 64 44 72 76 25 29 3a  42 75 66 53 69 7a 65 25  |EdDrv%):BufSize%|
000004e0  3d 37 35 30 3a 49 6e 64  53 69 7a 65 25 3d 37 31  |=750:IndSize%=71|
000004f0  32 3a de 42 75 66 25 42  75 66 53 69 7a 65 25 2c  |2:.Buf%BufSize%,|
00000500  49 6e 64 69 72 65 63 74  73 25 49 6e 64 53 69 7a  |Indirects%IndSiz|
00000510  65 25 2c 54 65 6d 70 25  32 35 36 3a 45 6e 64 49  |e%,Temp%256:EndI|
00000520  25 3d 49 6e 64 69 72 65  63 74 73 25 2b 49 6e 64  |%=Indirects%+Ind|
00000530  53 69 7a 65 25 3a 4d 24  3d a4 57 28 22 57 69 70  |Size%:M$=.W("Wip|
00000540  65 72 24 44 69 72 22 2c  31 29 3a 45 78 69 74 25  |er$Dir",1):Exit%|
00000550  3d a3 3a 4d 61 73 6b 25  3d a4 4a 28 22 30 2c 31  |=.:Mask%=.J("0,1|
00000560  2c 34 2c 35 2c 31 30 2c  31 31 2c 31 32 22 29 3a  |,4,5,10,11,12"):|
00000570  c8 99 26 34 30 30 44 39  2c 2c 4d 24 2b 22 2e 54  |..&400D9,,M$+".T|
00000580  65 6d 70 6c 61 74 65 73  22 3a 49 6e 66 6f 57 68  |emplates":InfoWh|
00000590  25 3d a4 4d 28 22 49 6e  66 6f 22 2c 30 2c 30 29  |%=.M("Info",0,0)|
000005a0  3a 56 65 72 25 3d a4 41  28 42 75 66 25 2c 33 2c  |:Ver%=.A(Buf%,3,|
000005b0  30 29 0d 01 e0 ea 4e 61  6d 25 3d a4 41 28 42 75  |0)....Nam%=.A(Bu|
000005c0  66 25 2c 30 2c 30 29 3a  41 75 74 25 3d a4 41 28  |f%,0,0):Aut%=.A(|
000005d0  42 75 66 25 2c 32 2c 30  29 3a 50 75 72 25 3d a4  |Buf%,2,0):Pur%=.|
000005e0  41 28 42 75 66 25 2c 31  2c 30 29 3a 4d 61 69 6e  |A(Buf%,1,0):Main|
000005f0  57 68 25 3d a4 4d 28 22  4d 61 69 6e 22 2c 30 2c  |Wh%=.M("Main",0,|
00000600  30 29 3a 4d 61 70 54 79  70 65 25 3d a4 41 28 42  |0):MapType%=.A(B|
00000610  75 66 25 2c 30 2c 30 29  3a 57 69 70 65 4d 65 73  |uf%,0,0):WipeMes|
00000620  73 25 3d a4 41 28 42 75  66 25 2c 31 2c 30 29 3a  |s%=.A(Buf%,1,0):|
00000630  57 69 70 65 41 63 74 25  3d a4 41 28 42 75 66 25  |WipeAct%=.A(Buf%|
00000640  2c 32 2c 30 29 3a 4d 57  74 69 74 6c 65 25 3d 42  |,2,0):MWtitle%=B|
00000650  75 66 25 21 37 32 3a 24  4d 57 74 69 74 6c 65 25  |uf%!72:$MWtitle%|
00000660  3d 53 24 3a 44 72 69 76  65 57 68 25 3d a4 4d 28  |=S$:DriveWh%=.M(|
00000670  22 44 72 69 76 65 22 2c  30 2c 30 29 3a 49 6e 64  |"Drive",0,0):Ind|
00000680  44 72 69 76 65 25 3d a4  41 28 42 75 66 25 2c 30  |Drive%=.A(Buf%,0|
00000690  2c 30 29 3a c8 99 26 34  30 30 44 41 0d 01 ea 8e  |,0):..&400DA....|
000006a0  24 4e 61 6d 25 3d 22 57  69 70 65 72 22 3a 24 50  |$Nam%="Wiper":$P|
000006b0  75 72 25 3d 22 51 75 69  63 6b 20 64 69 73 63 20  |ur%="Quick disc |
000006c0  77 69 70 65 22 3a 24 41  75 74 25 3d 22 a9 20 45  |wipe":$Aut%=". E|
000006d0  2e 4a 2e 4f 6c 61 6e 64  22 3a 24 56 65 72 25 3d  |.J.Oland":$Ver%=|
000006e0  22 31 2e 30 32 20 28 46  65 62 2d 30 35 2d 31 39  |"1.02 (Feb-05-19|
000006f0  39 34 29 22 3a f2 42 28  22 21 57 69 70 65 72 22  |94)":.B("!Wiper"|
00000700  29 3a f2 59 28 31 29 3a  57 78 25 3d a4 5a 28 eb  |):.Y(1):Wx%=.Z(.|
00000710  2c 34 2c 26 42 29 3a 48  79 25 3d a4 5a 28 eb 2c  |,4,&B):Hy%=.Z(.,|
00000720  35 2c 26 43 29 3a f2 4c  3a e1 0d 01 f4 15 dd a4  |5,&C):.L:.......|
00000730  57 28 41 24 2c 4e 25 29  e7 4e 25 4e 25 3d 33 0d  |W(A$,N%).N%N%=3.|
00000740  01 fe 2f ea 4c 25 3a c8  99 26 32 30 30 32 33 2c  |../.L%:..&20023,|
00000750  41 24 2c e0 2c 26 46 46  2c 30 2c 4e 25 b8 2c 2c  |A$,.,&FF,0,N%.,,|
00000760  4c 25 3a 4c 25 3f e0 3d  26 44 3a 3d 24 e0 0d 02  |L%:L%?.=&D:=$...|
00000770  08 37 dd a4 4a 28 41 24  29 3a ea 42 25 2c 58 25  |.7..J(A$):.B%,X%|
00000780  3a f5 e7 c0 41 24 2c 31  29 3c 3e 22 2c 22 80 41  |:...A$,1)<>",".A|
00000790  24 3c 3e 22 22 42 25 3d  42 25 84 28 31 3c 3c bb  |$<>""B%=B%.(1<<.|
000007a0  28 41 24 29 29 0d 02 12  2f 58 25 3d a7 41 24 2c  |(A$)).../X%=.A$,|
000007b0  22 2c 22 29 3a 41 24 3d  c1 41 24 2c 58 25 2b 31  |","):A$=.A$,X%+1|
000007c0  29 3a fd 58 25 3d 30 3a  3d 28 42 25 80 26 45 31  |):.X%=0:=(B%.&E1|
000007d0  38 33 31 29 0d 02 1c 2f  dd a4 4d 28 4e 24 2c 73  |831).../..M(N$,s|
000007e0  70 72 69 74 65 42 75 66  25 2c 66 6f 6e 74 73 25  |priteBuf%,fonts%|
000007f0  29 e7 66 6f 6e 74 73 25  3d 30 66 6f 6e 74 73 25  |).fonts%=0fonts%|
00000800  3d 2d 31 0d 02 26 60 c8  99 26 34 30 30 44 42 2c  |=-1..&`..&400DB,|
00000810  2c 42 75 66 25 2c 49 6e  64 69 72 65 63 74 73 25  |,Buf%,Indirects%|
00000820  2c 45 6e 64 49 25 2c 66  6f 6e 74 73 25 2c 4e 24  |,EndI%,fonts%,N$|
00000830  2c 30 b8 2c 2c 49 6e 64  69 72 65 63 74 73 25 2c  |,0.,,Indirects%,|
00000840  2c 2c 2c 68 25 3a e7 73  70 72 69 74 65 42 75 66  |,,,h%:.spriteBuf|
00000850  25 42 75 66 25 21 36 34  3d 73 70 72 69 74 65 42  |%Buf%!64=spriteB|
00000860  75 66 25 0d 02 30 19 c8  99 26 34 30 30 43 31 2c  |uf%..0...&400C1,|
00000870  2c 42 75 66 25 b8 68 25  3a 3d 68 25 0d 02 3a 32  |,Buf%.h%:=h%..:2|
00000880  dd a4 41 28 62 75 66 25  2c 69 63 25 2c 6f 70 74  |..A(buf%,ic%,opt|
00000890  25 29 3d 21 28 62 75 66  25 2b 38 38 2b 32 30 2b  |%)=!(buf%+88+20+|
000008a0  6f 70 74 25 2b 28 69 63  25 2a 33 32 29 29 0d 02  |opt%+(ic%*32))..|
000008b0  44 65 dd f2 53 28 58 24  2c 65 72 72 25 29 3a ea  |De..S(X$,err%):.|
000008c0  65 25 2c 62 6f 78 65 73  25 2c 43 24 3a 43 24 3d  |e%,boxes%,C$:C$=|
000008d0  53 24 3a c8 99 26 34 30  36 43 32 3a e7 28 65 72  |S$:..&406C2:.(er|
000008e0  72 25 80 33 29 3c 3e 30  62 6f 78 65 73 25 3d 62  |r%.3)<>0boxes%=b|
000008f0  6f 78 65 73 25 2b 65 72  72 25 84 31 36 3a 43 24  |oxes%+err%.16:C$|
00000900  3d 22 4d 65 73 73 61 67  65 20 66 72 6f 6d 20 22  |="Message from "|
00000910  2b 53 24 0d 02 4e 55 65  25 3d e0 2b 36 34 3a 21  |+S$..NUe%=.+64:!|
00000920  65 25 3d 65 72 72 25 3a  24 28 65 25 2b 34 29 3d  |e%=err%:$(e%+4)=|
00000930  58 24 2b bd 28 30 29 3a  c8 99 26 34 30 30 44 46  |X$+.(0):..&400DF|
00000940  2c 65 25 2c 62 6f 78 65  73 25 2c 43 24 b8 2c 45  |,e%,boxes%,C$.,E|
00000950  72 64 25 3a e7 a6 2d 26  37 31 84 65 72 72 25 3c  |rd%:..-&71.err%<|
00000960  3e 33 45 72 64 25 3d 32  0d 02 58 05 e1 0d 02 62  |>3Erd%=2..X....b|
00000970  23 dd a4 58 28 4d 25 2c  42 25 29 c8 99 26 34 30  |#..X(M%,B%)..&40|
00000980  30 43 37 2c 4d 25 2c 42  25 b8 4d 25 3a 3d 4d 25  |0C7,M%,B%.M%:=M%|
00000990  0d 02 6c 44 dd a4 5a 28  4d 25 2c 41 25 2c 42 25  |..lD..Z(M%,A%,B%|
000009a0  29 3a c8 99 35 33 2c 4d  25 2c 41 25 b8 2c 2c 77  |):..53,M%,A%.,,w|
000009b0  31 25 3a c8 99 35 33 2c  4d 25 2c 42 25 b8 2c 2c  |1%:..53,M%,B%.,,|
000009c0  77 32 25 3a 3d 28 32 5e  77 31 25 29 2a 28 77 32  |w2%:=(2^w1%)*(w2|
000009d0  25 2b 31 29 0d 02 76 37  dd f2 48 ea 4a 24 3a 4a  |%+1)..v7..H.J$:J|
000009e0  24 3d a4 51 28 4d 24 29  3a e7 c2 a4 4e 28 42 75  |$=.Q(M$):...N(Bu|
000009f0  66 25 29 2c a9 4a 24 29  3d 4a 24 80 42 75 66 25  |f%),.J$)=J$.Buf%|
00000a00  21 34 30 3c 3e 34 30 39  36 f2 54 0d 02 80 05 e1  |!40<>4096.T.....|
00000a10  0d 02 8a 5d dd a4 4e 28  42 25 29 ea 58 25 2c 43  |...]..N(B%).X%,C|
00000a20  25 3a 43 25 3d 42 25 3f  28 34 34 2b 58 25 29 3a  |%:C%=B%?(44+X%):|
00000a30  c8 95 43 25 3c 3e 30 3a  54 65 6d 70 25 3f 58 25  |..C%<>0:Temp%?X%|
00000a40  3d 43 25 3a 58 25 2b 3d  31 3a 43 25 3d 42 25 3f  |=C%:X%+=1:C%=B%?|
00000a50  28 34 34 2b 58 25 29 3a  ce 3a 54 65 6d 70 25 3f  |(44+X%):.:Temp%?|
00000a60  58 25 3d 26 44 3a 3d 24  54 65 6d 70 25 0d 02 94  |X%=&D:=$Temp%...|
00000a70  29 dd f2 54 3a 42 75 66  25 21 26 43 3d 42 75 66  |)..T:Buf%!&C=Buf|
00000a80  25 21 38 3a c8 99 26 34  30 30 45 37 2c 31 39 2c  |%!8:..&400E7,19,|
00000a90  42 75 66 25 3a e1 0d 02  9e 30 dd a4 51 28 57 24  |Buf%:....0..Q(W$|
00000aa0  29 ea 46 25 2c 58 25 2c  50 25 3a f5 3a 46 25 3d  |).F%,X%,P%:.:F%=|
00000ab0  a7 57 24 2c 22 2e 22 2c  58 25 29 3a e7 46 25 3e  |.W$,".",X%):.F%>|
00000ac0  30 50 25 3d 46 25 0d 02  a8 1f 58 25 2b 3d 31 3a  |0P%=F%....X%+=1:|
00000ad0  fd 58 25 3e 3d a9 28 57  24 29 3a 3d c1 57 24 2c  |.X%>=.(W$):=.W$,|
00000ae0  50 25 2b 31 29 0d 02 b2  4e dd f2 41 28 48 25 2c  |P%+1)...N..A(H%,|
00000af0  49 25 2c 45 25 2c 43 25  29 3a 42 75 66 25 21 30  |I%,E%,C%):Buf%!0|
00000b00  3d 48 25 3a 42 75 66 25  21 34 3d 49 25 3a 42 75  |=H%:Buf%!4=I%:Bu|
00000b10  66 25 21 38 3d 45 25 3a  42 75 66 25 21 26 43 3d  |f%!8=E%:Buf%!&C=|
00000b20  43 25 3a c8 99 26 34 30  30 43 44 2c 2c 42 75 66  |C%:..&400CD,,Buf|
00000b30  25 3a e1 0d 02 bc 6e dd  f2 42 28 55 24 29 3a 42  |%:....n..B(U$):B|
00000b40  75 66 25 21 30 3d 2d 31  3a 42 75 66 25 21 34 3d  |uf%!0=-1:Buf%!4=|
00000b50  30 3a 42 75 66 25 21 38  3d 30 3a 42 75 66 25 21  |0:Buf%!8=0:Buf%!|
00000b60  26 43 3d 36 38 3a 42 75  66 25 21 31 36 3d 36 38  |&C=68:Buf%!16=68|
00000b70  3a 42 75 66 25 21 32 30  3d 38 32 30 32 3a 24 28  |:Buf%!20=8202:$(|
00000b80  42 75 66 25 2b 32 34 29  3d 55 24 3a 42 61 72 4e  |Buf%+24)=U$:BarN|
00000b90  75 6d 62 65 72 25 3d a4  55 28 42 75 66 25 29 3a  |umber%=.U(Buf%):|
00000ba0  e1 0d 02 c6 30 dd a4 55  28 62 75 66 25 29 c8 99  |....0..U(buf%)..|
00000bb0  26 34 30 30 43 32 2c 2c  62 75 66 25 b8 49 63 4e  |&400C2,,buf%.IcN|
00000bc0  75 6d 62 65 72 25 3a 3d  49 63 4e 75 6d 62 65 72  |umber%:=IcNumber|
00000bd0  25 0d 02 d0 c8 dd a4 4c  28 58 25 2c 59 25 2c 48  |%......L(X%,Y%,H|
00000be0  25 29 21 42 75 66 25 3d  48 25 3a ea 78 6c 25 2c  |%)!Buf%=H%:.xl%,|
00000bf0  79 6c 25 3a c8 99 26 34  30 30 43 43 2c 2c 42 75  |yl%:..&400CC,,Bu|
00000c00  66 25 3a 78 6c 25 3d 42  75 66 25 21 26 43 2d 42  |f%:xl%=Buf%!&C-B|
00000c10  75 66 25 21 34 3a 79 6c  25 3d 42 75 66 25 21 31  |uf%!4:yl%=Buf%!1|
00000c20  36 2d 42 75 66 25 21 38  3a 42 75 66 25 21 34 3d  |6-Buf%!8:Buf%!4=|
00000c30  58 25 2d 28 78 6c 25 81  32 29 3a 42 75 66 25 21  |X%-(xl%.2):Buf%!|
00000c40  26 43 3d 42 75 66 25 21  34 2b 78 6c 25 3a 42 75  |&C=Buf%!4+xl%:Bu|
00000c50  66 25 21 38 3d 59 25 2d  28 79 6c 25 81 32 29 3a  |f%!8=Y%-(yl%.2):|
00000c60  42 75 66 25 21 31 36 3d  42 75 66 25 21 38 2b 79  |Buf%!16=Buf%!8+y|
00000c70  6c 25 3a c8 99 26 34 30  30 43 33 2c 2c 42 75 66  |l%:..&400C3,,Buf|
00000c80  25 3a c8 99 26 34 30 30  43 31 2c 2c 42 75 66 25  |%:..&400C1,,Buf%|
00000c90  2b 34 b8 48 25 3a 3d 48  25 0d 02 da bc dd f2 59  |+4.H%:=H%......Y|
00000ca0  28 41 25 29 ea 64 69 6d  25 2c 53 74 72 42 75 66  |(A%).dim%,StrBuf|
00000cb0  53 69 7a 65 25 3a 4d 65  6e 46 67 25 3d 33 33 2b  |Size%:MenFg%=33+|
00000cc0  28 37 3c 3c 32 34 29 3a  64 69 6d 25 3d a4 47 28  |(7<<24):dim%=.G(|
00000cd0  41 25 29 3a de 4d 65 6e  75 42 6c 6f 63 6b 25 64  |A%):.MenuBlock%d|
00000ce0  69 6d 25 3a 21 4d 65 6e  75 42 6c 6f 63 6b 25 3d  |im%:!MenuBlock%=|
00000cf0  4d 65 6e 75 42 6c 6f 63  6b 25 2b 28 41 25 2a 34  |MenuBlock%+(A%*4|
00000d00  29 3a 57 68 69 63 68 4d  65 6e 75 25 3d 30 3a 6d  |):WhichMenu%=0:m|
00000d10  65 6e 75 45 6e 64 25 3d  30 3a 64 6f 74 25 3d 30  |enuEnd%=0:dot%=0|
00000d20  3a f2 47 28 41 25 2d 31  2c 28 4d 65 6e 75 42 6c  |:.G(A%-1,(MenuBl|
00000d30  6f 63 6b 25 2b 64 69 6d  25 29 2d 53 74 72 42 75  |ock%+dim%)-StrBu|
00000d40  66 53 69 7a 65 25 2c 53  74 72 42 75 66 53 69 7a  |fSize%,StrBufSiz|
00000d50  65 25 29 3a e1 0d 02 e4  84 dd a4 47 28 42 25 29  |e%):.......G(B%)|
00000d60  3a ea 45 25 2c 46 25 2c  47 25 2c 4e 25 2c 58 25  |:.E%,F%,G%,N%,X%|
00000d70  2c 41 24 3a 53 74 72 42  75 66 53 69 7a 65 25 3d  |,A$:StrBufSize%=|
00000d80  30 3a e3 58 25 3d 30 b8  42 25 2d 31 3a f3 41 24  |0:.X%=0.B%-1:.A$|
00000d90  3a 45 25 3d 30 3a c8 95  28 45 25 80 26 38 30 29  |:E%=0:..(E%.&80)|
00000da0  3d 30 3a f3 45 25 2c 46  25 2c 47 25 2c 41 24 3a  |=0:.E%,F%,G%,A$:|
00000db0  4e 25 2b 3d 32 34 3a e7  a9 41 24 3e 26 43 84 28  |N%+=24:..A$>&C.(|
00000dc0  45 25 80 34 29 53 74 72  42 75 66 53 69 7a 65 25  |E%.4)StrBufSize%|
00000dd0  2b 3d a9 28 41 24 29 2b  31 0d 02 ee 2b ce 3a 4e  |+=.(A$)+1...+.:N|
00000de0  25 2b 3d 32 38 3a ed 3a  4e 25 2b 3d 28 42 25 2a  |%+=28:.:N%+=(B%*|
00000df0  34 29 2b 53 74 72 42 75  66 53 69 7a 65 25 3a f7  |4)+StrBufSize%:.|
00000e00  3a 3d 4e 25 0d 02 f8 cd  dd f2 47 28 58 25 2c 69  |:=N%......G(X%,i|
00000e10  6e 64 42 75 66 25 2c 62  75 66 53 70 61 63 65 25  |ndBuf%,bufSpace%|
00000e20  29 3a ea 69 74 65 6d 44  61 74 61 25 2c 6f 66 66  |):.itemData%,off|
00000e30  53 65 74 25 2c 73 74 72  4c 65 6e 25 2c 4c 25 2c  |Set%,strLen%,L%,|
00000e40  53 25 2c 5a 24 3a e3 53  25 3d 30 b8 58 25 3a 69  |S%,Z$:.S%=0.X%:i|
00000e50  74 65 6d 44 61 74 61 25  3d 30 3a 6f 66 66 53 65  |temData%=0:offSe|
00000e60  74 25 3d 30 3a 73 74 72  4c 65 6e 25 3d 30 3a 61  |t%=0:strLen%=0:a|
00000e70  64 64 25 3d 4d 65 6e 75  42 6c 6f 63 6b 25 21 28  |dd%=MenuBlock%!(|
00000e80  53 25 2a 34 29 3a f3 24  61 64 64 25 3a 73 74 72  |S%*4):.$add%:str|
00000e90  4c 65 6e 25 3d a9 28 24  61 64 64 25 29 3a c8 95  |Len%=.($add%):..|
00000ea0  28 69 74 65 6d 44 61 74  61 25 80 26 38 30 29 3d  |(itemData%.&80)=|
00000eb0  30 3a f3 69 74 65 6d 44  61 74 61 25 2c 73 75 62  |0:.itemData%,sub|
00000ec0  50 74 72 25 2c 69 63 6f  6e 46 6c 61 67 25 2c 5a  |Ptr%,iconFlag%,Z|
00000ed0  24 0d 03 02 6c 61 64 64  25 21 28 32 38 2b 6f 66  |$...ladd%!(28+of|
00000ee0  66 53 65 74 25 29 3d 69  74 65 6d 44 61 74 61 25  |fSet%)=itemData%|
00000ef0  3a 61 64 64 25 21 28 33  32 2b 6f 66 66 53 65 74  |:add%!(32+offSet|
00000f00  25 29 3d 73 75 62 50 74  72 25 3a 61 64 64 25 21  |%)=subPtr%:add%!|
00000f10  28 33 36 2b 6f 66 66 53  65 74 25 29 3d 69 63 6f  |(36+offSet%)=ico|
00000f20  6e 46 6c 61 67 25 3a e7  a9 5a 24 3e 26 43 84 28  |nFlag%:..Z$>&C.(|
00000f30  69 74 65 6d 44 61 74 61  25 80 34 29 8c 0d 03 0c  |itemData%.4)....|
00000f40  f7 24 28 69 6e 64 42 75  66 25 29 3d 5a 24 3a 61  |.$(indBuf%)=Z$:a|
00000f50  64 64 25 21 28 34 30 2b  6f 66 66 53 65 74 25 29  |dd%!(40+offSet%)|
00000f60  3d 69 6e 64 42 75 66 25  3a 61 64 64 25 21 28 34  |=indBuf%:add%!(4|
00000f70  34 2b 6f 66 66 53 65 74  25 29 3d 30 3a 61 64 64  |4+offSet%)=0:add|
00000f80  25 21 28 34 38 2b 6f 66  66 53 65 74 25 29 3d a9  |%!(48+offSet%)=.|
00000f90  28 5a 24 29 2b 31 3a 69  6e 64 42 75 66 25 2b 3d  |(Z$)+1:indBuf%+=|
00000fa0  a9 28 24 69 6e 64 42 75  66 25 29 2b 31 3a 62 75  |.($indBuf%)+1:bu|
00000fb0  66 53 70 61 63 65 25 2d  3d a9 28 5a 24 29 2b 31  |fSpace%-=.(Z$)+1|
00000fc0  3a 61 64 64 25 21 28 33  36 2b 6f 66 66 53 65 74  |:add%!(36+offSet|
00000fd0  25 29 3d 61 64 64 25 21  28 33 36 2b 6f 66 66 53  |%)=add%!(36+offS|
00000fe0  65 74 25 29 84 32 35 36  3a e7 28 69 74 65 6d 44  |et%).256:.(itemD|
00000ff0  61 74 61 25 80 34 29 24  28 61 64 64 25 21 28 34  |ata%.4)$(add%!(4|
00001000  30 2b 6f 66 66 53 65 74  25 29 29 3d 22 22 3a 61  |0+offSet%))="":a|
00001010  64 64 25 21 28 33 36 2b  6f 66 66 53 65 74 25 29  |dd%!(36+offSet%)|
00001020  3d 61 64 64 25 21 28 33  36 2b 6f 66 66 53 65 74  |=add%!(36+offSet|
00001030  25 29 84 38 0d 03 16 1a  cc 24 28 61 64 64 25 2b  |%).8.....$(add%+|
00001040  34 30 2b 6f 66 66 53 65  74 25 29 3d 5a 24 0d 03  |40+offSet%)=Z$..|
00001050  20 1d cd 3a e7 a9 5a 24  3e 73 74 72 4c 65 6e 25  | ..:..Z$>strLen%|
00001060  73 74 72 4c 65 6e 25 3d  a9 5a 24 0d 03 2a 99 6f  |strLen%=.Z$..*.o|
00001070  66 66 53 65 74 25 2b 3d  32 34 3a ce 3a 61 64 64  |ffSet%+=24:.:add|
00001080  25 3f 26 43 3d 37 3a 61  64 64 25 3f 26 44 3d 32  |%?&C=7:add%?&D=2|
00001090  3a 61 64 64 25 3f 26 45  3d 61 64 64 25 3f 26 43  |:add%?&E=add%?&C|
000010a0  3a 61 64 64 25 3f 26 46  3d 30 3a 61 64 64 25 21  |:add%?&F=0:add%!|
000010b0  31 36 3d 28 31 36 2a 73  74 72 4c 65 6e 25 29 2b  |16=(16*strLen%)+|
000010c0  26 43 3a 61 64 64 25 21  32 30 3d 34 34 3a 61 64  |&C:add%!20=44:ad|
000010d0  64 25 21 32 34 3d 30 3a  e7 53 25 3c 3e 58 25 4d  |d%!24=0:.S%<>X%M|
000010e0  65 6e 75 42 6c 6f 63 6b  25 21 28 28 53 25 2b 31  |enuBlock%!((S%+1|
000010f0  29 2a 34 29 3d 61 64 64  25 2b 6f 66 66 53 65 74  |)*4)=add%+offSet|
00001100  25 2b 32 38 0d 03 34 da  ed 3a e3 53 25 3d 30 b8  |%+28..4..:.S%=0.|
00001110  58 25 3a 69 74 65 6d 44  61 74 61 25 3d 30 3a 6f  |X%:itemData%=0:o|
00001120  66 66 53 65 74 25 3d 30  3a 61 64 64 25 3d 4d 65  |ffSet%=0:add%=Me|
00001130  6e 75 42 6c 6f 63 6b 25  21 28 53 25 2a 34 29 3a  |nuBlock%!(S%*4):|
00001140  c8 95 28 69 74 65 6d 44  61 74 61 25 80 26 38 30  |..(itemData%.&80|
00001150  29 3d 30 3a 69 74 65 6d  44 61 74 61 25 3d 61 64  |)=0:itemData%=ad|
00001160  64 25 21 28 32 38 2b 6f  66 66 53 65 74 25 29 3a  |d%!(28+offSet%):|
00001170  73 75 62 50 74 72 25 3d  61 64 64 25 21 28 33 32  |subPtr%=add%!(32|
00001180  2b 6f 66 66 53 65 74 25  29 3a e7 73 75 62 50 74  |+offSet%):.subPt|
00001190  72 25 3d 30 61 64 64 25  21 28 33 32 2b 6f 66 66  |r%=0add%!(32+off|
000011a0  53 65 74 25 29 3d 2d 31  8b e7 73 75 62 50 74 72  |Set%)=-1..subPtr|
000011b0  25 3c 30 61 64 64 25 21  28 33 32 2b 6f 66 66 53  |%<0add%!(32+offS|
000011c0  65 74 25 29 3d 4d 65 6e  75 42 6c 6f 63 6b 25 21  |et%)=MenuBlock%!|
000011d0  28 94 28 73 75 62 50 74  72 25 2a 34 29 29 0d 03  |(.(subPtr%*4))..|
000011e0  3e 2a e7 53 25 3d 30 80  28 61 64 64 25 21 28 32  |>*.S%=0.(add%!(2|
000011f0  38 2b 6f 66 66 53 65 74  25 29 80 32 29 3c 3e 30  |8+offSet%).2)<>0|
00001200  64 6f 74 25 2b 3d 32 34  0d 03 48 4b 6f 66 66 53  |dot%+=24..HKoffS|
00001210  65 74 25 2b 3d 32 34 3a  ce 3a e7 53 25 3d 30 6d  |et%+=24:.:.S%=0m|
00001220  65 6e 75 45 6e 64 25 2b  3d 6f 66 66 53 65 74 25  |enuEnd%+=offSet%|
00001230  81 32 34 3a 42 24 3d bd  28 36 35 2b 6d 65 6e 75  |.24:B$=.(65+menu|
00001240  45 6e 64 25 2d 31 29 3a  49 63 6f 6e 42 61 72 25  |End%-1):IconBar%|
00001250  3d 53 25 0d 03 52 07 ed  3a e1 0d 03 5c 4a dd f2  |=S%..R..:...\J..|
00001260  4d 28 4d 65 6e 75 25 2c  50 58 25 2c 50 59 25 29  |M(Menu%,PX%,PY%)|
00001270  3a e7 4d 65 6e 75 25 3d  49 63 6f 6e 42 61 72 25  |:.Menu%=IconBar%|
00001280  50 58 25 2d 3d 36 34 3a  50 59 25 3d 26 38 34 2b  |PX%-=64:PY%=&84+|
00001290  28 28 6d 65 6e 75 45 6e  64 25 2a 34 34 29 2b 64  |((menuEnd%*44)+d|
000012a0  6f 74 25 29 0d 03 66 42  57 68 69 63 68 4d 65 6e  |ot%)..fBWhichMen|
000012b0  75 25 3d 4d 65 6e 75 25  3a c8 99 26 34 30 30 44  |u%=Menu%:..&400D|
000012c0  34 2c 2c 4d 65 6e 75 42  6c 6f 63 6b 25 21 28 4d  |4,,MenuBlock%!(M|
000012d0  65 6e 75 25 2a 34 29 2c  50 58 25 2d 34 2c 50 59  |enu%*4),PX%-4,PY|
000012e0  25 2d 33 36 3a e1 0d 03  70 0b dc 20 57 69 70 65  |%-36:...p.. Wipe|
000012f0  72 0d 03 7a 1b dc 20 30  2c 49 6e 66 6f 57 68 25  |r..z.. 0,InfoWh%|
00001300  2c 4d 65 6e 46 67 25 2c  49 6e 66 6f 0d 03 84 1d  |,MenFg%,Info....|
00001310  dc 20 30 2c 44 72 69 76  65 57 68 25 2c 4d 65 6e  |. 0,DriveWh%,Men|
00001320  46 67 25 2c 44 72 69 76  65 0d 03 8e 17 dc 20 31  |Fg%,Drive..... 1|
00001330  32 38 2c 30 2c 4d 65 6e  46 67 25 2c 51 75 69 74  |28,0,MenFg%,Quit|
00001340  0d 03 98 7d dd f2 57 24  4d 61 70 54 79 70 65 25  |...}..W$MapType%|
00001350  3d 22 44 72 69 76 65 20  22 2b c3 44 72 69 76 65  |="Drive "+.Drive|
00001360  25 3a 24 57 69 70 65 4d  65 73 73 25 3d 22 49 6e  |%:$WipeMess%="In|
00001370  73 65 72 74 20 64 69 73  63 20 74 6f 20 62 65 20  |sert disc to be |
00001380  77 69 70 65 64 22 3a 24  57 69 70 65 41 63 74 25  |wiped":$WipeAct%|
00001390  3d 22 57 69 70 65 22 3a  f2 41 28 4d 61 69 6e 57  |="Wipe":.A(MainW|
000013a0  68 25 2c 30 2c 30 2c 30  29 3a f2 41 28 4d 61 69  |h%,0,0,0):.A(Mai|
000013b0  6e 57 68 25 2c 31 2c 30  2c 30 29 3a e1 0d 03 a2  |nWh%,1,0,0):....|
000013c0  b2 dd f2 4c 3a 4f 66 66  73 65 74 25 3d 26 32 38  |...L:Offset%=&28|
000013d0  30 30 3a 42 75 66 53 69  7a 65 25 3d 4f 66 66 73  |00:BufSize%=Offs|
000013e0  65 74 25 3a 45 6d 61 70  25 3d 30 3a de 44 65 73  |et%:Emap%=0:.Des|
000013f0  44 69 73 63 25 36 34 2c  42 75 66 66 65 72 25 32  |Disc%64,Buffer%2|
00001400  2a 42 75 66 53 69 7a 65  25 3a 50 74 72 25 3d 30  |*BufSize%:Ptr%=0|
00001410  3a 44 72 69 76 65 25 3d  30 3a ff 28 22 4c 4f 41  |:Drive%=0:.("LOA|
00001420  44 20 22 2b 4d 24 2b 22  2e 44 5f 45 5f 46 6f 72  |D "+M$+".D_E_For|
00001430  6d 20 22 2b c3 7e 42 75  66 66 65 72 25 29 3a 4d  |m "+.~Buffer%):M|
00001440  61 78 44 72 76 25 3d a4  44 3a e7 4d 61 78 44 72  |axDrv%=.D:.MaxDr|
00001450  76 25 3d 30 85 30 2c 22  4e 6f 20 66 6c 6f 70 70  |v%=0.0,"No flopp|
00001460  69 65 73 20 63 6f 6e 66  69 67 75 72 65 64 22 0d  |ies configured".|
00001470  03 ac 30 e7 45 64 64 79  25 3d 26 37 39 36 34 36  |..0.Eddy%=&79646|
00001480  34 34 35 80 45 64 44 72  76 25 3c 4d 61 78 44 72  |445.EdDrv%<MaxDr|
00001490  76 25 44 72 69 76 65 25  3d 45 64 44 72 76 25 0d  |v%Drive%=EdDrv%.|
000014a0  03 b6 1e 24 49 6e 64 44  72 69 76 65 25 3d 22 3a  |...$IndDrive%=":|
000014b0  22 2b c3 28 44 72 69 76  65 25 29 3a e1 0d 03 c0  |"+.(Drive%):....|
000014c0  79 dd f2 4b c8 99 26 34  30 36 43 30 3a ea 85 3a  |y..K..&406C0:..:|
000014d0  ee 85 ea c8 99 26 34 30  36 43 32 3a 24 57 69 70  |.....&406C2:$Wip|
000014e0  65 4d 65 73 73 25 3d 22  43 6f 75 6c 64 6e 27 74  |eMess%="Couldn't|
000014f0  20 77 69 70 65 2e 20 22  2b f6 24 3a f2 41 28 4d  | wipe. "+.$:.A(M|
00001500  61 69 6e 57 68 25 2c 30  2c 30 2c 30 29 3a f2 41  |ainWh%,0,0,0):.A|
00001510  28 4d 61 69 6e 57 68 25  2c 31 2c 30 2c 30 29 3a  |(MainWh%,1,0,0):|
00001520  ef 37 3a e7 9f 3d 36 37  37 39 35 e1 8b ff 22 44  |.7:..=67795..."D|
00001530  49 52 5c 22 3a e1 0d 03  ca 21 47 24 3d a4 42 3a  |IR\":....!G$=.B:|
00001540  e7 46 69 6c 65 53 79 73  74 65 6d 25 3c 3e 38 8c  |.FileSystem%<>8.|
00001550  ff 22 41 64 66 73 22 0d  03 d4 11 f2 51 3a e7 45  |."Adfs".....Q:.E|
00001560  6d 61 70 25 3e 2d 31 8c  0d 03 de c3 c8 99 26 34  |map%>-1.......&4|
00001570  30 32 34 30 2c 2c 32 2c  50 74 72 25 2b 28 44 72  |0240,,2,Ptr%+(Dr|
00001580  69 76 65 25 3c 3c 32 39  29 2c 42 75 66 66 65 72  |ive%<<29),Buffer|
00001590  25 2b 45 6d 61 70 25 2c  42 75 66 53 69 7a 65 25  |%+Emap%,BufSize%|
000015a0  3a ff 22 44 49 53 4d 4f  55 4e 54 20 22 2b c3 44  |:."DISMOUNT "+.D|
000015b0  72 69 76 65 25 3a ff 22  44 52 49 56 45 20 22 2b  |rive%:."DRIVE "+|
000015c0  c3 44 72 69 76 65 25 3a  ff 22 4d 4f 55 4e 54 20  |.Drive%:."MOUNT |
000015d0  22 2b c3 44 72 69 76 65  25 3a ff 22 4e 61 6d 65  |"+.Drive%:."Name|
000015e0  44 69 73 63 20 3a 22 2b  c3 28 44 72 69 76 65 25  |Disc :"+.(Drive%|
000015f0  29 2b 22 20 22 2b a4 43  28 91 24 29 3a 24 57 69  |)+" "+.C(.$):$Wi|
00001600  70 65 4d 65 73 73 25 3d  22 57 69 70 65 20 61 6e  |peMess%="Wipe an|
00001610  6f 74 68 65 72 22 3a ff  22 44 49 53 4d 4f 55 4e  |other":."DISMOUN|
00001620  54 20 22 2b c3 44 72 69  76 65 25 0d 03 e8 0b cd  |T "+.Drive%.....|
00001630  3a 2a 44 49 52 5c 0d 03  f2 17 e7 46 69 6c 65 53  |:*DIR\.....FileS|
00001640  79 73 74 65 6d 25 3c 3e  38 8c ff 47 24 0d 03 fc  |ystem%<>8..G$...|
00001650  20 f2 41 28 4d 61 69 6e  57 68 25 2c 31 2c 30 2c  | .A(MainWh%,1,0,|
00001660  30 29 3a c8 99 26 34 30  36 43 32 3a e1 0d 04 06  |0):..&406C2:....|
00001670  2f dd a4 43 28 51 24 29  3a 3d c1 91 24 2c 32 30  |/..C(Q$):=..$,20|
00001680  2c 32 29 2b 22 5f 22 2b  c1 91 24 2c 32 33 2c 32  |,2)+"_"+..$,23,2|
00001690  29 2b 22 5f 22 2b c0 51  24 2c 33 29 0d 04 10 93  |)+"_"+.Q$,3)....|
000016a0  dd f2 51 3a 24 4d 61 70  54 79 70 65 25 3d 22 44  |..Q:$MapType%="D|
000016b0  72 69 76 65 20 22 2b c3  44 72 69 76 65 25 3a 46  |rive "+.Drive%:F|
000016c0  24 3d 22 22 3a 24 57 69  70 65 4d 65 73 73 25 3d  |$="":$WipeMess%=|
000016d0  22 57 69 70 69 6e 67 22  3a ff 22 44 52 49 56 45  |"Wiping":."DRIVE|
000016e0  20 22 2b c3 44 72 69 76  65 25 3a ff 22 4d 4f 55  | "+.Drive%:."MOU|
000016f0  4e 54 20 22 2b c3 44 72  69 76 65 25 3a c8 99 26  |NT "+.Drive%:..&|
00001700  34 30 32 34 35 2c 22 3a  22 2b c3 44 72 69 76 65  |40245,":"+.Drive|
00001710  25 2c 44 65 73 44 69 73  63 25 3a e7 44 65 73 44  |%,DesDisc%:.DesD|
00001720  69 73 63 25 21 31 36 3d  26 43 38 30 30 30 8c 0d  |isc%!16=&C8000..|
00001730  04 1a 44 e7 44 65 73 44  69 73 63 25 3f 35 3d 30  |..D.DesDisc%?5=0|
00001740  46 24 3d 22 44 20 6d 61  70 20 6f 6e 20 22 3a 45  |F$="D map on ":E|
00001750  6d 61 70 25 3d 30 8b 45  6d 61 70 25 3d 4f 66 66  |map%=0.Emap%=Off|
00001760  73 65 74 25 3a 46 24 3d  22 45 20 6d 61 70 20 6f  |set%:F$="E map o|
00001770  6e 20 22 0d 04 24 47 cc  3a 24 57 69 70 65 4d 65  |n "..$G.:$WipeMe|
00001780  73 73 25 3d 22 43 6f 75  6c 64 6e 27 74 20 77 69  |ss%="Couldn't wi|
00001790  70 65 2e 20 44 69 73 63  20 69 73 20 6e 6f 74 20  |pe. Disc is not |
000017a0  44 20 6f 72 20 45 20 66  6f 72 6d 61 74 22 3a ef  |D or E format":.|
000017b0  37 3a 45 6d 61 70 25 3d  2d 31 0d 04 2e 42 cd 3a  |7:Emap%=-1...B.:|
000017c0  24 4d 61 70 54 79 70 65  25 3d 46 24 2b 24 4d 61  |$MapType%=F$+$Ma|
000017d0  70 54 79 70 65 25 3a f2  41 28 4d 61 69 6e 57 68  |pType%:.A(MainWh|
000017e0  25 2c 30 2c 30 2c 30 29  3a f2 41 28 4d 61 69 6e  |%,0,0,0):.A(Main|
000017f0  57 68 25 2c 31 2c 30 2c  30 29 3a e1 0d 04 38 19  |Wh%,1,0,0):...8.|
00001800  dd a4 44 c8 99 26 34 30  32 34 32 b8 2c 52 31 25  |..D..&40242.,R1%|
00001810  3a 3d 52 31 25 0d 04 42  2b dd f2 55 3a 43 48 25  |:=R1%..B+..U:CH%|
00001820  3d 30 3a 45 72 64 25 3d  30 3a ea 85 3a ee 85 ea  |=0:Erd%=0:..:...|
00001830  f2 56 3a 43 48 25 3d a4  53 28 43 48 25 29 3a e1  |.V:CH%=.S(CH%):.|
00001840  0d 04 4c 73 43 48 25 3d  ad 28 4d 24 2b 22 2e 21  |..LsCH%=.(M$+".!|
00001850  52 75 6e 49 6d 61 67 65  22 29 3a cf 23 43 48 25  |RunImage"):.#CH%|
00001860  3d a2 23 43 48 25 2d 35  3a 70 74 72 25 3d 8f 23  |=.#CH%-5:ptr%=.#|
00001870  43 48 25 3a e3 58 25 3d  30 b8 34 3a 42 75 66 25  |CH%:.X%=0.4:Buf%|
00001880  3f 58 25 3d 9a 23 43 48  25 3a ed 3a e7 21 42 75  |?X%=.#CH%:.:.!Bu|
00001890  66 25 3c 3e 26 37 39 36  34 36 34 34 35 8f 23 43  |f%<>&79646445.#C|
000018a0  48 25 3d a2 23 43 48 25  8b cf 23 43 48 25 3d 70  |H%=.#CH%..#CH%=p|
000018b0  74 72 25 0d 04 56 41 21  42 75 66 25 3d 26 37 39  |tr%..VA!Buf%=&79|
000018c0  36 34 36 34 34 35 3a 42  75 66 25 3f 34 3d 44 72  |646445:Buf%?4=Dr|
000018d0  69 76 65 25 3a e3 58 25  3d 30 b8 34 3a d5 23 43  |ive%:.X%=0.4:.#C|
000018e0  48 25 2c 42 75 66 25 3f  58 25 3a ed 3a d9 23 43  |H%,Buf%?X%:.:.#C|
000018f0  48 25 3a e1 0d 04 60 14  dd a4 53 28 43 25 29 3a  |H%:...`...S(C%):|
00001900  ea 85 3a ee 85 ea 3d 30  0d 04 6a 0e e7 43 25 3c  |..:...=0..j..C%<|
00001910  3e 30 d9 23 43 25 0d 04  74 06 3d 30 0d 04 7e 1e  |>0.#C%..t.=0..~.|
00001920  dd f2 56 ea 50 24 3a e7  9f 3c 3e 36 37 37 39 36  |..V.P$:..<>67796|
00001930  80 9f 3c 3e 36 37 37 39  37 8c 0d 04 88 1b 50 24  |..<>67797.....P$|
00001940  3d f6 24 3a e7 9f 3d 26  43 31 50 24 3d 22 4c 6f  |=.$:..=&C1P$="Lo|
00001950  63 6b 65 64 22 0d 04 92  33 f2 53 28 22 43 6f 75  |cked"...3.S("Cou|
00001960  6c 64 20 6e 6f 74 20 73  61 76 65 20 64 72 69 76  |ld not save driv|
00001970  65 20 73 65 74 74 69 6e  67 2e 20 22 2b 50 24 2b  |e setting. "+P$+|
00001980  22 20 22 2c 31 29 3a e1  0d 04 9c 06 cc e1 0d 04  |" ",1):.........|
00001990  a6 07 cd 3a e1 0d 04 b0  64 dd a4 42 ea 42 25 2c  |...:....d..B.B%,|
000019a0  43 25 3a 42 25 3d e0 2b  26 36 34 3a c8 99 39 2c  |C%:B%=.+&64:..9,|
000019b0  30 2c 30 b8 4e 25 3a 46  69 6c 65 53 79 73 74 65  |0,0.N%:FileSyste|
000019c0  6d 25 3d 4e 25 3a c8 99  34 31 2c 33 33 2c 4e 25  |m%=N%:..41,33,N%|
000019d0  2c 42 25 2c 36 34 3a 4e  25 3d 30 3a f5 4e 25 2b  |,B%,64:N%=0:.N%+|
000019e0  3d 31 3a fd 42 25 3f 4e  25 3d 30 3a 42 25 3f 4e  |=1:.B%?N%=0:B%?N|
000019f0  25 3d 26 44 3a 3d 24 42  25 0d 04 ba 7e dd f2 5a  |%=&D:=$B%...~..Z|
00001a00  3a 21 90 3d 26 46 46 30  44 3a 7c 28 90 2b 34 29  |:!.=&FF0D:|(.+4)|
00001a10  3d 30 3a 7c 28 90 2b 39  29 3d 30 3a 4d 25 3d 28  |=0:|(.+9)=0:M%=(|
00001a20  28 b8 50 2d 90 2d 35 30  29 81 26 46 46 29 3a 52  |(.P-.-50).&FF):R|
00001a30  25 3d 28 28 b8 50 2d 90  2d 35 30 29 83 26 46 46  |%=((.P-.-50).&FF|
00001a40  29 3a 4e 25 3d 90 2b 34  3a e3 58 25 3d 31 b8 4d  |):N%=.+4:.X%=1.M|
00001a50  25 3a 24 4e 25 3d c4 26  46 46 2c bd 30 29 3a 4e  |%:$N%=.&FF,.0):N|
00001a60  25 2b 3d a9 24 4e 25 3a  ed 3a 24 4e 25 3d c4 52  |%+=.$N%:.:$N%=.R|
00001a70  25 2c bd 30 29 3a e0 0d  ff                       |%,.0):...|
00001a79