Home » Personal collection » Acorn tapes » Electron_User » Electron_User_tape07a_acorn_eu_1990_january.wav » ADFS-ED
ADFS-ED
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 » Personal collection » Acorn tapes » Electron_User » Electron_User_tape07a_acorn_eu_1990_january.wav |
Filename: | ADFS-ED |
Read OK: | ✔ |
File size: | 0FE1 bytes |
Load address: | 2000 |
Exec address: | 1900 |
Duplicates
There are 2 duplicate copies of this file in the archive:
- AEW website » database » database_5_25_discs_Electron-User-7-04_D-E704.ssd » ADFS-ED
- AEW website » database » database_tapes_Electron-User-7-04_EU7-4_E.uef » ADFS-ED
- Personal collection » Acorn tapes » Electron_User » Electron_User_tape07a_acorn_eu_1990_january.wav » ADFS-ED
File contents
10REM ************************** 20REM * ADFS DISC EDITOR * 30REM * Written By Wayne Boyd * 40REM * (c)1989 W.Boyd * 50REM ************************** 60REM VER 1.1 65*ADFS 66*MOUNT 70: MODE0: PROCsetup: PROCtitle: REPEAT 120 PROCinput: REPEAT: PROCread: PROCdis: UNTIL happy: happy=FALSE 180 PROCedit 190 PROCcheck: IF load=TRUE THEN load=FALSE:GOTO 120 210 IF write=TRUE THEN write=FALSE ELSE GOTO 180 220 PROCwrite: GOTO 190: UNTIL FALSE: END 260 DEFPROCsetup: happy=FALSE: write=FALSE: load=FALSE: omit=FALSE:VDU 19,0,4;0;:DIM buffer 256:DIM block 16:osword=&FFF1: ENDPROC 360DEFPROCtitle:PRINTSTRING$(80,"*"):PRINTTAB(31)"ADFS DISC EDITOR":PRINT'TAB(27)" Written By Wayne G Boyd ":PRINT'STRING$(80,"*"):VDU28,1,31,79,25: PRINT'':CLS: ENDPROC 420DEFPROCread:IF da$="" da$="00" 440dadd=EVAL("&"+da$):?block=0 :REM error number 460block!1=buffer :REM load address 470block?5=8 :REM read command 480block?6=0 :REM disc address MSB 1st 490block?7=dadd DIV 256:block?8=dadd MOD 256:block?9=1 :REM 1 sector 520block?10=0 :REM unused 530A%=&72:X%=block MOD 256:Y%=block DIV 256:CALL osword:IF ?block>0 PRINT"Disc error":END 580@%=&000904:ENDPROC 600 DEFPROCmaindis:cu=0:FOR I%=1 TO 16:a$="":PRINT" ";:FOR K%=1 TO 16:cu=cu+1:byte=?(buffer+cu):IF byte<32 OR byte>126 THEN a$=a$+"." ELSE a$=a$+CHR$(byte) 710PRINT" ";~byte DIV 16;~byte MOD 16;: NEXT: PRINT" ";a$: NEXT:ENDPROC 760DEFPROCdis:VDU28,0,24,79,8: CLS:PROCmaindis:VDU28,1,31,79,25:CLS:PRINT" Enter new sector address : &";:PRINT" OR USE THE CURSOR KEYS": *FX4,1 830PRINTSPC(47)" TO ADJUST THE SECTOR":PRINTSPC(47)" USE ONLY THE UP & DOWN":PRINTSPC(47)" CORSOR KEYS":PRINTSPC(47)" 'H' When happy.":PRINTTAB(2,2)"Sector address : ";dadd;" / &";STR$~dadd:PRINTTAB(2,3)"Track : ";dadd DIV 16:PRINTTAB(2,4)"sector : ";dadd MOD 16 900PRINTTAB(29,0);" ";:PRINTTAB(29,0);:G$=GET$: IF ASC(G$)=135 THEN back=TRUE:PROCprintout 930 IF G$="H" THEN happy=TRUE:ENDPROC 940 IF ASC(G$)=138 THEN dadd=dadd-1:da$=STR$~dadd:ENDPROC 950 IF ASC(G$)=139 THEN dadd=dadd+1:da$=STR$~dadd:ENDPROC 960 IF ASC(G$)<48 OR ASC(G$)>70 THEN GOTO 900 970PRINTG$;:GG$=GET$:IF ASC(GG$)=13 THEN GGG$="":GOTO 1030 1000 PRINTGG$;:GGG$=GET$: PRINTGGG$; 1030 da$=G$+GG$+GGG$: ENDPROC 1050DEFPROCinput: VDU28,0,24,79,8: CLS: PRINTTAB(3,5)" By pressing the [COPY] key in the EDITOR or the SEARCHER sections of this ": PRINTTAB(2,6)" program you will get a print out of the sector being worked on at that time": VDU28,1,31,79,25:CLS 1110INPUT ''"Enter the sector address : &"da$:ENDPROC 1130DEFPROCedit_controls: PRINTTAB(0,0)SPC(80):PRINTTAB(40,1)SPC(40):PRINTTAB(40,2)SPC(40):PRINTTAB(40,3)SPC(40):PRINTTAB(40,4)SPC(40):PRINTTAB(40,0)" ....EDIT....":PRINTTAB(40,2)" Use cursor keys to ":PRINTTAB(40,3)" move cursor and enter":PRINTTAB(40,4)" the values required":PRINTTAB(40,5)" [RETURN] when happy": ENDPROC 1210 DEFPROCasc_ch: yy=(total-1) DIV 16: col=(total-1) MOD 16: xx=6+col-2+(col*2): PRINTTAB(xx,yy);~G DIV 16;~G MOD 16;: ENDPROC 1270DEFPROCsnd 1280GG=GET:IF GG>47 AND GG<71 THEN ELSE GOTO 1280 1300PRINTCHR$(GG);:input$=CHR$(G)+CHR$(GG):input=EVAL("&"+input$): xx=((x-4)DIV 3)-1+56: yy=y: yval=y*16:xval=xx-55:total=yval+xval+1:?(buffer+total)=input: IF input>31 AND input<127 THEN PRINTTAB(xx,yy);CHR$(input); ELSE PRINTTAB(xx,yy);"."; 1370 ENDPROC 1380DEFPROCedit:PROCedit_controls: x=4:y=0:VDU28,0,24,79,8: st=3: chr=FALSE:REPEAT:PRINTTAB(x,y);:G=GET:IF G=135 THEN back=FALSE:PROCprintout 1480 IF G=13 THEN ENDPROC 1490IF G=138 THEN y=y+1 1500IF G=139 THEN y=y-1 1510IF G=137 THEN x=x+st 1520IF G=136 THEN x=x-st 1530IF x<4 THEN x=49 1540IF x>49 AND chr=FALSE THEN x=55:chr=TRUE:st=1 1550IF x<55 AND chr=TRUE THEN x=49:chr=FALSE:st=3 1560IF x>70 AND chr=TRUE THEN x=55 1570IF y>15 THEN y=0 1580IF y<0 THEN y=15 1590 PRINTTAB(x,y);: IF chr=TRUE AND G>31 AND G<127 THEN PRINTCHR$(G);:yval=y*16:xval=x-55:total=yval+xval+1:?(buffer+total)=G:PROCasc_ch:x=x+1:PRINTTAB(x,y); 1610 IF chr=FALSE AND G>47 AND G<71 THEN PRINTCHR$(G);:PROCsnd:x=x+3:PRINTTAB(x,y); 1620 UNTIL FALSE 1630DEFPROCcheck:VDU28,1,31,79,25:PRINTTAB(0,0)SPC(80):PRINTTAB(40,1)SPC(40):PRINTTAB(40,2)SPC(40):PRINTTAB(40,3)SPC(40):PRINTTAB(40,4)SPC(40):PRINTTAB(40,5)SPC(38): IF omit=TRUE THEN omit=FALSE:GOTO 1740 1670 PRINTTAB(47,2)"DO YOU WANT TO WRITE": PRINTTAB(47,3)"THIS SECTOR TO THE ": PRINTTAB(47,4)"DISC (Y/N) :";:G$=GET$:IF G$="Y" THEN write=TRUE:PRINT"YES":ENDPROC 1720PRINT"NO":PRINTTAB(0,0)SPC(80):PRINTTAB(40,1)SPC(40):PRINTTAB(40,2)SPC(40):PRINTTAB(40,3)SPC(40):PRINTTAB(40,4)SPC(40):PRINTTAB(40,5)SPC(38) 1740PRINTTAB(40,0)" You can now choose to :-":PRINTTAB(40,2)" 1. RE-EDIT SECTOR":PRINTTAB(40,3)" 2. LOAD NEW SECTOR":PRINTTAB(40,4)" 3. QUIT PROGRAM":PRINTTAB(40,5)" :"; 1790G$=GET$:IF G$="1" THEN load=FALSE:write=FALSE:ENDPROC 1810IF G$="2" THEN load=TRUE:write=FALSE:ENDPROC 1820IF G$="3" THEN CALL!-4 1830GOTO 1790:ENDPROC 1850DEFPROCwrite:?block=0:block!1=buffer:block?5=10:block?6=0:block?7=dadd DIV 256:block?8=dadd MOD 256:block?9=1:block?10=0:A%=&72:X%=block MOD 256:Y%=block DIV 256:CALL osword:IF ?block>0 PRINT"Disc error":END 1990 omit=TRUE:ENDPROC 2010DEFPROCprintout: VDU28,0,24,79,8: VDU2: PRINT'" SECTOR : &";STR$~dadd: PROCmaindis: PRINT: VDU3: CLS:PROCmaindis: IF back=TRUE THEN VDU28,1,31,79,25 2070 ENDPROC
"� ************************** !� * ADFS DISC EDITOR * !� * Written By Wayne Boyd * (!� * (c)1989 W.Boyd * 2!� ************************** <� VER 1.1 A *ADFS B *MOUNT F: �0: �setup: �title: � x- �input: �: �read: �dis: � happy: happy=� � �edit �& �check: � load=� � load=�:� �Dx@ �! � write=� � write=� � � �tt@ � �write: � �t~@: � �: � b ��setup: happy=�: write=�: load=�: omit=�:� 19,0,4;0;:� buffer 256:� block 16:osword=&FFF1: � hs��title:��80,"*"):�31)"ADFS DISC EDITOR":�'�27)" Written By Wayne G Boyd ":�'�80,"*"):�28,1,31,79,25: �'':�: � ���read:� da$="" da$="00" �,dadd=�("&"+da$):?block=0 :� error number �"block!1=buffer :� load address �block?5=8 :� read command �%block?6=0 :� disc address MSB 1st �?block?7=dadd � 256:block?8=dadd � 256:block?9=1 :� 1 sector block?10=0 :� unused LA%=&72:X%=block � 256:Y%=block � 256:� osword:� ?block>0 �"Disc error":� D@%=&000904:� X� ��maindis:cu=0:� I%=1 � 16:a$="":�" ";:� K%=1 � 16:cu=cu+1:byte=?(buffer+cu):� byte<32 � byte>126 � a$=a$+"." � a$=a$+�(byte) �3�" ";~byte � 16;~byte � 16;: �: �" ";a$: �:� ����dis:�28,0,24,79,8: �:�maindis:�28,1,31,79,25:�:�" Enter new sector address : &";:�" OR USE THE CURSOR KEYS": *FX4,1 >��(47)" TO ADJUST THE SECTOR":�(47)" USE ONLY THE UP & DOWN":�(47)" CORSOR KEYS":�(47)" 'H' When happy.":�2,2)"Sector address : ";dadd;" / &";�~dadd:�2,3)"Track : ";dadd � 16:�2,4)"sector : ";dadd � 16 �@�29,0);" ";:�29,0);:G$=�: � �(G$)=135 � back=�:�printout � � G$="H" � happy=�:� �+ � �(G$)=138 � dadd=dadd-1:da$=�~dadd:� �, � �(G$)=139 � dadd=dadd+1:da$=�~dadd:� �# � �(G$)<48 � �(G$)>70 � � �tDC �+�G$;:GG$=�:� �(GG$)=13 � GGG$="":� �TFD � �GG$;:GGG$=�: �GGG$; da$=G$+GG$+GGG$: � ���input: �28,0,24,79,8: �: �3,5)" By pressing the [COPY] key in the EDITOR or the SEARCHER sections of this ": �2,6)" program you will get a print out of the sector being worked on at that time": �28,1,31,79,25:� V+� ''"Enter the sector address : &"da$:� j���edit_controls: �0,0)�(80):�40,1)�(40):�40,2)�(40):�40,3)�(40):�40,4)�(40):�40,0)" ....EDIT....":�40,2)" Use cursor keys to ":�40,3)" move cursor and enter":�40,4)" the values required":�40,5)" [RETURN] when happy": � �f ��asc_ch: yy=(total-1) � 16: col=(total-1) � 16: xx=6+col-2+(col*2): �xx,yy);~G � 16;~G � 16;: � � ��snd #GG=�:� GG>47 � GG<71 � � � �T@E ��(GG);:input$=�(G)+�(GG):input=�("&"+input$): xx=((x-4)� 3)-1+56: yy=y: yval=y*16:xval=xx-55:total=yval+xval+1:?(buffer+total)=input: � input>31 � input<127 � �xx,yy);�(input); � �xx,yy);"."; Z � df��edit:�edit_controls: x=4:y=0:�28,0,24,79,8: st=3: chr=�:�:�x,y);:G=�:� G=135 � back=�:�printout � � G=13 � � �� G=138 � y=y+1 �� G=139 � y=y-1 �� G=137 � x=x+st �� G=136 � x=x-st �� x<4 � x=49 &� x>49 � chr=� � x=55:chr=�:st=1 $� x<55 � chr=� � x=49:chr=�:st=3 � x>70 � chr=� � x=55 "� y>15 � y=0 ,� y<0 � y=15 6{ �x,y);: � chr=� � G>31 � G<127 � �(G);:yval=y*16:xval=x-55:total=yval+xval+1:?(buffer+total)=G:�asc_ch:x=x+1:�x,y); J6 � chr=� � G>47 � G<71 � �(G);:�snd:x=x+3:�x,y); T � � ^���check:�28,1,31,79,25:�0,0)�(80):�40,1)�(40):�40,2)�(40):�40,3)�(40):�40,4)�(40):�40,5)�(38): � omit=� � omit=�:� �dLF �| �47,2)"DO YOU WANT TO WRITE": �47,3)"THIS SECTOR TO THE ": �47,4)"DISC (Y/N) :";:G$=�:� G$="Y" � write=�:�"YES":� �V�"NO":�0,0)�(80):�40,1)�(40):�40,2)�(40):�40,3)�(40):�40,4)�(40):�40,5)�(38) ̋�40,0)" You can now choose to :-":�40,2)" 1. RE-EDIT SECTOR":�40,3)" 2. LOAD NEW SECTOR":�40,4)" 3. QUIT PROGRAM":�40,5)" :"; �$G$=�:� G$="1" � load=�:write=�:� � G$="2" � load=�:write=�:� � G$="3" � �!-4 &� �d~F:� :���write:?block=0:block!1=buffer:block?5=10:block?6=0:block?7=dadd � 256:block?8=dadd � 256:block?9=1:block?10=0:A%=&72:X%=block � 256:Y%=block � 256:� osword:� ?block>0 �"Disc error":� � omit=�:� �t��printout: �28,0,24,79,8: �2: �'" SECTOR : &";�~dadd: �maindis: �: �3: �:�maindis: � back=� � �28,1,31,79,25 � �
00000000 0d 00 0a 22 f4 20 20 2a 2a 2a 2a 2a 2a 2a 2a 2a |...". *********| 00000010 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| 00000020 2a 20 0d 00 14 21 f4 20 20 2a 20 20 20 20 41 44 |* ...!. * AD| 00000030 46 53 20 44 49 53 43 20 45 44 49 54 4f 52 20 20 |FS DISC EDITOR | 00000040 20 20 2a 0d 00 1e 21 f4 20 20 2a 20 57 72 69 74 | *...!. * Writ| 00000050 74 65 6e 20 42 79 20 20 57 61 79 6e 65 20 42 6f |ten By Wayne Bo| 00000060 79 64 20 2a 0d 00 28 21 f4 20 20 2a 20 20 20 20 |yd *..(!. * | 00000070 20 28 63 29 31 39 38 39 20 57 2e 42 6f 79 64 20 | (c)1989 W.Boyd | 00000080 20 20 20 20 2a 0d 00 32 21 f4 20 20 2a 2a 2a 2a | *..2!. ****| 00000090 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| 000000a0 2a 2a 2a 2a 2a 2a 0d 00 3c 16 f4 20 20 20 20 20 |******..<.. | 000000b0 20 20 20 20 20 56 45 52 20 31 2e 31 0d 00 41 09 | VER 1.1..A.| 000000c0 2a 41 44 46 53 0d 00 42 0a 2a 4d 4f 55 4e 54 0d |*ADFS..B.*MOUNT.| 000000d0 00 46 1b 3a 20 eb 30 3a 20 f2 73 65 74 75 70 3a |.F.: .0: .setup:| 000000e0 20 f2 74 69 74 6c 65 3a 20 f5 0d 00 78 2d 20 f2 | .title: ...x- .| 000000f0 69 6e 70 75 74 3a 20 f5 3a 20 f2 72 65 61 64 3a |input: .: .read:| 00000100 20 f2 64 69 73 3a 20 fd 20 68 61 70 70 79 3a 20 | .dis: . happy: | 00000110 68 61 70 70 79 3d a3 0d 00 b4 0a 20 f2 65 64 69 |happy=..... .edi| 00000120 74 0d 00 be 26 20 f2 63 68 65 63 6b 3a 20 e7 20 |t...& .check: . | 00000130 6c 6f 61 64 3d b9 20 8c 20 6c 6f 61 64 3d a3 3a |load=. . load=.:| 00000140 e5 20 8d 44 78 40 20 0d 00 d2 21 20 e7 20 77 72 |. .Dx@ ...! . wr| 00000150 69 74 65 3d b9 20 8c 20 77 72 69 74 65 3d a3 20 |ite=. . write=. | 00000160 8b 20 e5 20 8d 74 74 40 0d 00 dc 1b 20 f2 77 72 |. . .tt@.... .wr| 00000170 69 74 65 3a 20 e5 20 8d 74 7e 40 3a 20 fd 20 a3 |ite: . .t~@: . .| 00000180 3a 20 e0 0d 01 04 62 20 dd f2 73 65 74 75 70 3a |: ....b ..setup:| 00000190 20 68 61 70 70 79 3d a3 3a 20 77 72 69 74 65 3d | happy=.: write=| 000001a0 a3 3a 20 6c 6f 61 64 3d a3 3a 20 6f 6d 69 74 3d |.: load=.: omit=| 000001b0 a3 3a ef 20 31 39 2c 30 2c 34 3b 30 3b 3a de 20 |.:. 19,0,4;0;:. | 000001c0 62 75 66 66 65 72 20 32 35 36 3a de 20 62 6c 6f |buffer 256:. blo| 000001d0 63 6b 20 31 36 3a 6f 73 77 6f 72 64 3d 26 46 46 |ck 16:osword=&FF| 000001e0 46 31 3a 20 e1 0d 01 68 73 dd f2 74 69 74 6c 65 |F1: ...hs..title| 000001f0 3a f1 c4 38 30 2c 22 2a 22 29 3a f1 8a 33 31 29 |:..80,"*"):..31)| 00000200 22 41 44 46 53 20 44 49 53 43 20 45 44 49 54 4f |"ADFS DISC EDITO| 00000210 52 22 3a f1 27 8a 32 37 29 22 20 57 72 69 74 74 |R":.'.27)" Writt| 00000220 65 6e 20 42 79 20 57 61 79 6e 65 20 47 20 42 6f |en By Wayne G Bo| 00000230 79 64 20 22 3a f1 27 c4 38 30 2c 22 2a 22 29 3a |yd ":.'.80,"*"):| 00000240 ef 32 38 2c 31 2c 33 31 2c 37 39 2c 32 35 3a 20 |.28,1,31,79,25: | 00000250 f1 27 27 3a db 3a 20 e1 0d 01 a4 1c dd f2 72 65 |.'':.: .......re| 00000260 61 64 3a e7 20 64 61 24 3d 22 22 20 64 61 24 3d |ad:. da$="" da$=| 00000270 22 30 30 22 0d 01 b8 2c 64 61 64 64 3d a0 28 22 |"00"...,dadd=.("| 00000280 26 22 2b 64 61 24 29 3a 3f 62 6c 6f 63 6b 3d 30 |&"+da$):?block=0| 00000290 20 3a f4 20 65 72 72 6f 72 20 6e 75 6d 62 65 72 | :. error number| 000002a0 0d 01 cc 22 62 6c 6f 63 6b 21 31 3d 62 75 66 66 |..."block!1=buff| 000002b0 65 72 20 3a f4 20 6c 6f 61 64 20 61 64 64 72 65 |er :. load addre| 000002c0 73 73 0d 01 d6 1d 62 6c 6f 63 6b 3f 35 3d 38 20 |ss....block?5=8 | 000002d0 3a f4 20 72 65 61 64 20 63 6f 6d 6d 61 6e 64 0d |:. read command.| 000002e0 01 e0 25 62 6c 6f 63 6b 3f 36 3d 30 20 3a f4 20 |..%block?6=0 :. | 000002f0 64 69 73 63 20 61 64 64 72 65 73 73 20 4d 53 42 |disc address MSB| 00000300 20 31 73 74 0d 01 ea 3f 62 6c 6f 63 6b 3f 37 3d | 1st...?block?7=| 00000310 64 61 64 64 20 81 20 32 35 36 3a 62 6c 6f 63 6b |dadd . 256:block| 00000320 3f 38 3d 64 61 64 64 20 83 20 32 35 36 3a 62 6c |?8=dadd . 256:bl| 00000330 6f 63 6b 3f 39 3d 31 20 3a f4 20 31 20 73 65 63 |ock?9=1 :. 1 sec| 00000340 74 6f 72 0d 02 08 18 62 6c 6f 63 6b 3f 31 30 3d |tor....block?10=| 00000350 30 20 3a f4 20 75 6e 75 73 65 64 0d 02 12 4c 41 |0 :. unused...LA| 00000360 25 3d 26 37 32 3a 58 25 3d 62 6c 6f 63 6b 20 83 |%=&72:X%=block .| 00000370 20 32 35 36 3a 59 25 3d 62 6c 6f 63 6b 20 81 20 | 256:Y%=block . | 00000380 32 35 36 3a d6 20 6f 73 77 6f 72 64 3a e7 20 3f |256:. osword:. ?| 00000390 62 6c 6f 63 6b 3e 30 20 f1 22 44 69 73 63 20 65 |block>0 ."Disc e| 000003a0 72 72 6f 72 22 3a e0 0d 02 44 10 40 25 3d 26 30 |rror":...D.@%=&0| 000003b0 30 30 39 30 34 3a e1 0d 02 58 86 20 dd f2 6d 61 |00904:...X. ..ma| 000003c0 69 6e 64 69 73 3a 63 75 3d 30 3a e3 20 49 25 3d |indis:cu=0:. I%=| 000003d0 31 20 b8 20 31 36 3a 61 24 3d 22 22 3a f1 22 20 |1 . 16:a$="":." | 000003e0 20 20 22 3b 3a e3 20 4b 25 3d 31 20 b8 20 31 36 | ";:. K%=1 . 16| 000003f0 3a 63 75 3d 63 75 2b 31 3a 62 79 74 65 3d 3f 28 |:cu=cu+1:byte=?(| 00000400 62 75 66 66 65 72 2b 63 75 29 3a e7 20 62 79 74 |buffer+cu):. byt| 00000410 65 3c 33 32 20 84 20 62 79 74 65 3e 31 32 36 20 |e<32 . byte>126 | 00000420 8c 20 61 24 3d 61 24 2b 22 2e 22 20 8b 20 61 24 |. a$=a$+"." . a$| 00000430 3d 61 24 2b bd 28 62 79 74 65 29 20 20 0d 02 c6 |=a$+.(byte) ...| 00000440 33 f1 22 20 22 3b 7e 62 79 74 65 20 81 20 31 36 |3." ";~byte . 16| 00000450 3b 7e 62 79 74 65 20 83 20 31 36 3b 3a 20 ed 3a |;~byte . 16;: .:| 00000460 20 f1 22 20 20 20 20 22 3b 61 24 3a 20 ed 3a e1 | ." ";a$: .:.| 00000470 0d 02 f8 88 dd f2 64 69 73 3a ef 32 38 2c 30 2c |......dis:.28,0,| 00000480 32 34 2c 37 39 2c 38 3a 20 db 3a f2 6d 61 69 6e |24,79,8: .:.main| 00000490 64 69 73 3a ef 32 38 2c 31 2c 33 31 2c 37 39 2c |dis:.28,1,31,79,| 000004a0 32 35 3a db 3a f1 22 20 45 6e 74 65 72 20 6e 65 |25:.:." Enter ne| 000004b0 77 20 73 65 63 74 6f 72 20 61 64 64 72 65 73 73 |w sector address| 000004c0 20 3a 20 26 22 3b 3a f1 22 20 20 20 20 20 20 20 | : &";:." | 000004d0 20 4f 52 20 20 20 20 20 20 20 20 20 55 53 45 20 | OR USE | 000004e0 54 48 45 20 43 55 52 53 4f 52 20 4b 45 59 53 22 |THE CURSOR KEYS"| 000004f0 3a 20 2a 46 58 34 2c 31 0d 03 3e d3 f1 89 28 34 |: *FX4,1..>...(4| 00000500 37 29 22 20 54 4f 20 41 44 4a 55 53 54 20 54 48 |7)" TO ADJUST TH| 00000510 45 20 53 45 43 54 4f 52 22 3a f1 89 28 34 37 29 |E SECTOR":..(47)| 00000520 22 20 55 53 45 20 4f 4e 4c 59 20 54 48 45 20 55 |" USE ONLY THE U| 00000530 50 20 26 20 44 4f 57 4e 22 3a f1 89 28 34 37 29 |P & DOWN":..(47)| 00000540 22 20 43 4f 52 53 4f 52 20 4b 45 59 53 22 3a f1 |" CORSOR KEYS":.| 00000550 89 28 34 37 29 22 20 27 48 27 20 57 68 65 6e 20 |.(47)" 'H' When | 00000560 68 61 70 70 79 2e 22 3a f1 8a 32 2c 32 29 22 53 |happy.":..2,2)"S| 00000570 65 63 74 6f 72 20 61 64 64 72 65 73 73 20 3a 20 |ector address : | 00000580 22 3b 64 61 64 64 3b 22 20 2f 20 26 22 3b c3 7e |";dadd;" / &";.~| 00000590 64 61 64 64 3a f1 8a 32 2c 33 29 22 54 72 61 63 |dadd:..2,3)"Trac| 000005a0 6b 20 3a 20 22 3b 64 61 64 64 20 81 20 31 36 3a |k : ";dadd . 16:| 000005b0 f1 8a 32 2c 34 29 22 73 65 63 74 6f 72 20 3a 20 |..2,4)"sector : | 000005c0 22 3b 64 61 64 64 20 83 20 31 36 0d 03 84 40 f1 |";dadd . 16...@.| 000005d0 8a 32 39 2c 30 29 3b 22 20 20 20 22 3b 3a f1 8a |.29,0);" ";:..| 000005e0 32 39 2c 30 29 3b 3a 47 24 3d be 3a 20 e7 20 97 |29,0);:G$=.: . .| 000005f0 28 47 24 29 3d 31 33 35 20 8c 20 62 61 63 6b 3d |(G$)=135 . back=| 00000600 b9 3a f2 70 72 69 6e 74 6f 75 74 0d 03 a2 19 20 |.:.printout.... | 00000610 e7 20 47 24 3d 22 48 22 20 8c 20 68 61 70 70 79 |. G$="H" . happy| 00000620 3d b9 3a e1 0d 03 ac 2b 20 e7 20 97 28 47 24 29 |=.:....+ . .(G$)| 00000630 3d 31 33 38 20 8c 20 64 61 64 64 3d 64 61 64 64 |=138 . dadd=dadd| 00000640 2d 31 3a 64 61 24 3d c3 7e 64 61 64 64 3a e1 0d |-1:da$=.~dadd:..| 00000650 03 b6 2c 20 e7 20 97 28 47 24 29 3d 31 33 39 20 |.., . .(G$)=139 | 00000660 8c 20 64 61 64 64 3d 64 61 64 64 2b 31 3a 64 61 |. dadd=dadd+1:da| 00000670 24 3d c3 7e 64 61 64 64 3a e1 20 0d 03 c0 23 20 |$=.~dadd:. ...# | 00000680 e7 20 97 28 47 24 29 3c 34 38 20 84 20 97 28 47 |. .(G$)<48 . .(G| 00000690 24 29 3e 37 30 20 8c 20 e5 20 8d 74 44 43 0d 03 |$)>70 . . .tDC..| 000006a0 ca 2b f1 47 24 3b 3a 47 47 24 3d be 3a e7 20 97 |.+.G$;:GG$=.:. .| 000006b0 28 47 47 24 29 3d 31 33 20 8c 20 47 47 47 24 3d |(GG$)=13 . GGG$=| 000006c0 22 22 3a e5 20 8d 54 46 44 0d 03 e8 19 20 f1 47 |"":. .TFD.... .G| 000006d0 47 24 3b 3a 47 47 47 24 3d be 3a 20 f1 47 47 47 |G$;:GGG$=.: .GGG| 000006e0 24 3b 0d 04 06 17 20 64 61 24 3d 47 24 2b 47 47 |$;.... da$=G$+GG| 000006f0 24 2b 47 47 47 24 3a 20 e1 0d 04 1a da dd f2 69 |$+GGG$: .......i| 00000700 6e 70 75 74 3a 20 ef 32 38 2c 30 2c 32 34 2c 37 |nput: .28,0,24,7| 00000710 39 2c 38 3a 20 db 3a 20 f1 8a 33 2c 35 29 22 20 |9,8: .: ..3,5)" | 00000720 42 79 20 70 72 65 73 73 69 6e 67 20 74 68 65 20 |By pressing the | 00000730 5b 43 4f 50 59 5d 20 6b 65 79 20 69 6e 20 74 68 |[COPY] key in th| 00000740 65 20 45 44 49 54 4f 52 20 6f 72 20 74 68 65 20 |e EDITOR or the | 00000750 53 45 41 52 43 48 45 52 20 73 65 63 74 69 6f 6e |SEARCHER section| 00000760 73 20 6f 66 20 74 68 69 73 20 22 3a 20 f1 8a 32 |s of this ": ..2| 00000770 2c 36 29 22 20 70 72 6f 67 72 61 6d 20 79 6f 75 |,6)" program you| 00000780 20 77 69 6c 6c 20 67 65 74 20 61 20 70 72 69 6e | will get a prin| 00000790 74 20 6f 75 74 20 6f 66 20 74 68 65 20 73 65 63 |t out of the sec| 000007a0 74 6f 72 20 62 65 69 6e 67 20 77 6f 72 6b 65 64 |tor being worked| 000007b0 20 6f 6e 20 61 74 20 74 68 61 74 20 74 69 6d 65 | on at that time| 000007c0 22 3a 20 ef 32 38 2c 31 2c 33 31 2c 37 39 2c 32 |": .28,1,31,79,2| 000007d0 35 3a db 0d 04 56 2b e8 20 27 27 22 45 6e 74 65 |5:...V+. ''"Ente| 000007e0 72 20 74 68 65 20 73 65 63 74 6f 72 20 61 64 64 |r the sector add| 000007f0 72 65 73 73 20 3a 20 26 22 64 61 24 3a e1 0d 04 |ress : &"da$:...| 00000800 6a f1 dd f2 65 64 69 74 5f 63 6f 6e 74 72 6f 6c |j...edit_control| 00000810 73 3a 20 f1 8a 30 2c 30 29 89 28 38 30 29 3a f1 |s: ..0,0).(80):.| 00000820 8a 34 30 2c 31 29 89 28 34 30 29 3a f1 8a 34 30 |.40,1).(40):..40| 00000830 2c 32 29 89 28 34 30 29 3a f1 8a 34 30 2c 33 29 |,2).(40):..40,3)| 00000840 89 28 34 30 29 3a f1 8a 34 30 2c 34 29 89 28 34 |.(40):..40,4).(4| 00000850 30 29 3a f1 8a 34 30 2c 30 29 22 20 20 20 20 20 |0):..40,0)" | 00000860 20 2e 2e 2e 2e 45 44 49 54 2e 2e 2e 2e 22 3a f1 | ....EDIT....":.| 00000870 8a 34 30 2c 32 29 22 20 20 55 73 65 20 63 75 72 |.40,2)" Use cur| 00000880 73 6f 72 20 6b 65 79 73 20 74 6f 20 22 3a f1 8a |sor keys to ":..| 00000890 34 30 2c 33 29 22 20 20 6d 6f 76 65 20 63 75 72 |40,3)" move cur| 000008a0 73 6f 72 20 61 6e 64 20 65 6e 74 65 72 22 3a f1 |sor and enter":.| 000008b0 8a 34 30 2c 34 29 22 20 20 74 68 65 20 76 61 6c |.40,4)" the val| 000008c0 75 65 73 20 72 65 71 75 69 72 65 64 22 3a f1 8a |ues required":..| 000008d0 34 30 2c 35 29 22 20 20 5b 52 45 54 55 52 4e 5d |40,5)" [RETURN]| 000008e0 20 77 68 65 6e 20 68 61 70 70 79 22 3a 20 e1 0d | when happy": ..| 000008f0 04 ba 66 20 dd f2 61 73 63 5f 63 68 3a 20 79 79 |..f ..asc_ch: yy| 00000900 3d 28 74 6f 74 61 6c 2d 31 29 20 81 20 31 36 3a |=(total-1) . 16:| 00000910 20 63 6f 6c 3d 28 74 6f 74 61 6c 2d 31 29 20 83 | col=(total-1) .| 00000920 20 31 36 3a 20 78 78 3d 36 2b 63 6f 6c 2d 32 2b | 16: xx=6+col-2+| 00000930 28 63 6f 6c 2a 32 29 3a 20 f1 8a 78 78 2c 79 79 |(col*2): ..xx,yy| 00000940 29 3b 7e 47 20 81 20 31 36 3b 7e 47 20 83 20 31 |);~G . 16;~G . 1| 00000950 36 3b 3a 20 e1 0d 04 f6 09 dd f2 73 6e 64 0d 05 |6;: .......snd..| 00000960 00 23 47 47 3d a5 3a e7 20 47 47 3e 34 37 20 80 |.#GG=.:. GG>47 .| 00000970 20 47 47 3c 37 31 20 8c 20 8b 20 e5 20 8d 54 40 | GG<71 . . . .T@| 00000980 45 0d 05 14 c6 f1 bd 28 47 47 29 3b 3a 69 6e 70 |E......(GG);:inp| 00000990 75 74 24 3d bd 28 47 29 2b bd 28 47 47 29 3a 69 |ut$=.(G)+.(GG):i| 000009a0 6e 70 75 74 3d a0 28 22 26 22 2b 69 6e 70 75 74 |nput=.("&"+input| 000009b0 24 29 3a 20 78 78 3d 28 28 78 2d 34 29 81 20 33 |$): xx=((x-4). 3| 000009c0 29 2d 31 2b 35 36 3a 20 79 79 3d 79 3a 20 79 76 |)-1+56: yy=y: yv| 000009d0 61 6c 3d 79 2a 31 36 3a 78 76 61 6c 3d 78 78 2d |al=y*16:xval=xx-| 000009e0 35 35 3a 74 6f 74 61 6c 3d 79 76 61 6c 2b 78 76 |55:total=yval+xv| 000009f0 61 6c 2b 31 3a 3f 28 62 75 66 66 65 72 2b 74 6f |al+1:?(buffer+to| 00000a00 74 61 6c 29 3d 69 6e 70 75 74 3a 20 e7 20 69 6e |tal)=input: . in| 00000a10 70 75 74 3e 33 31 20 80 20 69 6e 70 75 74 3c 31 |put>31 . input<1| 00000a20 32 37 20 8c 20 f1 8a 78 78 2c 79 79 29 3b bd 28 |27 . ..xx,yy);.(| 00000a30 69 6e 70 75 74 29 3b 20 8b 20 f1 8a 78 78 2c 79 |input); . ..xx,y| 00000a40 79 29 3b 22 2e 22 3b 0d 05 5a 06 20 e1 0d 05 64 |y);".";..Z. ...d| 00000a50 66 dd f2 65 64 69 74 3a f2 65 64 69 74 5f 63 6f |f..edit:.edit_co| 00000a60 6e 74 72 6f 6c 73 3a 20 78 3d 34 3a 79 3d 30 3a |ntrols: x=4:y=0:| 00000a70 ef 32 38 2c 30 2c 32 34 2c 37 39 2c 38 3a 20 73 |.28,0,24,79,8: s| 00000a80 74 3d 33 3a 20 63 68 72 3d a3 3a f5 3a f1 8a 78 |t=3: chr=.:.:..x| 00000a90 2c 79 29 3b 3a 47 3d a5 3a e7 20 47 3d 31 33 35 |,y);:G=.:. G=135| 00000aa0 20 8c 20 62 61 63 6b 3d a3 3a f2 70 72 69 6e 74 | . back=.:.print| 00000ab0 6f 75 74 0d 05 c8 0f 20 e7 20 47 3d 31 33 20 8c |out.... . G=13 .| 00000ac0 20 e1 0d 05 d2 13 e7 20 47 3d 31 33 38 20 8c 20 | ...... G=138 . | 00000ad0 79 3d 79 2b 31 0d 05 dc 13 e7 20 47 3d 31 33 39 |y=y+1..... G=139| 00000ae0 20 8c 20 79 3d 79 2d 31 0d 05 e6 14 e7 20 47 3d | . y=y-1..... G=| 00000af0 31 33 37 20 8c 20 78 3d 78 2b 73 74 0d 05 f0 14 |137 . x=x+st....| 00000b00 e7 20 47 3d 31 33 36 20 8c 20 78 3d 78 2d 73 74 |. G=136 . x=x-st| 00000b10 0d 05 fa 10 e7 20 78 3c 34 20 8c 20 78 3d 34 39 |..... x<4 . x=49| 00000b20 0d 06 04 26 e7 20 78 3e 34 39 20 80 20 63 68 72 |...&. x>49 . chr| 00000b30 3d a3 20 8c 20 78 3d 35 35 3a 63 68 72 3d b9 3a |=. . x=55:chr=.:| 00000b40 73 74 3d 31 20 20 0d 06 0e 24 e7 20 78 3c 35 35 |st=1 ...$. x<55| 00000b50 20 80 20 63 68 72 3d b9 20 8c 20 78 3d 34 39 3a | . chr=. . x=49:| 00000b60 63 68 72 3d a3 3a 73 74 3d 33 0d 06 18 19 e7 20 |chr=.:st=3..... | 00000b70 78 3e 37 30 20 80 20 63 68 72 3d b9 20 8c 20 78 |x>70 . chr=. . x| 00000b80 3d 35 35 0d 06 22 10 e7 20 79 3e 31 35 20 8c 20 |=55..".. y>15 . | 00000b90 79 3d 30 0d 06 2c 10 e7 20 79 3c 30 20 8c 20 79 |y=0..,.. y<0 . y| 00000ba0 3d 31 35 0d 06 36 7b 20 f1 8a 78 2c 79 29 3b 3a |=15..6{ ..x,y);:| 00000bb0 20 e7 20 63 68 72 3d b9 20 80 20 47 3e 33 31 20 | . chr=. . G>31 | 00000bc0 80 20 47 3c 31 32 37 20 8c 20 f1 bd 28 47 29 3b |. G<127 . ..(G);| 00000bd0 3a 79 76 61 6c 3d 79 2a 31 36 3a 78 76 61 6c 3d |:yval=y*16:xval=| 00000be0 78 2d 35 35 3a 74 6f 74 61 6c 3d 79 76 61 6c 2b |x-55:total=yval+| 00000bf0 78 76 61 6c 2b 31 3a 3f 28 62 75 66 66 65 72 2b |xval+1:?(buffer+| 00000c00 74 6f 74 61 6c 29 3d 47 3a f2 61 73 63 5f 63 68 |total)=G:.asc_ch| 00000c10 3a 78 3d 78 2b 31 3a f1 8a 78 2c 79 29 3b 0d 06 |:x=x+1:..x,y);..| 00000c20 4a 36 20 e7 20 63 68 72 3d a3 20 80 20 47 3e 34 |J6 . chr=. . G>4| 00000c30 37 20 80 20 47 3c 37 31 20 8c 20 f1 bd 28 47 29 |7 . G<71 . ..(G)| 00000c40 3b 3a f2 73 6e 64 3a 78 3d 78 2b 33 3a f1 8a 78 |;:.snd:x=x+3:..x| 00000c50 2c 79 29 3b 0d 06 54 08 20 fd 20 a3 0d 06 5e 81 |,y);..T. . ...^.| 00000c60 dd f2 63 68 65 63 6b 3a ef 32 38 2c 31 2c 33 31 |..check:.28,1,31| 00000c70 2c 37 39 2c 32 35 3a f1 8a 30 2c 30 29 89 28 38 |,79,25:..0,0).(8| 00000c80 30 29 3a f1 8a 34 30 2c 31 29 89 28 34 30 29 3a |0):..40,1).(40):| 00000c90 f1 8a 34 30 2c 32 29 89 28 34 30 29 3a f1 8a 34 |..40,2).(40):..4| 00000ca0 30 2c 33 29 89 28 34 30 29 3a f1 8a 34 30 2c 34 |0,3).(40):..40,4| 00000cb0 29 89 28 34 30 29 3a f1 8a 34 30 2c 35 29 89 28 |).(40):..40,5).(| 00000cc0 33 38 29 3a 20 e7 20 6f 6d 69 74 3d b9 20 8c 20 |38): . omit=. . | 00000cd0 6f 6d 69 74 3d a3 3a e5 20 8d 64 4c 46 0d 06 86 |omit=.:. .dLF...| 00000ce0 7c 20 f1 8a 34 37 2c 32 29 22 44 4f 20 59 4f 55 || ..47,2)"DO YOU| 00000cf0 20 57 41 4e 54 20 54 4f 20 57 52 49 54 45 22 3a | WANT TO WRITE":| 00000d00 20 f1 8a 34 37 2c 33 29 22 54 48 49 53 20 53 45 | ..47,3)"THIS SE| 00000d10 43 54 4f 52 20 54 4f 20 54 48 45 20 22 3a 20 f1 |CTOR TO THE ": .| 00000d20 8a 34 37 2c 34 29 22 44 49 53 43 20 20 20 28 59 |.47,4)"DISC (Y| 00000d30 2f 4e 29 20 3a 22 3b 3a 47 24 3d be 3a e7 20 47 |/N) :";:G$=.:. G| 00000d40 24 3d 22 59 22 20 8c 20 77 72 69 74 65 3d b9 3a |$="Y" . write=.:| 00000d50 f1 22 59 45 53 22 3a e1 20 0d 06 b8 56 f1 22 4e |."YES":. ...V."N| 00000d60 4f 22 3a f1 8a 30 2c 30 29 89 28 38 30 29 3a f1 |O":..0,0).(80):.| 00000d70 8a 34 30 2c 31 29 89 28 34 30 29 3a f1 8a 34 30 |.40,1).(40):..40| 00000d80 2c 32 29 89 28 34 30 29 3a f1 8a 34 30 2c 33 29 |,2).(40):..40,3)| 00000d90 89 28 34 30 29 3a f1 8a 34 30 2c 34 29 89 28 34 |.(40):..40,4).(4| 00000da0 30 29 3a f1 8a 34 30 2c 35 29 89 28 33 38 29 0d |0):..40,5).(38).| 00000db0 06 cc 8b f1 8a 34 30 2c 30 29 22 20 20 59 6f 75 |.....40,0)" You| 00000dc0 20 63 61 6e 20 6e 6f 77 20 63 68 6f 6f 73 65 20 | can now choose | 00000dd0 74 6f 20 3a 2d 22 3a f1 8a 34 30 2c 32 29 22 20 |to :-":..40,2)" | 00000de0 20 31 2e 20 52 45 2d 45 44 49 54 20 53 45 43 54 | 1. RE-EDIT SECT| 00000df0 4f 52 22 3a f1 8a 34 30 2c 33 29 22 20 20 32 2e |OR":..40,3)" 2.| 00000e00 20 4c 4f 41 44 20 4e 45 57 20 53 45 43 54 4f 52 | LOAD NEW SECTOR| 00000e10 22 3a f1 8a 34 30 2c 34 29 22 20 20 33 2e 20 51 |":..40,4)" 3. Q| 00000e20 55 49 54 20 50 52 4f 47 52 41 4d 22 3a f1 8a 34 |UIT PROGRAM":..4| 00000e30 30 2c 35 29 22 20 20 3a 22 3b 0d 06 fe 24 47 24 |0,5)" :";...$G$| 00000e40 3d be 3a e7 20 47 24 3d 22 31 22 20 8c 20 6c 6f |=.:. G$="1" . lo| 00000e50 61 64 3d a3 3a 77 72 69 74 65 3d a3 3a e1 0d 07 |ad=.:write=.:...| 00000e60 12 1f e7 20 47 24 3d 22 32 22 20 8c 20 6c 6f 61 |... G$="2" . loa| 00000e70 64 3d b9 3a 77 72 69 74 65 3d a3 3a e1 0d 07 1c |d=.:write=.:....| 00000e80 13 e7 20 47 24 3d 22 33 22 20 8c 20 d6 21 2d 34 |.. G$="3" . .!-4| 00000e90 0d 07 26 0c e5 20 8d 64 7e 46 3a e1 0d 07 3a bc |..&.. .d~F:...:.| 00000ea0 dd f2 77 72 69 74 65 3a 3f 62 6c 6f 63 6b 3d 30 |..write:?block=0| 00000eb0 3a 62 6c 6f 63 6b 21 31 3d 62 75 66 66 65 72 3a |:block!1=buffer:| 00000ec0 62 6c 6f 63 6b 3f 35 3d 31 30 3a 62 6c 6f 63 6b |block?5=10:block| 00000ed0 3f 36 3d 30 3a 62 6c 6f 63 6b 3f 37 3d 64 61 64 |?6=0:block?7=dad| 00000ee0 64 20 81 20 32 35 36 3a 62 6c 6f 63 6b 3f 38 3d |d . 256:block?8=| 00000ef0 64 61 64 64 20 83 20 32 35 36 3a 62 6c 6f 63 6b |dadd . 256:block| 00000f00 3f 39 3d 31 3a 62 6c 6f 63 6b 3f 31 30 3d 30 3a |?9=1:block?10=0:| 00000f10 41 25 3d 26 37 32 3a 58 25 3d 62 6c 6f 63 6b 20 |A%=&72:X%=block | 00000f20 83 20 32 35 36 3a 59 25 3d 62 6c 6f 63 6b 20 81 |. 256:Y%=block .| 00000f30 20 32 35 36 3a d6 20 6f 73 77 6f 72 64 3a e7 20 | 256:. osword:. | 00000f40 3f 62 6c 6f 63 6b 3e 30 20 f1 22 44 69 73 63 20 |?block>0 ."Disc | 00000f50 65 72 72 6f 72 22 3a e0 0d 07 c6 0d 20 6f 6d 69 |error":..... omi| 00000f60 74 3d b9 3a e1 0d 07 da 74 dd f2 70 72 69 6e 74 |t=.:....t..print| 00000f70 6f 75 74 3a 20 ef 32 38 2c 30 2c 32 34 2c 37 39 |out: .28,0,24,79| 00000f80 2c 38 3a 20 ef 32 3a 20 f1 27 22 20 20 20 20 53 |,8: .2: .'" S| 00000f90 45 43 54 4f 52 20 3a 20 26 22 3b c3 7e 64 61 64 |ECTOR : &";.~dad| 00000fa0 64 3a 20 f2 6d 61 69 6e 64 69 73 3a 20 f1 3a 20 |d: .maindis: .: | 00000fb0 ef 33 3a 20 db 3a f2 6d 61 69 6e 64 69 73 3a 20 |.3: .:.maindis: | 00000fc0 e7 20 62 61 63 6b 3d b9 20 8c 20 ef 32 38 2c 31 |. back=. . .28,1| 00000fd0 2c 33 31 2c 37 39 2c 32 35 0d 08 16 06 20 e1 0d |,31,79,25.... ..| 00000fe0 ff |.| 00000fe1