Home » CEEFAX disks » telesoftware16.adl » 03-06-89/Editor
03-06-89/Editor
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 » CEEFAX disks » telesoftware16.adl |
Filename: | 03-06-89/Editor |
Read OK: | ✔ |
File size: | 1779 bytes |
Load address: | FFFF1900 |
Exec address: | FFFF8023 |
Duplicates
There is 1 duplicate copy of this file in the archive:
- AEW website » mu » mu_5_25_discs_Micro_User_06_02_D-MU06_02.ssd » EDITOR
- CEEFAX disks » telesoftware16.adl » 03-06-89/Editor
File contents
10 REM DISC SECTOR EDITOR 20 REM by Rob Anderson 30 REM (c) The Micro User 40 ONERRORPROCerror 50 MODE7 60 DIMsecmem% 256,I$(1),code% 50 70 PROCinitial 80 REPEAT 90 VDU26,12 100 PROCcentre(title$,0):PROCcentre(title$,1) 110 VDU28,0,24,39,3 120 REPEAT 130 CLS:RESTORE270 140 FORA%=2TO4:READA$ 150 PRINTTAB(0,A%)CHR$131CHR$(A%+47)")"CHR$134A$ 160 NEXT 170 PRINT'CHR$131"TAB "CHR$134"toggle menu / edit mode."'''CHR$131"EDIT MODE KEYS;"'CHR$134"Cursor keys - move byte cursor."'CHR$134"SHIFT+left & right - access sector."'CHR$134"SHIFT+up & down - access track." 180 PRINTCHR$134"CTRL A/H - ASCII/HEXADECIMAL entry."'CHR$134"SHIFT+COPY - save sector to disc." 190 opt%=GET 200 IFopt%=49ORopt%=42PROCos 210 IFopt%=50PROCjump:opt%=9 220 UNTILopt%=9ORopt%=51 230 IFopt%<>51 PROCeditpanel 240 UNTILopt%=51 250 MODE7:*FX4,0 260 END 270 DATA Operating system command (or *).,Jump to track / sector.,Exit. 280: 290 DEFPROCinitial 300 PROCass 310 @%=&3:I%=0:osgbpb=&FFD1:osargs=&FFDA:osword=&FFF1 320 title$=CHR$141+CHR$132+CHR$157+CHR$131+"DISC SECTOR EDITOR "+CHR$156 330 sector%=0:track%=0 340 I$(0)="ASCII ":I$(1)="hexadecimal" 350 *FX4,1 360 ENDPROC 370: 380 DEFPROCeditpanel 390 LOCALopt% 400 file$=FNfilesystem:IFfile$="X"ENDPROC 410 IFfile$="ADFS"maxsector%=15:PROCgetsec(0,0):maxtrack%=((secmem%?252)+(secmem%?253)*256)/16-1 ELSEIFfile$="DFS" A%=6:X%=&70:Y%=0:!&71=secmem%:CALLosgbpb:drive%=?(secmem%+1)-48:maxsector%=9:A%=&7E:X%=&70:Y%=0:CALLosword:maxtrack%=!&70/&19000*40-1 420 IFtrack%>maxtrack%ANDtrack%<>0PRINTCHR$131CHR$136CHR$7"TRACK RANGE ERROR, maximum is ";maxtrack%:A%=FNanykey:track%=0:ENDPROC 430 IFsector%>maxsector%ANDsector%<>0ANDsector%<>1PRINTCHR$131CHR$136CHR$7"SECTOR RANGE ERROR, maximum is ";maxsector%:A%=FNanykey:sector%=0:ENDPROC 440 VDU26,12 450 PRINTCHR$131"TRACK"CHR$134;track%TAB(15)CHR$131"SECTOR"CHR$134;sector%; 460 IFfile$="DFS"PRINTTAB(27)CHR$131"DRIVE"CHR$134;drive%ELSEPRINT 470 PRINTCHR$131"Filing system:"CHR$134file$" (";:IFfile$="DFS"PRINT;maxtrack%+1;" track";ELSEIFfile$="ADFS"ANDmaxtrack%=39PRINT"small"; 480 IFfile$="ADFS"ANDmaxtrack%=79PRINT"medium";ELSEIFfile$="ADFS"ANDmaxtrack%=159PRINT"large"; 490 PRINT")."'CHR$131"Input:"CHR$134;I$(I%) 500 VDU28,0,24,39,4 510 PROCgetsec(track%,sector%) 520 PROCshowsec 530 REPEAT 540 opt%=GET 550 *FX15,0 560 IFopt%=137ANDINKEY(-1)ANDsector%+1<=maxsector% sector%=sector%+1:VDU26:PRINTTAB(23,0);sector%;" ":VDU28,0,24,39,4:PROCgetsec(track%,sector%):PROCshowsec:opt%=0 570 IFopt%>31ANDopt%<127ANDI%=0 PRINTTAB(x%+1,7);~opt%;TAB(29+x%DIV3,7)CHR$opt%;:secmem%?P%=opt%:opt%=137 580 IFopt%<48ORopt%>57ANDopt%<65ORopt%>70GOTO610 590 secmem%?P%=secmem%?P%*16+EVAL("&"+CHR$(opt%)):A%=secmem%?P%:IFA%<16A$=" "ELSEA$="" 600 PRINTTAB(x%+1,7);A$;~A%;:IFA%>31ANDA%<127ORA%>159ANDA%<256 PRINTTAB(29+x%DIV3,7)CHR$A%;ELSEPRINTTAB(29+x%DIV3,7)"."; 610 IFopt%=136ANDINKEY(-1)ANDsector%>0 sector%=sector%-1:VDU26:PRINTTAB(23,0);sector%;" ":VDU28,0,24,39,4:PROCgetsec(track%,sector%):PROCshowsec:opt%=0 620 IFopt%=139ANDINKEY(-1)ANDtrack%<maxtrack% track%=track%+1:VDU26:PRINTTAB(7,0);track%;" ":VDU28,0,24,39,4:PROCgetsec(track%,sector%):PROCshowsec:opt%=0 630 IFopt%=138ANDINKEY(-1)ANDtrack%>0track%=track%-1:VDU26:PRINTTAB(7,0);track%;" ":VDU28,0,24,39,4:PROCgetsec(track%,sector%):PROCshowsec:opt%=0 640 IFopt%<>136ORP%=0GOTO670 650 PROCnoarr:P%=P%-1:x%=x%-3:IFx%=3 x%=27:PROCmovedown 660 PROCarrow 670 IFopt%<>137ORP%=255GOTO700 680 PROCnoarr:P%=P%+1:x%=x%+3:IFx%=30x%=6:PROCmoveup 690 PROCarrow 700 IFopt%=138ANDP%<&F8 PROCnoarr:P%=P%+8:PROCmoveup:PROCarrow 710 IFopt%=139ANDP%>7 PROCnoarr:P%=P%-8:PROCmovedown:PROCarrow 720 IFopt%=1ORopt%=8I%=opt%DIV8:PRINTCHR$26TAB(8,2)I$(I%):VDU28,0,24,39,4 730 IFopt%=135ANDINKEY(-1)PROCputsec 740 UNTILopt%=9 750 ENDPROC 760: 770 DEFPROCnoarr 780 PRINTTAB(x%,7)" ";TAB(x%+3,7)" "; 790 ENDPROC 800: 810 DEFPROCarrow 820 PRINTTAB(x%,7)"]";TAB(x%+3,7)"["; 830 ENDPROC 840: 850 DEFPROCmoveup 860 VDU31,0,20 870 A%=P%DIV8*8+104 880 IFA%>&F8 PRINT:ENDPROC 890 PRINT'CHR$131~A%DIV8*8;CHR$135,; 900 FORB%=secmem%TOsecmem%+7:PRINT~B%?A%,;:NEXT 910 PRINT" "; 920 FORB%=secmem%TOsecmem%+7 930 IFB%?A%>31ANDB%?A%<127ORB%?A%>159ANDB%?A%<256PRINTCHR$(B%?A%);ELSEPRINT"."; 940 NEXT 950 ENDPROC 960: 970 DEFPROCmovedown 980 VDU30 990 A%=P%DIV8*8-56 1000 IFA%<0 VDU11:ENDPROC 1010 VDU30;11;131 1020 PRINT~A%DIV8*8CHR$135,; 1030 C%=6:FORB%=secmem%TOsecmem%+7:PRINTTAB(C%,0)~B%?A%;:C%=C%+3:NEXT 1040 PRINT" "; 1050 FORB%=secmem%TOsecmem%+7 1060 IFB%?A%>31ANDB%?A%<127ORB%?A%>159ANDB%?A%<256PRINTCHR$(B%?A%);ELSEPRINT"."; 1070 NEXT 1080 ENDPROC 1090: 1100 DEFFNfilesystem 1110 A%=0:Y%=0:F%=USR(osargs)AND&FF:IFF%=8 ="ADFS" ELSEIFF%=4 ="DFS" ELSE PRINTCHR$131CHR$136CHR$7"BAD FILING SYSTEM":A%=FNanykey:="X" 1120: 1130 DEFPROCcentre(A$,Y%) 1140 PRINTTAB(18-LENA$/2,Y%);A$; 1150 ENDPROC 1160: 1170 DEFPROCos 1180 CLS:PRINTCHR$131"Enter O.S. command;" 1190 REPEAT 1200 INPUT"*"A$:OSCLI(A$):A$=CHR$(FNanykey) 1210 UNTILA$<>"*" 1220 ENDPROC 1230: 1240 DEFPROCjump 1250 CLS 1260 PRINTCHR$131"Enter track number;":INPUTtrack% 1270 PRINTCHR$131"Enter sector number;":INPUTsector% 1280 ENDPROC 1290: 1300 DEFPROCgetsec(T%,S%) 1310 IF file$="DFS" ?&70=drive%:!&71=secmem%:?&75=3:?&76=&53:?&77=T%:?&78=S%:?&79=33:X%=&70:Y%=0:A%=&7F:CALLosword:PROCdfserror:ENDPROC 1320 IF file$="ADFS" ?&70=0:!&71=secmem%:?&75=&08:?&76=0:abssec%=T%*16+S%:?&77=abssec%DIV256:?&78=abssec%MOD256:?&79=1:X%=&70:Y%=0:A%=&72:CALLosword:PROCadfserror 1330 ENDPROC 1340: 1350 DEFPROCputsec 1360 IF file$="DFS" ?&70=drive%:!&71=secmem%:?&75=3:?&76=&4B:?&77=track%:?&78=sector%:?&79=33:X%=&70:Y%=0:A%=&7F:CALLosword:PROCdfserror:ENDPROC 1370 IFtrack%=0ANDsector%=0ORsector%=1 VDU26:PRINTTAB(0,3)CHR$131CHR$7CHR$136"Re-calculate checksum?(Y/N)";:IFGET<>78 CALLchecksum 1380 VDU26:PRINTTAB(0,3)STRING$(39," ");:VDU28,0,24,39,4:PROCshowsec 1390 ?&70=0:!&71=secmem%:?&75=&0A:?&76=0:abssec%=track%*16+sector%:?&77=abssec%DIV256:?&78=abssec%MOD256:?&79=1:!&7B=256:X%=&70:Y%=0:A%=&72:CALLosword:PROCadfserror 1400 ENDPROC 1410: 1420 DEFPROCshowsec 1430 CLS:P%=-8:PRINTTAB(0,6); 1440 FORA%=secmem%TOsecmem%+104STEP8 1450 P%=P%+8:PRINT'CHR$131~P%;CHR$135,; 1460 FORB%=A%TOA%+7:PRINT~?B%,;:NEXT 1470 PRINT" "; 1480 FORB%=A%TOA%+7 1490 IF?B%>31AND?B%<127OR?B%>159AND?B%<256PRINTCHR$(?B%);ELSEPRINT"."; 1500 NEXT, 1510 PRINTTAB(6,7)"]"TAB(9,7)"[" 1520 x%=6:P%=0 1530 ENDPROC 1540: 1550 DEFFNanykey 1560 PRINTCHR$131"Press any key;":=GET 1570: 1580 DEFPROCerror 1590 PRINT'CHR$7CHR$136CHR$131"ERROR:"CHR$135;:REPORT:PRINT:A%=FNanykey:RUN 1600: 1610 DEFPROCdfserror 1620 RESTORE1660:IF?&7A=0ENDPROC 1630 REPEAT:READA$,A%:UNTILA%=?&7AORA%=1 1640 CLS:PRINT'CHR$7CHR$131CHR$136"DISC ERROR;"'CHR$134A$:A%=FNanykey:RUN 1650 ENDPROC 1660 DATA Cyclic redundancy error (ID),12,Cyclic redundancy error (data),14,Track 0 not found,20,Write fault,22,Sector not found,24,Unknown,1 1670: 1680 DEFPROCadfserror 1690 RESTORE1730:IF?&70=0ENDPROC 1700 REPEAT:READA$,A%:UNTILA%=?&70ORA%=1 1710 CLS:PRINT'CHR$7CHR$131CHR$136"DISC ERROR;"'CHR$134A$:A%=FNanykey:RUN 1720 ENDPROC 1730 DATA Cyclic Redundancy check error,72,Sector not found,80,Bad command,96,Bad address,97,Volume error,99,Bad drive,101,Unknown,1 1740: 1750 DEFPROCass 1760 FORpass=0TO2STEP2 1770 P%=code% 1780 [OPTpass 1790 .checksum 1800 LDA#secmem%DIV256:STA&71:LDA#secmem%MOD256:STA&70:LDA#&FF:LDY#&FE:CLC 1810 .add:ADC(&70),Y 1820 PHP:DEY:CPY#&FF:BEQout 1830 PLP:JMPadd 1840 .out:PLP:STA(&70),Y 1850 RTS:]:NEXT 1860 ENDPROC
� DISC SECTOR EDITOR � by Rob Anderson � (c) The Micro User ( ��error 2 �7 < �secmem% 256,I$(1),code% 50 F �initial P � Z �26,12 d( �centre(title$,0):�centre(title$,1) n �28,0,24,39,3 x � � �:��TNA � �A%=2�4:�A$ �! �0,A%)�131�(A%+47)")"�134A$ � � �� �'�131"TAB "�134"toggle menu / edit mode."'''�131"EDIT MODE KEYS;"'�134"Cursor keys - move byte cursor."'�134"SHIFT+left & right - access sector."'�134"SHIFT+up & down - access track." �W �134"CTRL A/H - ASCII/HEXADECIMAL entry."'�134"SHIFT+COPY - save sector to disc." � opt%=� � �opt%=49�opt%=42�os � �opt%=50�jump:opt%=9 � �opt%=9�opt%=51 � �opt%<>51 �editpanel � �opt%=51 � �7:*FX4,0 � E � Operating system command (or *).,Jump to track / sector.,Exit. : " ��initial , �ass 66 @%=&3:I%=0:osgbpb=&FFD1:osargs=&FFDA:osword=&FFF1 @; title$=�141+�132+�157+�131+"DISC SECTOR EDITOR "+�156 J sector%=0:track%=0 T, I$(0)="ASCII ":I$(1)="hexadecimal" ^ *FX4,1 h � r: | ��editpanel � �opt% �" file$=�filesystem:�file$="X"� �� �file$="ADFS"maxsector%=15:�getsec(0,0):maxtrack%=((secmem%?252)+(secmem%?253)*256)/16-1 ��file$="DFS" A%=6:X%=&70:Y%=0:!&71=secmem%:�osgbpb:drive%=?(secmem%+1)-48:maxsector%=9:A%=&7E:X%=&70:Y%=0:�osword:maxtrack%=!&70/&19000*40-1 �k �track%>maxtrack%�track%<>0�131�136�7"TRACK RANGE ERROR, maximum is ";maxtrack%:A%=�anykey:track%=0:� �| �sector%>maxsector%�sector%<>0�sector%<>1�131�136�7"SECTOR RANGE ERROR, maximum is ";maxsector%:A%=�anykey:sector%=0:� � �26,12 �9 �131"TRACK"�134;track%�15)�131"SECTOR"�134;sector%; �. �file$="DFS"�27)�131"DRIVE"�134;drive%�� �p �131"Filing system:"�134file$" (";:�file$="DFS"�;maxtrack%+1;" track";��file$="ADFS"�maxtrack%=39�"small"; �N �file$="ADFS"�maxtrack%=79�"medium";��file$="ADFS"�maxtrack%=159�"large"; �" �")."'�131"Input:"�134;I$(I%) � �28,0,24,39,4 � �getsec(track%,sector%) �showsec � opt%=� & *FX15,0 0� �opt%=137��(-1)�sector%+1<=maxsector% sector%=sector%+1:�26:�23,0);sector%;" ":�28,0,24,39,4:�getsec(track%,sector%):�showsec:opt%=0 :V �opt%>31�opt%<127�I%=0 �x%+1,7);~opt%;�29+x%�3,7)�opt%;:secmem%?P%=opt%:opt%=137 D* �opt%<48�opt%>57�opt%<65�opt%>70�DbB NM secmem%?P%=secmem%?P%*16+�("&"+�(opt%)):A%=secmem%?P%:�A%<16A$=" "�A$="" XT �x%+1,7);A$;~A%;:�A%>31�A%<127�A%>159�A%<256 �29+x%�3,7)�A%;��29+x%�3,7)"."; b �opt%=136��(-1)�sector%>0 sector%=sector%-1:�26:�23,0);sector%;" ":�28,0,24,39,4:�getsec(track%,sector%):�showsec:opt%=0 l� �opt%=139��(-1)�track%<maxtrack% track%=track%+1:�26:�7,0);track%;" ":�28,0,24,39,4:�getsec(track%,sector%):�showsec:opt%=0 vz �opt%=138��(-1)�track%>0track%=track%-1:�26:�7,0);track%;" ":�28,0,24,39,4:�getsec(track%,sector%):�showsec:opt%=0 � �opt%<>136�P%=0�t^B �1 �noarr:P%=P%-1:x%=x%-3:�x%=3 x%=27:�movedown � �arrow � �opt%<>137�P%=255�t|B �. �noarr:P%=P%+1:x%=x%+3:�x%=30x%=6:�moveup � �arrow �3 �opt%=138�P%<&F8 �noarr:P%=P%+8:�moveup:�arrow �3 �opt%=139�P%>7 �noarr:P%=P%-8:�movedown:�arrow �: �opt%=1�opt%=8I%=opt%�8:�26�8,2)I$(I%):�28,0,24,39,4 � �opt%=135��(-1)�putsec � �opt%=9 � � �: ��noarr �x%,7)" ";�x%+3,7)" "; � : * ��arrow 4 �x%,7)"]";�x%+3,7)"["; > � H: R ��moveup \ �31,0,20 f A%=P%�8*8+104 p �A%>&F8 �:� z �'�131~A%�8*8;�135,; �& �B%=secmem%�secmem%+7:�~B%?A%,;:� � �" "; � �B%=secmem%�secmem%+7 �< �B%?A%>31�B%?A%<127�B%?A%>159�B%?A%<256�(B%?A%);��"."; � � � � �: � ��movedown � �30 � A%=P%�8*8-56 � �A%<0 �11:� � �30;11;131 � �~A%�8*8�135,; 8 C%=6:�B%=secmem%�secmem%+7:�C%,0)~B%?A%;:C%=C%+3:� �" "; �B%=secmem%�secmem%+7 $< �B%?A%>31�B%?A%<127�B%?A%>159�B%?A%<256�(B%?A%);��"."; . � 8 � B: L ݤfilesystem Vl A%=0:Y%=0:F%=�(osargs)�&FF:�F%=8 ="ADFS" ��F%=4 ="DFS" � �131�136�7"BAD FILING SYSTEM":A%=�anykey:="X" `: j ��centre(A$,Y%) t �18-�A$/2,Y%);A$; ~ � �: � ��os �! �:�131"Enter O.S. command;" � � � �"*"A$:�(A$):A$=�(�anykey) � �A$<>"*" � � �: � ��jump � � �' �131"Enter track number;":�track% �) �131"Enter sector number;":�sector% � : ��getsec(T%,S%) z � file$="DFS" ?&70=drive%:!&71=secmem%:?&75=3:?&76=&53:?&77=T%:?&78=S%:?&79=33:X%=&70:Y%=0:A%=&7F:�osword:�dfserror:� (� � file$="ADFS" ?&70=0:!&71=secmem%:?&75=&08:?&76=0:abssec%=T%*16+S%:?&77=abssec%�256:?&78=abssec%�256:?&79=1:X%=&70:Y%=0:A%=&72:�osword:�adfserror 2 � <: F ��putsec P� � file$="DFS" ?&70=drive%:!&71=secmem%:?&75=3:?&76=&4B:?&77=track%:?&78=sector%:?&79=33:X%=&70:Y%=0:A%=&7F:�osword:�dfserror:� Zf �track%=0�sector%=0�sector%=1 �26:�0,3)�131�7�136"Re-calculate checksum?(Y/N)";:�<>78 �checksum d/ �26:�0,3)�39," ");:�28,0,24,39,4:�showsec n� ?&70=0:!&71=secmem%:?&75=&0A:?&76=0:abssec%=track%*16+sector%:?&77=abssec%�256:?&78=abssec%�256:?&79=1:!&7B=256:X%=&70:Y%=0:A%=&72:�osword:�adfserror x � �: � ��showsec � �:P%=-8:�0,6); � �A%=secmem%�secmem%+104�8 � P%=P%+8:�'�131~P%;�135,; � �B%=A%�A%+7:�~?B%,;:� � �" "; � �B%=A%�A%+7 �2 �?B%>31�?B%<127�?B%>159�?B%<256�(?B%);��"."; � �, � �6,7)"]"�9,7)"[" � x%=6:P%=0 � � : ݤanykey �131"Press any key;":=� ": , ��error 6/ �'�7�136�131"ERROR:"�135;:�:�:A%=�anykey:� @: J ��dfserror T ��D|F:�?&7A=0� ^ �:�A$,A%:�A%=?&7A�A%=1 h4 �:�'�7�131�136"DISC ERROR;"'�134A$:A%=�anykey:� r � |� � Cyclic redundancy error (ID),12,Cyclic redundancy error (data),14,Track 0 not found,20,Write fault,22,Sector not found,24,Unknown,1 �: � ��adfserror � ��dBF:�?&70=0� � �:�A$,A%:�A%=?&70�A%=1 �4 �:�'�7�131�136"DISC ERROR;"'�134A$:A%=�anykey:� � � � Cyclic Redundancy check error,72,Sector not found,80,Bad command,96,Bad address,97,Volume error,99,Bad drive,101,Unknown,1 �: � ��ass � �pass=0�2�2 � P%=code% � [OPTpass � .checksum F LDA#secmem%�256:STA&71:LDA#secmem%�256:STA&70:LDA#&FF:LDY#&FE:CLC .add:ADC(&70),Y PHP:DEY:CPY#&FF:BEQout & PLP:JMPadd 0 .out:PLP:STA(&70),Y : RTS:]:� D � �
00000000 0d 00 0a 19 20 f4 20 44 49 53 43 20 53 45 43 54 |.... . DISC SECT| 00000010 4f 52 20 45 44 49 54 4f 52 0d 00 14 16 20 f4 20 |OR EDITOR.... . | 00000020 62 79 20 52 6f 62 20 41 6e 64 65 72 73 6f 6e 0d |by Rob Anderson.| 00000030 00 1e 19 20 f4 20 28 63 29 20 54 68 65 20 4d 69 |... . (c) The Mi| 00000040 63 72 6f 20 55 73 65 72 0d 00 28 0d 20 ee 85 f2 |cro User..(. ...| 00000050 65 72 72 6f 72 0d 00 32 07 20 eb 37 0d 00 3c 20 |error..2. .7..< | 00000060 20 de 73 65 63 6d 65 6d 25 20 32 35 36 2c 49 24 | .secmem% 256,I$| 00000070 28 31 29 2c 63 6f 64 65 25 20 35 30 0d 00 46 0d |(1),code% 50..F.| 00000080 20 f2 69 6e 69 74 69 61 6c 0d 00 50 06 20 f5 0d | .initial..P. ..| 00000090 00 5a 0b 20 ef 32 36 2c 31 32 0d 00 64 28 20 f2 |.Z. .26,12..d( .| 000000a0 63 65 6e 74 72 65 28 74 69 74 6c 65 24 2c 30 29 |centre(title$,0)| 000000b0 3a f2 63 65 6e 74 72 65 28 74 69 74 6c 65 24 2c |:.centre(title$,| 000000c0 31 29 0d 00 6e 12 20 ef 32 38 2c 30 2c 32 34 2c |1)..n. .28,0,24,| 000000d0 33 39 2c 33 0d 00 78 06 20 f5 0d 00 82 0c 20 db |39,3..x. ..... .| 000000e0 3a f7 8d 54 4e 41 0d 00 8c 10 20 e3 41 25 3d 32 |:..TNA.... .A%=2| 000000f0 b8 34 3a f3 41 24 0d 00 96 21 20 f1 8a 30 2c 41 |.4:.A$...! ..0,A| 00000100 25 29 bd 31 33 31 bd 28 41 25 2b 34 37 29 22 29 |%).131.(A%+47)")| 00000110 22 bd 31 33 34 41 24 0d 00 a0 06 20 ed 0d 00 aa |".134A$.... ....| 00000120 bd 20 f1 27 bd 31 33 31 22 54 41 42 20 22 bd 31 |. .'.131"TAB ".1| 00000130 33 34 22 74 6f 67 67 6c 65 20 6d 65 6e 75 20 2f |34"toggle menu /| 00000140 20 65 64 69 74 20 6d 6f 64 65 2e 22 27 27 27 bd | edit mode."'''.| 00000150 31 33 31 22 45 44 49 54 20 4d 4f 44 45 20 4b 45 |131"EDIT MODE KE| 00000160 59 53 3b 22 27 bd 31 33 34 22 43 75 72 73 6f 72 |YS;"'.134"Cursor| 00000170 20 6b 65 79 73 20 2d 20 6d 6f 76 65 20 62 79 74 | keys - move byt| 00000180 65 20 63 75 72 73 6f 72 2e 22 27 bd 31 33 34 22 |e cursor."'.134"| 00000190 53 48 49 46 54 2b 6c 65 66 74 20 26 20 72 69 67 |SHIFT+left & rig| 000001a0 68 74 20 2d 20 61 63 63 65 73 73 20 73 65 63 74 |ht - access sect| 000001b0 6f 72 2e 22 27 bd 31 33 34 22 53 48 49 46 54 2b |or."'.134"SHIFT+| 000001c0 75 70 20 26 20 64 6f 77 6e 20 2d 20 61 63 63 65 |up & down - acce| 000001d0 73 73 20 74 72 61 63 6b 2e 22 0d 00 b4 57 20 f1 |ss track."...W .| 000001e0 bd 31 33 34 22 43 54 52 4c 20 41 2f 48 20 2d 20 |.134"CTRL A/H - | 000001f0 41 53 43 49 49 2f 48 45 58 41 44 45 43 49 4d 41 |ASCII/HEXADECIMA| 00000200 4c 20 65 6e 74 72 79 2e 22 27 bd 31 33 34 22 53 |L entry."'.134"S| 00000210 48 49 46 54 2b 43 4f 50 59 20 2d 20 73 61 76 65 |HIFT+COPY - save| 00000220 20 73 65 63 74 6f 72 20 74 6f 20 64 69 73 63 2e | sector to disc.| 00000230 22 0d 00 be 0b 20 6f 70 74 25 3d a5 0d 00 c8 18 |".... opt%=.....| 00000240 20 e7 6f 70 74 25 3d 34 39 84 6f 70 74 25 3d 34 | .opt%=49.opt%=4| 00000250 32 f2 6f 73 0d 00 d2 19 20 e7 6f 70 74 25 3d 35 |2.os.... .opt%=5| 00000260 30 f2 6a 75 6d 70 3a 6f 70 74 25 3d 39 0d 00 dc |0.jump:opt%=9...| 00000270 14 20 fd 6f 70 74 25 3d 39 84 6f 70 74 25 3d 35 |. .opt%=9.opt%=5| 00000280 31 0d 00 e6 19 20 e7 6f 70 74 25 3c 3e 35 31 20 |1.... .opt%<>51 | 00000290 f2 65 64 69 74 70 61 6e 65 6c 0d 00 f0 0d 20 fd |.editpanel.... .| 000002a0 6f 70 74 25 3d 35 31 0d 00 fa 0e 20 eb 37 3a 2a |opt%=51.... .7:*| 000002b0 46 58 34 2c 30 0d 01 04 06 20 e0 0d 01 0e 45 20 |FX4,0.... ....E | 000002c0 dc 20 4f 70 65 72 61 74 69 6e 67 20 73 79 73 74 |. Operating syst| 000002d0 65 6d 20 63 6f 6d 6d 61 6e 64 20 28 6f 72 20 2a |em command (or *| 000002e0 29 2e 2c 4a 75 6d 70 20 74 6f 20 74 72 61 63 6b |).,Jump to track| 000002f0 20 2f 20 73 65 63 74 6f 72 2e 2c 45 78 69 74 2e | / sector.,Exit.| 00000300 0d 01 18 05 3a 0d 01 22 0e 20 dd f2 69 6e 69 74 |....:..". ..init| 00000310 69 61 6c 0d 01 2c 09 20 f2 61 73 73 0d 01 36 36 |ial..,. .ass..66| 00000320 20 40 25 3d 26 33 3a 49 25 3d 30 3a 6f 73 67 62 | @%=&3:I%=0:osgb| 00000330 70 62 3d 26 46 46 44 31 3a 6f 73 61 72 67 73 3d |pb=&FFD1:osargs=| 00000340 26 46 46 44 41 3a 6f 73 77 6f 72 64 3d 26 46 46 |&FFDA:osword=&FF| 00000350 46 31 0d 01 40 3b 20 74 69 74 6c 65 24 3d bd 31 |F1..@; title$=.1| 00000360 34 31 2b bd 31 33 32 2b bd 31 35 37 2b bd 31 33 |41+.132+.157+.13| 00000370 31 2b 22 44 49 53 43 20 53 45 43 54 4f 52 20 45 |1+"DISC SECTOR E| 00000380 44 49 54 4f 52 20 20 22 2b bd 31 35 36 0d 01 4a |DITOR "+.156..J| 00000390 17 20 73 65 63 74 6f 72 25 3d 30 3a 74 72 61 63 |. sector%=0:trac| 000003a0 6b 25 3d 30 0d 01 54 2c 20 49 24 28 30 29 3d 22 |k%=0..T, I$(0)="| 000003b0 41 53 43 49 49 20 20 20 20 20 20 22 3a 49 24 28 |ASCII ":I$(| 000003c0 31 29 3d 22 68 65 78 61 64 65 63 69 6d 61 6c 22 |1)="hexadecimal"| 000003d0 0d 01 5e 0b 20 2a 46 58 34 2c 31 0d 01 68 06 20 |..^. *FX4,1..h. | 000003e0 e1 0d 01 72 05 3a 0d 01 7c 10 20 dd f2 65 64 69 |...r.:..|. ..edi| 000003f0 74 70 61 6e 65 6c 0d 01 86 0a 20 ea 6f 70 74 25 |tpanel.... .opt%| 00000400 0d 01 90 22 20 66 69 6c 65 24 3d a4 66 69 6c 65 |..." file$=.file| 00000410 73 79 73 74 65 6d 3a e7 66 69 6c 65 24 3d 22 58 |system:.file$="X| 00000420 22 e1 0d 01 9a eb 20 e7 66 69 6c 65 24 3d 22 41 |"..... .file$="A| 00000430 44 46 53 22 6d 61 78 73 65 63 74 6f 72 25 3d 31 |DFS"maxsector%=1| 00000440 35 3a f2 67 65 74 73 65 63 28 30 2c 30 29 3a 6d |5:.getsec(0,0):m| 00000450 61 78 74 72 61 63 6b 25 3d 28 28 73 65 63 6d 65 |axtrack%=((secme| 00000460 6d 25 3f 32 35 32 29 2b 28 73 65 63 6d 65 6d 25 |m%?252)+(secmem%| 00000470 3f 32 35 33 29 2a 32 35 36 29 2f 31 36 2d 31 20 |?253)*256)/16-1 | 00000480 8b e7 66 69 6c 65 24 3d 22 44 46 53 22 20 41 25 |..file$="DFS" A%| 00000490 3d 36 3a 58 25 3d 26 37 30 3a 59 25 3d 30 3a 21 |=6:X%=&70:Y%=0:!| 000004a0 26 37 31 3d 73 65 63 6d 65 6d 25 3a d6 6f 73 67 |&71=secmem%:.osg| 000004b0 62 70 62 3a 64 72 69 76 65 25 3d 3f 28 73 65 63 |bpb:drive%=?(sec| 000004c0 6d 65 6d 25 2b 31 29 2d 34 38 3a 6d 61 78 73 65 |mem%+1)-48:maxse| 000004d0 63 74 6f 72 25 3d 39 3a 41 25 3d 26 37 45 3a 58 |ctor%=9:A%=&7E:X| 000004e0 25 3d 26 37 30 3a 59 25 3d 30 3a d6 6f 73 77 6f |%=&70:Y%=0:.oswo| 000004f0 72 64 3a 6d 61 78 74 72 61 63 6b 25 3d 21 26 37 |rd:maxtrack%=!&7| 00000500 30 2f 26 31 39 30 30 30 2a 34 30 2d 31 0d 01 a4 |0/&19000*40-1...| 00000510 6b 20 e7 74 72 61 63 6b 25 3e 6d 61 78 74 72 61 |k .track%>maxtra| 00000520 63 6b 25 80 74 72 61 63 6b 25 3c 3e 30 f1 bd 31 |ck%.track%<>0..1| 00000530 33 31 bd 31 33 36 bd 37 22 54 52 41 43 4b 20 52 |31.136.7"TRACK R| 00000540 41 4e 47 45 20 45 52 52 4f 52 2c 20 6d 61 78 69 |ANGE ERROR, maxi| 00000550 6d 75 6d 20 69 73 20 22 3b 6d 61 78 74 72 61 63 |mum is ";maxtrac| 00000560 6b 25 3a 41 25 3d a4 61 6e 79 6b 65 79 3a 74 72 |k%:A%=.anykey:tr| 00000570 61 63 6b 25 3d 30 3a e1 0d 01 ae 7c 20 e7 73 65 |ack%=0:....| .se| 00000580 63 74 6f 72 25 3e 6d 61 78 73 65 63 74 6f 72 25 |ctor%>maxsector%| 00000590 80 73 65 63 74 6f 72 25 3c 3e 30 80 73 65 63 74 |.sector%<>0.sect| 000005a0 6f 72 25 3c 3e 31 f1 bd 31 33 31 bd 31 33 36 bd |or%<>1..131.136.| 000005b0 37 22 53 45 43 54 4f 52 20 52 41 4e 47 45 20 45 |7"SECTOR RANGE E| 000005c0 52 52 4f 52 2c 20 6d 61 78 69 6d 75 6d 20 69 73 |RROR, maximum is| 000005d0 20 22 3b 6d 61 78 73 65 63 74 6f 72 25 3a 41 25 | ";maxsector%:A%| 000005e0 3d a4 61 6e 79 6b 65 79 3a 73 65 63 74 6f 72 25 |=.anykey:sector%| 000005f0 3d 30 3a e1 0d 01 b8 0b 20 ef 32 36 2c 31 32 0d |=0:..... .26,12.| 00000600 01 c2 39 20 f1 bd 31 33 31 22 54 52 41 43 4b 22 |..9 ..131"TRACK"| 00000610 bd 31 33 34 3b 74 72 61 63 6b 25 8a 31 35 29 bd |.134;track%.15).| 00000620 31 33 31 22 53 45 43 54 4f 52 22 bd 31 33 34 3b |131"SECTOR".134;| 00000630 73 65 63 74 6f 72 25 3b 0d 01 cc 2e 20 e7 66 69 |sector%;.... .fi| 00000640 6c 65 24 3d 22 44 46 53 22 f1 8a 32 37 29 bd 31 |le$="DFS"..27).1| 00000650 33 31 22 44 52 49 56 45 22 bd 31 33 34 3b 64 72 |31"DRIVE".134;dr| 00000660 69 76 65 25 8b f1 0d 01 d6 70 20 f1 bd 31 33 31 |ive%.....p ..131| 00000670 22 46 69 6c 69 6e 67 20 73 79 73 74 65 6d 3a 22 |"Filing system:"| 00000680 bd 31 33 34 66 69 6c 65 24 22 20 28 22 3b 3a e7 |.134file$" (";:.| 00000690 66 69 6c 65 24 3d 22 44 46 53 22 f1 3b 6d 61 78 |file$="DFS".;max| 000006a0 74 72 61 63 6b 25 2b 31 3b 22 20 74 72 61 63 6b |track%+1;" track| 000006b0 22 3b 8b e7 66 69 6c 65 24 3d 22 41 44 46 53 22 |";..file$="ADFS"| 000006c0 80 6d 61 78 74 72 61 63 6b 25 3d 33 39 f1 22 73 |.maxtrack%=39."s| 000006d0 6d 61 6c 6c 22 3b 0d 01 e0 4e 20 e7 66 69 6c 65 |mall";...N .file| 000006e0 24 3d 22 41 44 46 53 22 80 6d 61 78 74 72 61 63 |$="ADFS".maxtrac| 000006f0 6b 25 3d 37 39 f1 22 6d 65 64 69 75 6d 22 3b 8b |k%=79."medium";.| 00000700 e7 66 69 6c 65 24 3d 22 41 44 46 53 22 80 6d 61 |.file$="ADFS".ma| 00000710 78 74 72 61 63 6b 25 3d 31 35 39 f1 22 6c 61 72 |xtrack%=159."lar| 00000720 67 65 22 3b 0d 01 ea 22 20 f1 22 29 2e 22 27 bd |ge";..." .")."'.| 00000730 31 33 31 22 49 6e 70 75 74 3a 22 bd 31 33 34 3b |131"Input:".134;| 00000740 49 24 28 49 25 29 0d 01 f4 12 20 ef 32 38 2c 30 |I$(I%).... .28,0| 00000750 2c 32 34 2c 33 39 2c 34 0d 01 fe 1c 20 f2 67 65 |,24,39,4.... .ge| 00000760 74 73 65 63 28 74 72 61 63 6b 25 2c 73 65 63 74 |tsec(track%,sect| 00000770 6f 72 25 29 0d 02 08 0d 20 f2 73 68 6f 77 73 65 |or%).... .showse| 00000780 63 0d 02 12 06 20 f5 0d 02 1c 0b 20 6f 70 74 25 |c.... ..... opt%| 00000790 3d a5 0d 02 26 0c 20 2a 46 58 31 35 2c 30 0d 02 |=...&. *FX15,0..| 000007a0 30 8b 20 e7 6f 70 74 25 3d 31 33 37 80 a6 28 2d |0. .opt%=137..(-| 000007b0 31 29 80 73 65 63 74 6f 72 25 2b 31 3c 3d 6d 61 |1).sector%+1<=ma| 000007c0 78 73 65 63 74 6f 72 25 20 73 65 63 74 6f 72 25 |xsector% sector%| 000007d0 3d 73 65 63 74 6f 72 25 2b 31 3a ef 32 36 3a f1 |=sector%+1:.26:.| 000007e0 8a 32 33 2c 30 29 3b 73 65 63 74 6f 72 25 3b 22 |.23,0);sector%;"| 000007f0 20 20 22 3a ef 32 38 2c 30 2c 32 34 2c 33 39 2c | ":.28,0,24,39,| 00000800 34 3a f2 67 65 74 73 65 63 28 74 72 61 63 6b 25 |4:.getsec(track%| 00000810 2c 73 65 63 74 6f 72 25 29 3a f2 73 68 6f 77 73 |,sector%):.shows| 00000820 65 63 3a 6f 70 74 25 3d 30 0d 02 3a 56 20 e7 6f |ec:opt%=0..:V .o| 00000830 70 74 25 3e 33 31 80 6f 70 74 25 3c 31 32 37 80 |pt%>31.opt%<127.| 00000840 49 25 3d 30 20 f1 8a 78 25 2b 31 2c 37 29 3b 7e |I%=0 ..x%+1,7);~| 00000850 6f 70 74 25 3b 8a 32 39 2b 78 25 81 33 2c 37 29 |opt%;.29+x%.3,7)| 00000860 bd 6f 70 74 25 3b 3a 73 65 63 6d 65 6d 25 3f 50 |.opt%;:secmem%?P| 00000870 25 3d 6f 70 74 25 3a 6f 70 74 25 3d 31 33 37 0d |%=opt%:opt%=137.| 00000880 02 44 2a 20 e7 6f 70 74 25 3c 34 38 84 6f 70 74 |.D* .opt%<48.opt| 00000890 25 3e 35 37 80 6f 70 74 25 3c 36 35 84 6f 70 74 |%>57.opt%<65.opt| 000008a0 25 3e 37 30 e5 8d 44 62 42 0d 02 4e 4d 20 73 65 |%>70..DbB..NM se| 000008b0 63 6d 65 6d 25 3f 50 25 3d 73 65 63 6d 65 6d 25 |cmem%?P%=secmem%| 000008c0 3f 50 25 2a 31 36 2b a0 28 22 26 22 2b bd 28 6f |?P%*16+.("&"+.(o| 000008d0 70 74 25 29 29 3a 41 25 3d 73 65 63 6d 65 6d 25 |pt%)):A%=secmem%| 000008e0 3f 50 25 3a e7 41 25 3c 31 36 41 24 3d 22 20 22 |?P%:.A%<16A$=" "| 000008f0 8b 41 24 3d 22 22 0d 02 58 54 20 f1 8a 78 25 2b |.A$=""..XT ..x%+| 00000900 31 2c 37 29 3b 41 24 3b 7e 41 25 3b 3a e7 41 25 |1,7);A$;~A%;:.A%| 00000910 3e 33 31 80 41 25 3c 31 32 37 84 41 25 3e 31 35 |>31.A%<127.A%>15| 00000920 39 80 41 25 3c 32 35 36 20 f1 8a 32 39 2b 78 25 |9.A%<256 ..29+x%| 00000930 81 33 2c 37 29 bd 41 25 3b 8b f1 8a 32 39 2b 78 |.3,7).A%;...29+x| 00000940 25 81 33 2c 37 29 22 2e 22 3b 0d 02 62 7f 20 e7 |%.3,7)".";..b. .| 00000950 6f 70 74 25 3d 31 33 36 80 a6 28 2d 31 29 80 73 |opt%=136..(-1).s| 00000960 65 63 74 6f 72 25 3e 30 20 73 65 63 74 6f 72 25 |ector%>0 sector%| 00000970 3d 73 65 63 74 6f 72 25 2d 31 3a ef 32 36 3a f1 |=sector%-1:.26:.| 00000980 8a 32 33 2c 30 29 3b 73 65 63 74 6f 72 25 3b 22 |.23,0);sector%;"| 00000990 20 20 22 3a ef 32 38 2c 30 2c 32 34 2c 33 39 2c | ":.28,0,24,39,| 000009a0 34 3a f2 67 65 74 73 65 63 28 74 72 61 63 6b 25 |4:.getsec(track%| 000009b0 2c 73 65 63 74 6f 72 25 29 3a f2 73 68 6f 77 73 |,sector%):.shows| 000009c0 65 63 3a 6f 70 74 25 3d 30 0d 02 6c 83 20 e7 6f |ec:opt%=0..l. .o| 000009d0 70 74 25 3d 31 33 39 80 a6 28 2d 31 29 80 74 72 |pt%=139..(-1).tr| 000009e0 61 63 6b 25 3c 6d 61 78 74 72 61 63 6b 25 20 74 |ack%<maxtrack% t| 000009f0 72 61 63 6b 25 3d 74 72 61 63 6b 25 2b 31 3a ef |rack%=track%+1:.| 00000a00 32 36 3a f1 8a 37 2c 30 29 3b 74 72 61 63 6b 25 |26:..7,0);track%| 00000a10 3b 22 20 20 20 22 3a ef 32 38 2c 30 2c 32 34 2c |;" ":.28,0,24,| 00000a20 33 39 2c 34 3a f2 67 65 74 73 65 63 28 74 72 61 |39,4:.getsec(tra| 00000a30 63 6b 25 2c 73 65 63 74 6f 72 25 29 3a f2 73 68 |ck%,sector%):.sh| 00000a40 6f 77 73 65 63 3a 6f 70 74 25 3d 30 0d 02 76 7a |owsec:opt%=0..vz| 00000a50 20 e7 6f 70 74 25 3d 31 33 38 80 a6 28 2d 31 29 | .opt%=138..(-1)| 00000a60 80 74 72 61 63 6b 25 3e 30 74 72 61 63 6b 25 3d |.track%>0track%=| 00000a70 74 72 61 63 6b 25 2d 31 3a ef 32 36 3a f1 8a 37 |track%-1:.26:..7| 00000a80 2c 30 29 3b 74 72 61 63 6b 25 3b 22 20 20 20 22 |,0);track%;" "| 00000a90 3a ef 32 38 2c 30 2c 32 34 2c 33 39 2c 34 3a f2 |:.28,0,24,39,4:.| 00000aa0 67 65 74 73 65 63 28 74 72 61 63 6b 25 2c 73 65 |getsec(track%,se| 00000ab0 63 74 6f 72 25 29 3a f2 73 68 6f 77 73 65 63 3a |ctor%):.showsec:| 00000ac0 6f 70 74 25 3d 30 0d 02 80 19 20 e7 6f 70 74 25 |opt%=0.... .opt%| 00000ad0 3c 3e 31 33 36 84 50 25 3d 30 e5 8d 74 5e 42 0d |<>136.P%=0..t^B.| 00000ae0 02 8a 31 20 f2 6e 6f 61 72 72 3a 50 25 3d 50 25 |..1 .noarr:P%=P%| 00000af0 2d 31 3a 78 25 3d 78 25 2d 33 3a e7 78 25 3d 33 |-1:x%=x%-3:.x%=3| 00000b00 20 78 25 3d 32 37 3a f2 6d 6f 76 65 64 6f 77 6e | x%=27:.movedown| 00000b10 0d 02 94 0b 20 f2 61 72 72 6f 77 0d 02 9e 1b 20 |.... .arrow.... | 00000b20 e7 6f 70 74 25 3c 3e 31 33 37 84 50 25 3d 32 35 |.opt%<>137.P%=25| 00000b30 35 e5 8d 74 7c 42 0d 02 a8 2e 20 f2 6e 6f 61 72 |5..t|B.... .noar| 00000b40 72 3a 50 25 3d 50 25 2b 31 3a 78 25 3d 78 25 2b |r:P%=P%+1:x%=x%+| 00000b50 33 3a e7 78 25 3d 33 30 78 25 3d 36 3a f2 6d 6f |3:.x%=30x%=6:.mo| 00000b60 76 65 75 70 0d 02 b2 0b 20 f2 61 72 72 6f 77 0d |veup.... .arrow.| 00000b70 02 bc 33 20 e7 6f 70 74 25 3d 31 33 38 80 50 25 |..3 .opt%=138.P%| 00000b80 3c 26 46 38 20 f2 6e 6f 61 72 72 3a 50 25 3d 50 |<&F8 .noarr:P%=P| 00000b90 25 2b 38 3a f2 6d 6f 76 65 75 70 3a f2 61 72 72 |%+8:.moveup:.arr| 00000ba0 6f 77 0d 02 c6 33 20 e7 6f 70 74 25 3d 31 33 39 |ow...3 .opt%=139| 00000bb0 80 50 25 3e 37 20 f2 6e 6f 61 72 72 3a 50 25 3d |.P%>7 .noarr:P%=| 00000bc0 50 25 2d 38 3a f2 6d 6f 76 65 64 6f 77 6e 3a f2 |P%-8:.movedown:.| 00000bd0 61 72 72 6f 77 0d 02 d0 3a 20 e7 6f 70 74 25 3d |arrow...: .opt%=| 00000be0 31 84 6f 70 74 25 3d 38 49 25 3d 6f 70 74 25 81 |1.opt%=8I%=opt%.| 00000bf0 38 3a f1 bd 32 36 8a 38 2c 32 29 49 24 28 49 25 |8:..26.8,2)I$(I%| 00000c00 29 3a ef 32 38 2c 30 2c 32 34 2c 33 39 2c 34 0d |):.28,0,24,39,4.| 00000c10 02 da 1b 20 e7 6f 70 74 25 3d 31 33 35 80 a6 28 |... .opt%=135..(| 00000c20 2d 31 29 f2 70 75 74 73 65 63 0d 02 e4 0c 20 fd |-1).putsec.... .| 00000c30 6f 70 74 25 3d 39 0d 02 ee 06 20 e1 0d 02 f8 05 |opt%=9.... .....| 00000c40 3a 0d 03 02 0c 20 dd f2 6e 6f 61 72 72 0d 03 0c |:.... ..noarr...| 00000c50 1c 20 f1 8a 78 25 2c 37 29 22 20 22 3b 8a 78 25 |. ..x%,7)" ";.x%| 00000c60 2b 33 2c 37 29 22 20 22 3b 0d 03 16 06 20 e1 0d |+3,7)" ";.... ..| 00000c70 03 20 05 3a 0d 03 2a 0c 20 dd f2 61 72 72 6f 77 |. .:..*. ..arrow| 00000c80 0d 03 34 1c 20 f1 8a 78 25 2c 37 29 22 5d 22 3b |..4. ..x%,7)"]";| 00000c90 8a 78 25 2b 33 2c 37 29 22 5b 22 3b 0d 03 3e 06 |.x%+3,7)"[";..>.| 00000ca0 20 e1 0d 03 48 05 3a 0d 03 52 0d 20 dd f2 6d 6f | ...H.:..R. ..mo| 00000cb0 76 65 75 70 0d 03 5c 0d 20 ef 33 31 2c 30 2c 32 |veup..\. .31,0,2| 00000cc0 30 0d 03 66 12 20 41 25 3d 50 25 81 38 2a 38 2b |0..f. A%=P%.8*8+| 00000cd0 31 30 34 0d 03 70 10 20 e7 41 25 3e 26 46 38 20 |104..p. .A%>&F8 | 00000ce0 f1 3a e1 0d 03 7a 19 20 f1 27 bd 31 33 31 7e 41 |.:...z. .'.131~A| 00000cf0 25 81 38 2a 38 3b bd 31 33 35 2c 3b 0d 03 84 26 |%.8*8;.135,;...&| 00000d00 20 e3 42 25 3d 73 65 63 6d 65 6d 25 b8 73 65 63 | .B%=secmem%.sec| 00000d10 6d 65 6d 25 2b 37 3a f1 7e 42 25 3f 41 25 2c 3b |mem%+7:.~B%?A%,;| 00000d20 3a ed 0d 03 8e 0a 20 f1 22 20 22 3b 0d 03 98 1a |:..... ." ";....| 00000d30 20 e3 42 25 3d 73 65 63 6d 65 6d 25 b8 73 65 63 | .B%=secmem%.sec| 00000d40 6d 65 6d 25 2b 37 0d 03 a2 3c 20 e7 42 25 3f 41 |mem%+7...< .B%?A| 00000d50 25 3e 33 31 80 42 25 3f 41 25 3c 31 32 37 84 42 |%>31.B%?A%<127.B| 00000d60 25 3f 41 25 3e 31 35 39 80 42 25 3f 41 25 3c 32 |%?A%>159.B%?A%<2| 00000d70 35 36 f1 bd 28 42 25 3f 41 25 29 3b 8b f1 22 2e |56..(B%?A%);..".| 00000d80 22 3b 0d 03 ac 06 20 ed 0d 03 b6 06 20 e1 0d 03 |";.... ..... ...| 00000d90 c0 05 3a 0d 03 ca 0f 20 dd f2 6d 6f 76 65 64 6f |..:.... ..movedo| 00000da0 77 6e 0d 03 d4 08 20 ef 33 30 0d 03 de 11 20 41 |wn.... .30.... A| 00000db0 25 3d 50 25 81 38 2a 38 2d 35 36 0d 03 e8 10 20 |%=P%.8*8-56.... | 00000dc0 e7 41 25 3c 30 20 ef 31 31 3a e1 0d 03 f2 0f 20 |.A%<0 .11:..... | 00000dd0 ef 33 30 3b 31 31 3b 31 33 31 0d 03 fc 13 20 f1 |.30;11;131.... .| 00000de0 7e 41 25 81 38 2a 38 bd 31 33 35 2c 3b 0d 04 06 |~A%.8*8.135,;...| 00000df0 38 20 43 25 3d 36 3a e3 42 25 3d 73 65 63 6d 65 |8 C%=6:.B%=secme| 00000e00 6d 25 b8 73 65 63 6d 65 6d 25 2b 37 3a f1 8a 43 |m%.secmem%+7:..C| 00000e10 25 2c 30 29 7e 42 25 3f 41 25 3b 3a 43 25 3d 43 |%,0)~B%?A%;:C%=C| 00000e20 25 2b 33 3a ed 0d 04 10 0a 20 f1 22 20 22 3b 0d |%+3:..... ." ";.| 00000e30 04 1a 1a 20 e3 42 25 3d 73 65 63 6d 65 6d 25 b8 |... .B%=secmem%.| 00000e40 73 65 63 6d 65 6d 25 2b 37 0d 04 24 3c 20 e7 42 |secmem%+7..$< .B| 00000e50 25 3f 41 25 3e 33 31 80 42 25 3f 41 25 3c 31 32 |%?A%>31.B%?A%<12| 00000e60 37 84 42 25 3f 41 25 3e 31 35 39 80 42 25 3f 41 |7.B%?A%>159.B%?A| 00000e70 25 3c 32 35 36 f1 bd 28 42 25 3f 41 25 29 3b 8b |%<256..(B%?A%);.| 00000e80 f1 22 2e 22 3b 0d 04 2e 06 20 ed 0d 04 38 06 20 |.".";.... ...8. | 00000e90 e1 0d 04 42 05 3a 0d 04 4c 11 20 dd a4 66 69 6c |...B.:..L. ..fil| 00000ea0 65 73 79 73 74 65 6d 0d 04 56 6c 20 41 25 3d 30 |esystem..Vl A%=0| 00000eb0 3a 59 25 3d 30 3a 46 25 3d ba 28 6f 73 61 72 67 |:Y%=0:F%=.(osarg| 00000ec0 73 29 80 26 46 46 3a e7 46 25 3d 38 20 3d 22 41 |s).&FF:.F%=8 ="A| 00000ed0 44 46 53 22 20 8b e7 46 25 3d 34 20 3d 22 44 46 |DFS" ..F%=4 ="DF| 00000ee0 53 22 20 8b 20 f1 bd 31 33 31 bd 31 33 36 bd 37 |S" . ..131.136.7| 00000ef0 22 42 41 44 20 46 49 4c 49 4e 47 20 53 59 53 54 |"BAD FILING SYST| 00000f00 45 4d 22 3a 41 25 3d a4 61 6e 79 6b 65 79 3a 3d |EM":A%=.anykey:=| 00000f10 22 58 22 0d 04 60 05 3a 0d 04 6a 14 20 dd f2 63 |"X"..`.:..j. ..c| 00000f20 65 6e 74 72 65 28 41 24 2c 59 25 29 0d 04 74 17 |entre(A$,Y%)..t.| 00000f30 20 f1 8a 31 38 2d a9 41 24 2f 32 2c 59 25 29 3b | ..18-.A$/2,Y%);| 00000f40 41 24 3b 0d 04 7e 06 20 e1 0d 04 88 05 3a 0d 04 |A$;..~. .....:..| 00000f50 92 09 20 dd f2 6f 73 0d 04 9c 21 20 db 3a f1 bd |.. ..os...! .:..| 00000f60 31 33 31 22 45 6e 74 65 72 20 4f 2e 53 2e 20 63 |131"Enter O.S. c| 00000f70 6f 6d 6d 61 6e 64 3b 22 0d 04 a6 06 20 f5 0d 04 |ommand;".... ...| 00000f80 b0 1f 20 e8 22 2a 22 41 24 3a ff 28 41 24 29 3a |.. ."*"A$:.(A$):| 00000f90 41 24 3d bd 28 a4 61 6e 79 6b 65 79 29 0d 04 ba |A$=.(.anykey)...| 00000fa0 0d 20 fd 41 24 3c 3e 22 2a 22 0d 04 c4 06 20 e1 |. .A$<>"*".... .| 00000fb0 0d 04 ce 05 3a 0d 04 d8 0b 20 dd f2 6a 75 6d 70 |....:.... ..jump| 00000fc0 0d 04 e2 06 20 db 0d 04 ec 27 20 f1 bd 31 33 31 |.... ....' ..131| 00000fd0 22 45 6e 74 65 72 20 74 72 61 63 6b 20 6e 75 6d |"Enter track num| 00000fe0 62 65 72 3b 22 3a e8 74 72 61 63 6b 25 0d 04 f6 |ber;":.track%...| 00000ff0 29 20 f1 bd 31 33 31 22 45 6e 74 65 72 20 73 65 |) ..131"Enter se| 00001000 63 74 6f 72 20 6e 75 6d 62 65 72 3b 22 3a e8 73 |ctor number;":.s| 00001010 65 63 74 6f 72 25 0d 05 00 06 20 e1 0d 05 0a 05 |ector%.... .....| 00001020 3a 0d 05 14 14 20 dd f2 67 65 74 73 65 63 28 54 |:.... ..getsec(T| 00001030 25 2c 53 25 29 0d 05 1e 7a 20 e7 20 66 69 6c 65 |%,S%)...z . file| 00001040 24 3d 22 44 46 53 22 20 3f 26 37 30 3d 64 72 69 |$="DFS" ?&70=dri| 00001050 76 65 25 3a 21 26 37 31 3d 73 65 63 6d 65 6d 25 |ve%:!&71=secmem%| 00001060 3a 3f 26 37 35 3d 33 3a 3f 26 37 36 3d 26 35 33 |:?&75=3:?&76=&53| 00001070 3a 3f 26 37 37 3d 54 25 3a 3f 26 37 38 3d 53 25 |:?&77=T%:?&78=S%| 00001080 3a 3f 26 37 39 3d 33 33 3a 58 25 3d 26 37 30 3a |:?&79=33:X%=&70:| 00001090 59 25 3d 30 3a 41 25 3d 26 37 46 3a d6 6f 73 77 |Y%=0:A%=&7F:.osw| 000010a0 6f 72 64 3a f2 64 66 73 65 72 72 6f 72 3a e1 0d |ord:.dfserror:..| 000010b0 05 28 97 20 e7 20 66 69 6c 65 24 3d 22 41 44 46 |.(. . file$="ADF| 000010c0 53 22 20 3f 26 37 30 3d 30 3a 21 26 37 31 3d 73 |S" ?&70=0:!&71=s| 000010d0 65 63 6d 65 6d 25 3a 3f 26 37 35 3d 26 30 38 3a |ecmem%:?&75=&08:| 000010e0 3f 26 37 36 3d 30 3a 61 62 73 73 65 63 25 3d 54 |?&76=0:abssec%=T| 000010f0 25 2a 31 36 2b 53 25 3a 3f 26 37 37 3d 61 62 73 |%*16+S%:?&77=abs| 00001100 73 65 63 25 81 32 35 36 3a 3f 26 37 38 3d 61 62 |sec%.256:?&78=ab| 00001110 73 73 65 63 25 83 32 35 36 3a 3f 26 37 39 3d 31 |ssec%.256:?&79=1| 00001120 3a 58 25 3d 26 37 30 3a 59 25 3d 30 3a 41 25 3d |:X%=&70:Y%=0:A%=| 00001130 26 37 32 3a d6 6f 73 77 6f 72 64 3a f2 61 64 66 |&72:.osword:.adf| 00001140 73 65 72 72 6f 72 0d 05 32 06 20 e1 0d 05 3c 05 |serror..2. ...<.| 00001150 3a 0d 05 46 0d 20 dd f2 70 75 74 73 65 63 0d 05 |:..F. ..putsec..| 00001160 50 83 20 e7 20 66 69 6c 65 24 3d 22 44 46 53 22 |P. . file$="DFS"| 00001170 20 3f 26 37 30 3d 64 72 69 76 65 25 3a 21 26 37 | ?&70=drive%:!&7| 00001180 31 3d 73 65 63 6d 65 6d 25 3a 3f 26 37 35 3d 33 |1=secmem%:?&75=3| 00001190 3a 3f 26 37 36 3d 26 34 42 3a 3f 26 37 37 3d 74 |:?&76=&4B:?&77=t| 000011a0 72 61 63 6b 25 3a 3f 26 37 38 3d 73 65 63 74 6f |rack%:?&78=secto| 000011b0 72 25 3a 3f 26 37 39 3d 33 33 3a 58 25 3d 26 37 |r%:?&79=33:X%=&7| 000011c0 30 3a 59 25 3d 30 3a 41 25 3d 26 37 46 3a d6 6f |0:Y%=0:A%=&7F:.o| 000011d0 73 77 6f 72 64 3a f2 64 66 73 65 72 72 6f 72 3a |sword:.dfserror:| 000011e0 e1 0d 05 5a 66 20 e7 74 72 61 63 6b 25 3d 30 80 |...Zf .track%=0.| 000011f0 73 65 63 74 6f 72 25 3d 30 84 73 65 63 74 6f 72 |sector%=0.sector| 00001200 25 3d 31 20 ef 32 36 3a f1 8a 30 2c 33 29 bd 31 |%=1 .26:..0,3).1| 00001210 33 31 bd 37 bd 31 33 36 22 52 65 2d 63 61 6c 63 |31.7.136"Re-calc| 00001220 75 6c 61 74 65 20 63 68 65 63 6b 73 75 6d 3f 28 |ulate checksum?(| 00001230 59 2f 4e 29 22 3b 3a e7 a5 3c 3e 37 38 20 d6 63 |Y/N)";:..<>78 .c| 00001240 68 65 63 6b 73 75 6d 0d 05 64 2f 20 ef 32 36 3a |hecksum..d/ .26:| 00001250 f1 8a 30 2c 33 29 c4 33 39 2c 22 20 22 29 3b 3a |..0,3).39," ");:| 00001260 ef 32 38 2c 30 2c 32 34 2c 33 39 2c 34 3a f2 73 |.28,0,24,39,4:.s| 00001270 68 6f 77 73 65 63 0d 05 6e 9a 20 3f 26 37 30 3d |howsec..n. ?&70=| 00001280 30 3a 21 26 37 31 3d 73 65 63 6d 65 6d 25 3a 3f |0:!&71=secmem%:?| 00001290 26 37 35 3d 26 30 41 3a 3f 26 37 36 3d 30 3a 61 |&75=&0A:?&76=0:a| 000012a0 62 73 73 65 63 25 3d 74 72 61 63 6b 25 2a 31 36 |bssec%=track%*16| 000012b0 2b 73 65 63 74 6f 72 25 3a 3f 26 37 37 3d 61 62 |+sector%:?&77=ab| 000012c0 73 73 65 63 25 81 32 35 36 3a 3f 26 37 38 3d 61 |ssec%.256:?&78=a| 000012d0 62 73 73 65 63 25 83 32 35 36 3a 3f 26 37 39 3d |bssec%.256:?&79=| 000012e0 31 3a 21 26 37 42 3d 32 35 36 3a 58 25 3d 26 37 |1:!&7B=256:X%=&7| 000012f0 30 3a 59 25 3d 30 3a 41 25 3d 26 37 32 3a d6 6f |0:Y%=0:A%=&72:.o| 00001300 73 77 6f 72 64 3a f2 61 64 66 73 65 72 72 6f 72 |sword:.adfserror| 00001310 0d 05 78 06 20 e1 0d 05 82 05 3a 0d 05 8c 0e 20 |..x. .....:.... | 00001320 dd f2 73 68 6f 77 73 65 63 0d 05 96 14 20 db 3a |..showsec.... .:| 00001330 50 25 3d 2d 38 3a f1 8a 30 2c 36 29 3b 0d 05 a0 |P%=-8:..0,6);...| 00001340 1e 20 e3 41 25 3d 73 65 63 6d 65 6d 25 b8 73 65 |. .A%=secmem%.se| 00001350 63 6d 65 6d 25 2b 31 30 34 88 38 0d 05 aa 1d 20 |cmem%+104.8.... | 00001360 50 25 3d 50 25 2b 38 3a f1 27 bd 31 33 31 7e 50 |P%=P%+8:.'.131~P| 00001370 25 3b bd 31 33 35 2c 3b 0d 05 b4 1a 20 e3 42 25 |%;.135,;.... .B%| 00001380 3d 41 25 b8 41 25 2b 37 3a f1 7e 3f 42 25 2c 3b |=A%.A%+7:.~?B%,;| 00001390 3a ed 0d 05 be 0a 20 f1 22 20 22 3b 0d 05 c8 10 |:..... ." ";....| 000013a0 20 e3 42 25 3d 41 25 b8 41 25 2b 37 0d 05 d2 32 | .B%=A%.A%+7...2| 000013b0 20 e7 3f 42 25 3e 33 31 80 3f 42 25 3c 31 32 37 | .?B%>31.?B%<127| 000013c0 84 3f 42 25 3e 31 35 39 80 3f 42 25 3c 32 35 36 |.?B%>159.?B%<256| 000013d0 f1 bd 28 3f 42 25 29 3b 8b f1 22 2e 22 3b 0d 05 |..(?B%);..".";..| 000013e0 dc 07 20 ed 2c 0d 05 e6 16 20 f1 8a 36 2c 37 29 |.. .,.... ..6,7)| 000013f0 22 5d 22 8a 39 2c 37 29 22 5b 22 0d 05 f0 0e 20 |"]".9,7)"[".... | 00001400 78 25 3d 36 3a 50 25 3d 30 0d 05 fa 06 20 e1 0d |x%=6:P%=0.... ..| 00001410 06 04 05 3a 0d 06 0e 0d 20 dd a4 61 6e 79 6b 65 |...:.... ..anyke| 00001420 79 0d 06 18 1d 20 f1 bd 31 33 31 22 50 72 65 73 |y.... ..131"Pres| 00001430 73 20 61 6e 79 20 6b 65 79 3b 22 3a 3d a5 0d 06 |s any key;":=...| 00001440 22 05 3a 0d 06 2c 0c 20 dd f2 65 72 72 6f 72 0d |".:..,. ..error.| 00001450 06 36 2f 20 f1 27 bd 37 bd 31 33 36 bd 31 33 31 |.6/ .'.7.136.131| 00001460 22 45 52 52 4f 52 3a 22 bd 31 33 35 3b 3a f6 3a |"ERROR:".135;:.:| 00001470 f1 3a 41 25 3d a4 61 6e 79 6b 65 79 3a f9 0d 06 |.:A%=.anykey:...| 00001480 40 05 3a 0d 06 4a 0f 20 dd f2 64 66 73 65 72 72 |@.:..J. ..dfserr| 00001490 6f 72 0d 06 54 13 20 f7 8d 44 7c 46 3a e7 3f 26 |or..T. ..D|F:.?&| 000014a0 37 41 3d 30 e1 0d 06 5e 1b 20 f5 3a f3 41 24 2c |7A=0...^. .:.A$,| 000014b0 41 25 3a fd 41 25 3d 3f 26 37 41 84 41 25 3d 31 |A%:.A%=?&7A.A%=1| 000014c0 0d 06 68 34 20 db 3a f1 27 bd 37 bd 31 33 31 bd |..h4 .:.'.7.131.| 000014d0 31 33 36 22 44 49 53 43 20 45 52 52 4f 52 3b 22 |136"DISC ERROR;"| 000014e0 27 bd 31 33 34 41 24 3a 41 25 3d a4 61 6e 79 6b |'.134A$:A%=.anyk| 000014f0 65 79 3a f9 0d 06 72 06 20 e1 0d 06 7c 8a 20 dc |ey:...r. ...|. .| 00001500 20 43 79 63 6c 69 63 20 72 65 64 75 6e 64 61 6e | Cyclic redundan| 00001510 63 79 20 65 72 72 6f 72 20 28 49 44 29 2c 31 32 |cy error (ID),12| 00001520 2c 43 79 63 6c 69 63 20 72 65 64 75 6e 64 61 6e |,Cyclic redundan| 00001530 63 79 20 65 72 72 6f 72 20 28 64 61 74 61 29 2c |cy error (data),| 00001540 31 34 2c 54 72 61 63 6b 20 30 20 6e 6f 74 20 66 |14,Track 0 not f| 00001550 6f 75 6e 64 2c 32 30 2c 57 72 69 74 65 20 66 61 |ound,20,Write fa| 00001560 75 6c 74 2c 32 32 2c 53 65 63 74 6f 72 20 6e 6f |ult,22,Sector no| 00001570 74 20 66 6f 75 6e 64 2c 32 34 2c 55 6e 6b 6e 6f |t found,24,Unkno| 00001580 77 6e 2c 31 0d 06 86 05 3a 0d 06 90 10 20 dd f2 |wn,1....:.... ..| 00001590 61 64 66 73 65 72 72 6f 72 0d 06 9a 13 20 f7 8d |adfserror.... ..| 000015a0 64 42 46 3a e7 3f 26 37 30 3d 30 e1 0d 06 a4 1b |dBF:.?&70=0.....| 000015b0 20 f5 3a f3 41 24 2c 41 25 3a fd 41 25 3d 3f 26 | .:.A$,A%:.A%=?&| 000015c0 37 30 84 41 25 3d 31 0d 06 ae 34 20 db 3a f1 27 |70.A%=1...4 .:.'| 000015d0 bd 37 bd 31 33 31 bd 31 33 36 22 44 49 53 43 20 |.7.131.136"DISC | 000015e0 45 52 52 4f 52 3b 22 27 bd 31 33 34 41 24 3a 41 |ERROR;"'.134A$:A| 000015f0 25 3d a4 61 6e 79 6b 65 79 3a f9 0d 06 b8 06 20 |%=.anykey:..... | 00001600 e1 0d 06 c2 81 20 dc 20 43 79 63 6c 69 63 20 52 |..... . Cyclic R| 00001610 65 64 75 6e 64 61 6e 63 79 20 63 68 65 63 6b 20 |edundancy check | 00001620 65 72 72 6f 72 2c 37 32 2c 53 65 63 74 6f 72 20 |error,72,Sector | 00001630 6e 6f 74 20 66 6f 75 6e 64 2c 38 30 2c 42 61 64 |not found,80,Bad| 00001640 20 63 6f 6d 6d 61 6e 64 2c 39 36 2c 42 61 64 20 | command,96,Bad | 00001650 61 64 64 72 65 73 73 2c 39 37 2c 56 6f 6c 75 6d |address,97,Volum| 00001660 65 20 65 72 72 6f 72 2c 39 39 2c 42 61 64 20 64 |e error,99,Bad d| 00001670 72 69 76 65 2c 31 30 31 2c 55 6e 6b 6e 6f 77 6e |rive,101,Unknown| 00001680 2c 31 0d 06 cc 05 3a 0d 06 d6 0a 20 dd f2 61 73 |,1....:.... ..as| 00001690 73 0d 06 e0 10 20 e3 70 61 73 73 3d 30 b8 32 88 |s.... .pass=0.2.| 000016a0 32 0d 06 ea 0d 20 50 25 3d 63 6f 64 65 25 0d 06 |2.... P%=code%..| 000016b0 f4 0d 20 5b 4f 50 54 70 61 73 73 0d 06 fe 0e 20 |.. [OPTpass.... | 000016c0 2e 63 68 65 63 6b 73 75 6d 0d 07 08 46 20 4c 44 |.checksum...F LD| 000016d0 41 23 73 65 63 6d 65 6d 25 81 32 35 36 3a 53 54 |A#secmem%.256:ST| 000016e0 41 26 37 31 3a 4c 44 41 23 73 65 63 6d 65 6d 25 |A&71:LDA#secmem%| 000016f0 83 32 35 36 3a 53 54 41 26 37 30 3a 4c 44 41 23 |.256:STA&70:LDA#| 00001700 26 46 46 3a 4c 44 59 23 26 46 45 3a 43 4c 43 0d |&FF:LDY#&FE:CLC.| 00001710 07 12 14 20 2e 61 64 64 3a 41 44 43 28 26 37 30 |... .add:ADC(&70| 00001720 29 2c 59 0d 07 1c 1b 20 50 48 50 3a 44 45 59 3a |),Y.... PHP:DEY:| 00001730 43 50 59 23 26 46 46 3a 42 45 51 6f 75 74 0d 07 |CPY#&FF:BEQout..| 00001740 26 0f 20 50 4c 50 3a 4a 4d 50 61 64 64 0d 07 30 |&. PLP:JMPadd..0| 00001750 18 20 2e 6f 75 74 3a 50 4c 50 3a 53 54 41 28 26 |. .out:PLP:STA(&| 00001760 37 30 29 2c 59 0d 07 3a 0c 20 52 54 53 3a 5d 3a |70),Y..:. RTS:]:| 00001770 ed 0d 07 44 06 20 e1 0d ff |...D. ...| 00001779