Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_34.ADF » P/+Dexam1
P/+Dexam1
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 ADFS disks » Electron_User_Group » EUG_34.ADF |
Filename: | P/+Dexam1 |
Read OK: | ✔ |
File size: | 0DE3 bytes |
Load address: | 2B206576 |
Exec address: | 61786544 |
File contents
DISC EXAMINING PROGRAMS ~~~~~~~~~~~~~~~~~~~~~~~ By Richard Dimond Having now got several DFS discs from Gus, I needed a DFS version of the ADFS disc examine program which I had modified and M/coded earlier. In doing the DFS version, I added a routine to select the Drive number and thought that this should also be added to the ADFS versions. I now give the new ADFS versions and the DFS versions. Each of the programs first asks for the Drive number. This is entered simply by pressing the number key. The disc address is then entered to display the sector required. You may them move forward or backward sector by sector or re-run the program to choose another start sector. The BASIC DFS program was easily converted from the ADFS version as it was only necessary to alter the values in 'block' to those for DFS but the M/code version was not so easy as MOD and DIV divided the variable address and not the contents. I first used a modified version of my 'decprt' routine to divide by 10 but found a better routine in the book on Assembly Language. The routine 'dvide' (line 1180 of the assembler listing) is an amended version of this routine. This only divides a single byte and I realised that I needed to divide a two byte number and I hadn't a clue how to do this at first! Eventually I realised I needed to shift the nibbles of the address and use the routine'dvide' twice. This is done by the routine 'split' (line 1000). The value of the disc address 'dadd' is first loaded into the variable 'da' to enable this to be worked on while retaining the value in 'dadd'. The first loop 'shlp1' shifts the low nibble of 'da+1' and the high nibble of 'da' into 'da+1'. This value is then stored in 'tmp1' and the 'dvide' routine called. This divides by 10 leaving the result in 'tmp1' and the remainder in 'tmp2'. The result is the first digit of track number and is stored in 'trk'. The remainder is returned to 'da+1'. The loop 'shlp2' then shifts the nibbles back into 'da' and the value then is stored in 'tmp1' for the second call to 'dvide'. This gives the second digit for 'trk' and remainder is the value for 'sec'. Line 1160 shifts the low nibble in 'trk' into the high nibble and adds the value in 'tmp1' to give the full value of 'trk' store it in 'trk' and 'block+7'. The remainder in 'tmp2' is then stored in 'sec' and 'block+8'. The values are now correctly entered. One further amendment was needed to increase and decrease 'dadd+1' when the address moved to the next page. On increasing 'dadd', if it becomes 0 then 'dadd+1' must increase and this can be done by testing the zero flag (line 680). When 'dadd' is decreased, 'dadd+1' must decrease when 'dadd' is equal to &FF. This needs the value of 'dadd+1' to be loaded into register A and compared with &FF (line 690). The remainder of the program is much the same as the ADFS program apart from the differences for the two filing systems. The Drive routine tests for the number keys and in the ADFS program the number is added to the string 'MOU.' and in the DFS the value is stored in 'block'. Disc errors are reported by testing 'block' for ADFS or 'block+10' for DFS and, if these are not zero, 'Disc error' is printed and the program ends. ************************************************************************** The files are on this disc. ADFSEsrc a BASIC file. ADFSEXAM a BASIC file. ADFSE a m/c file. DFSEsrc a BASIC file. DFSEXAM A BASIC file. DFSE a m/c file.
00000000 0d 44 49 53 43 20 45 58 41 4d 49 4e 49 4e 47 20 |.DISC EXAMINING | 00000010 50 52 4f 47 52 41 4d 53 0d 7e 7e 7e 7e 7e 7e 7e |PROGRAMS.~~~~~~~| 00000020 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e |~~~~~~~~~~~~~~~~| 00000030 0d 42 79 20 52 69 63 68 61 72 64 20 44 69 6d 6f |.By Richard Dimo| 00000040 6e 64 0d 0d 48 61 76 69 6e 67 1a 20 6e 6f 77 1a |nd..Having. now.| 00000050 20 67 6f 74 20 73 65 76 65 72 61 6c 20 44 46 53 | got several DFS| 00000060 20 64 69 73 63 73 20 66 72 6f 6d 20 47 75 73 2c | discs from Gus,| 00000070 20 49 20 6e 65 65 64 65 64 20 61 20 44 46 53 20 | I needed a DFS | 00000080 76 65 72 73 69 6f 6e 20 6f 66 20 74 68 65 0d 41 |version of the.A| 00000090 44 46 53 20 64 69 73 63 20 65 78 61 6d 69 6e 65 |DFS disc examine| 000000a0 20 70 72 6f 67 72 61 6d 20 77 68 69 63 68 1a 20 | program which. | 000000b0 49 1a 20 68 61 64 1a 20 6d 6f 64 69 66 69 65 64 |I. had. modified| 000000c0 20 61 6e 64 20 4d 2f 63 6f 64 65 64 20 65 61 72 | and M/coded ear| 000000d0 6c 69 65 72 2e 20 20 49 6e 0d 64 6f 69 6e 67 20 |lier. In.doing | 000000e0 74 68 65 20 44 46 53 20 76 65 72 73 69 6f 6e 2c |the DFS version,| 000000f0 20 49 20 61 64 64 65 64 20 61 20 72 6f 75 74 69 | I added a routi| 00000100 6e 65 1a 20 74 6f 1a 20 73 65 6c 65 63 74 1a 20 |ne. to. select. | 00000110 74 68 65 20 44 72 69 76 65 20 6e 75 6d 62 65 72 |the Drive number| 00000120 20 61 6e 64 0d 74 68 6f 75 67 68 74 20 74 68 61 | and.thought tha| 00000130 74 20 74 68 69 73 20 73 68 6f 75 6c 64 20 61 6c |t this should al| 00000140 73 6f 20 62 65 20 61 64 64 65 64 20 74 6f 20 74 |so be added to t| 00000150 68 65 20 41 44 46 53 20 76 65 72 73 69 6f 6e 73 |he ADFS versions| 00000160 2e 1a 20 20 49 1a 20 6e 6f 77 20 67 69 76 65 0d |.. I. now give.| 00000170 74 68 65 20 6e 65 77 20 41 44 46 53 20 76 65 72 |the new ADFS ver| 00000180 73 69 6f 6e 73 20 61 6e 64 20 74 68 65 20 44 46 |sions and the DF| 00000190 53 20 76 65 72 73 69 6f 6e 73 2e 0d 0d 45 61 63 |S versions...Eac| 000001a0 68 20 6f 66 20 74 68 65 20 70 72 6f 67 72 61 6d |h of the program| 000001b0 73 20 66 69 72 73 74 1a 20 61 73 6b 73 1a 20 66 |s first. asks. f| 000001c0 6f 72 1a 20 74 68 65 1a 20 44 72 69 76 65 20 6e |or. the. Drive n| 000001d0 75 6d 62 65 72 2e 20 20 54 68 69 73 20 69 73 20 |umber. This is | 000001e0 65 6e 74 65 72 65 64 0d 73 69 6d 70 6c 79 20 62 |entered.simply b| 000001f0 79 20 70 72 65 73 73 69 6e 67 20 74 68 65 20 6e |y pressing the n| 00000200 75 6d 62 65 72 20 6b 65 79 2e 20 20 54 68 65 20 |umber key. The | 00000210 64 69 73 63 20 61 64 64 72 65 73 73 1a 20 69 73 |disc address. is| 00000220 1a 20 74 68 65 6e 1a 20 65 6e 74 65 72 65 64 20 |. then. entered | 00000230 74 6f 0d 64 69 73 70 6c 61 79 20 74 68 65 20 73 |to.display the s| 00000240 65 63 74 6f 72 20 72 65 71 75 69 72 65 64 2e 20 |ector required. | 00000250 20 59 6f 75 20 6d 61 79 20 74 68 65 6d 20 6d 6f | You may them mo| 00000260 76 65 20 66 6f 72 77 61 72 64 20 6f 72 20 62 61 |ve forward or ba| 00000270 63 6b 77 61 72 64 20 73 65 63 74 6f 72 0d 62 79 |ckward sector.by| 00000280 20 73 65 63 74 6f 72 20 6f 72 20 72 65 2d 72 75 | sector or re-ru| 00000290 6e 20 74 68 65 20 70 72 6f 67 72 61 6d 20 74 6f |n the program to| 000002a0 20 63 68 6f 6f 73 65 20 61 6e 6f 74 68 65 72 20 | choose another | 000002b0 73 74 61 72 74 20 73 65 63 74 6f 72 2e 0d 20 0d |start sector.. .| 000002c0 54 68 65 20 42 41 53 49 43 20 44 46 53 20 70 72 |The BASIC DFS pr| 000002d0 6f 67 72 61 6d 20 77 61 73 20 65 61 73 69 6c 79 |ogram was easily| 000002e0 20 63 6f 6e 76 65 72 74 65 64 20 66 72 6f 6d 20 | converted from | 000002f0 74 68 65 20 41 44 46 53 20 76 65 72 73 69 6f 6e |the ADFS version| 00000300 20 61 73 20 69 74 20 77 61 73 0d 6f 6e 6c 79 20 | as it was.only | 00000310 6e 65 63 65 73 73 61 72 79 20 74 6f 1a 20 61 6c |necessary to. al| 00000320 74 65 72 1a 20 74 68 65 1a 20 76 61 6c 75 65 73 |ter. the. values| 00000330 1a 20 69 6e 20 27 62 6c 6f 63 6b 27 20 74 6f 20 |. in 'block' to | 00000340 74 68 6f 73 65 20 66 6f 72 20 44 46 53 20 62 75 |those for DFS bu| 00000350 74 20 74 68 65 0d 4d 2f 63 6f 64 65 20 76 65 72 |t the.M/code ver| 00000360 73 69 6f 6e 20 77 61 73 20 6e 6f 74 20 73 6f 20 |sion was not so | 00000370 65 61 73 79 20 61 73 20 4d 4f 44 20 61 6e 64 20 |easy as MOD and | 00000380 44 49 56 20 64 69 76 69 64 65 64 20 74 68 65 20 |DIV divided the | 00000390 76 61 72 69 61 62 6c 65 20 61 64 64 72 65 73 73 |variable address| 000003a0 0d 61 6e 64 20 6e 6f 74 20 74 68 65 20 63 6f 6e |.and not the con| 000003b0 74 65 6e 74 73 2e 0d 0d 49 20 66 69 72 73 74 20 |tents...I first | 000003c0 75 73 65 64 20 61 20 6d 6f 64 69 66 69 65 64 20 |used a modified | 000003d0 76 65 72 73 69 6f 6e 20 6f 66 20 6d 79 20 27 64 |version of my 'd| 000003e0 65 63 70 72 74 27 20 72 6f 75 74 69 6e 65 20 74 |ecprt' routine t| 000003f0 6f 20 64 69 76 69 64 65 20 62 79 20 31 30 20 62 |o divide by 10 b| 00000400 75 74 0d 66 6f 75 6e 64 20 61 20 62 65 74 74 65 |ut.found a bette| 00000410 72 20 72 6f 75 74 69 6e 65 20 69 6e 20 74 68 65 |r routine in the| 00000420 20 62 6f 6f 6b 1a 20 6f 6e 1a 20 41 73 73 65 6d | book. on. Assem| 00000430 62 6c 79 1a 20 4c 61 6e 67 75 61 67 65 2e 1a 20 |bly. Language.. | 00000440 20 54 68 65 1a 20 72 6f 75 74 69 6e 65 0d 27 64 | The. routine.'d| 00000450 76 69 64 65 27 20 28 6c 69 6e 65 20 31 31 38 30 |vide' (line 1180| 00000460 20 6f 66 20 74 68 65 20 61 73 73 65 6d 62 6c 65 | of the assemble| 00000470 72 20 6c 69 73 74 69 6e 67 29 20 69 73 20 61 6e |r listing) is an| 00000480 20 61 6d 65 6e 64 65 64 20 76 65 72 73 69 6f 6e | amended version| 00000490 20 6f 66 20 74 68 69 73 0d 72 6f 75 74 69 6e 65 | of this.routine| 000004a0 2e 20 20 54 68 69 73 20 6f 6e 6c 79 20 64 69 76 |. This only div| 000004b0 69 64 65 73 20 61 1a 20 73 69 6e 67 6c 65 20 62 |ides a. single b| 000004c0 79 74 65 20 61 6e 64 20 49 20 72 65 61 6c 69 73 |yte and I realis| 000004d0 65 64 20 74 68 61 74 20 49 20 6e 65 65 64 65 64 |ed that I needed| 000004e0 20 74 6f 0d 64 69 76 69 64 65 20 61 20 74 77 6f | to.divide a two| 000004f0 20 62 79 74 65 20 6e 75 6d 62 65 72 20 61 6e 64 | byte number and| 00000500 20 49 20 68 61 64 6e 27 74 20 61 20 63 6c 75 65 | I hadn't a clue| 00000510 20 68 6f 77 20 74 6f 20 64 6f 20 74 68 69 73 20 | how to do this | 00000520 61 74 20 66 69 72 73 74 21 0d 0d 45 76 65 6e 74 |at first!..Event| 00000530 75 61 6c 6c 79 20 49 20 72 65 61 6c 69 73 65 64 |ually I realised| 00000540 20 49 20 6e 65 65 64 65 64 20 74 6f 20 73 68 69 | I needed to shi| 00000550 66 74 20 74 68 65 20 6e 69 62 62 6c 65 73 20 6f |ft the nibbles o| 00000560 66 20 74 68 65 20 61 64 64 72 65 73 73 20 61 6e |f the address an| 00000570 64 20 75 73 65 0d 74 68 65 20 72 6f 75 74 69 6e |d use.the routin| 00000580 65 27 64 76 69 64 65 27 20 74 77 69 63 65 2e 20 |e'dvide' twice. | 00000590 20 54 68 69 73 20 69 73 1a 20 64 6f 6e 65 1a 20 | This is. done. | 000005a0 62 79 1a 20 74 68 65 1a 20 72 6f 75 74 69 6e 65 |by. the. routine| 000005b0 1a 20 20 27 73 70 6c 69 74 27 20 28 6c 69 6e 65 |. 'split' (line| 000005c0 0d 31 30 30 30 29 2e 20 20 54 68 65 20 76 61 6c |.1000). The val| 000005d0 75 65 20 6f 66 20 74 68 65 1a 20 64 69 73 63 1a |ue of the. disc.| 000005e0 20 61 64 64 72 65 73 73 1a 20 27 64 61 64 64 27 | address. 'dadd'| 000005f0 1a 20 69 73 1a 20 66 69 72 73 74 20 6c 6f 61 64 |. is. first load| 00000600 65 64 20 69 6e 74 6f 20 74 68 65 0d 76 61 72 69 |ed into the.vari| 00000610 61 62 6c 65 20 27 64 61 27 20 74 6f 20 65 6e 61 |able 'da' to ena| 00000620 62 6c 65 20 74 68 69 73 20 74 6f 20 62 65 20 77 |ble this to be w| 00000630 6f 72 6b 65 64 20 6f 6e 20 77 68 69 6c 65 1a 20 |orked on while. | 00000640 72 65 74 61 69 6e 69 6e 67 20 74 68 65 20 76 61 |retaining the va| 00000650 6c 75 65 20 69 6e 0d 27 64 61 64 64 27 2e 0d 0d |lue in.'dadd'...| 00000660 54 68 65 20 66 69 72 73 74 20 6c 6f 6f 70 20 27 |The first loop '| 00000670 73 68 6c 70 31 27 20 73 68 69 66 74 73 20 74 68 |shlp1' shifts th| 00000680 65 20 6c 6f 77 20 6e 69 62 62 6c 65 20 6f 66 20 |e low nibble of | 00000690 27 64 61 2b 31 27 20 61 6e 64 20 74 68 65 20 68 |'da+1' and the h| 000006a0 69 67 68 20 6e 69 62 62 6c 65 0d 6f 66 20 27 64 |igh nibble.of 'd| 000006b0 61 27 20 69 6e 74 6f 20 27 64 61 2b 31 27 2e 20 |a' into 'da+1'. | 000006c0 20 54 68 69 73 1a 20 76 61 6c 75 65 20 69 73 20 | This. value is | 000006d0 74 68 65 6e 20 73 74 6f 72 65 64 20 69 6e 20 27 |then stored in '| 000006e0 74 6d 70 31 27 20 61 6e 64 20 74 68 65 20 27 64 |tmp1' and the 'd| 000006f0 76 69 64 65 27 0d 72 6f 75 74 69 6e 65 20 63 61 |vide'.routine ca| 00000700 6c 6c 65 64 2e 20 20 54 68 69 73 20 64 69 76 69 |lled. This divi| 00000710 64 65 73 20 62 79 20 31 30 1a 20 6c 65 61 76 69 |des by 10. leavi| 00000720 6e 67 1a 20 74 68 65 20 72 65 73 75 6c 74 20 69 |ng. the result i| 00000730 6e 20 27 74 6d 70 31 27 20 61 6e 64 20 74 68 65 |n 'tmp1' and the| 00000740 0d 72 65 6d 61 69 6e 64 65 72 20 69 6e 20 27 74 |.remainder in 't| 00000750 6d 70 32 27 2e 20 20 54 68 65 20 72 65 73 75 6c |mp2'. The resul| 00000760 74 20 69 73 20 74 68 65 20 66 69 72 73 74 20 64 |t is the first d| 00000770 69 67 69 74 20 6f 66 20 74 72 61 63 6b 20 6e 75 |igit of track nu| 00000780 6d 62 65 72 20 61 6e 64 20 69 73 0d 73 74 6f 72 |mber and is.stor| 00000790 65 64 20 69 6e 20 27 74 72 6b 27 2e 20 20 54 68 |ed in 'trk'. Th| 000007a0 65 20 72 65 6d 61 69 6e 64 65 72 20 69 73 20 72 |e remainder is r| 000007b0 65 74 75 72 6e 65 64 20 74 6f 20 27 64 61 2b 31 |eturned to 'da+1| 000007c0 27 2e 0d 0d 54 68 65 20 6c 6f 6f 70 20 27 73 68 |'...The loop 'sh| 000007d0 6c 70 32 27 20 74 68 65 6e 20 73 68 69 66 74 73 |lp2' then shifts| 000007e0 20 74 68 65 20 6e 69 62 62 6c 65 73 20 62 61 63 | the nibbles bac| 000007f0 6b 20 69 6e 74 6f 20 27 64 61 27 20 61 6e 64 20 |k into 'da' and | 00000800 74 68 65 20 76 61 6c 75 65 20 74 68 65 6e 0d 69 |the value then.i| 00000810 73 20 73 74 6f 72 65 64 20 69 6e 20 27 74 6d 70 |s stored in 'tmp| 00000820 31 27 20 66 6f 72 20 74 68 65 20 73 65 63 6f 6e |1' for the secon| 00000830 64 20 63 61 6c 6c 20 74 6f 20 27 64 76 69 64 65 |d call to 'dvide| 00000840 27 2e 20 20 54 68 69 73 20 67 69 76 65 73 20 74 |'. This gives t| 00000850 68 65 20 73 65 63 6f 6e 64 0d 64 69 67 69 74 20 |he second.digit | 00000860 66 6f 72 20 27 74 72 6b 27 20 61 6e 64 20 72 65 |for 'trk' and re| 00000870 6d 61 69 6e 64 65 72 20 69 73 20 74 68 65 20 76 |mainder is the v| 00000880 61 6c 75 65 20 66 6f 72 20 27 73 65 63 27 2e 0d |alue for 'sec'..| 00000890 0d 4c 69 6e 65 20 31 31 36 30 20 73 68 69 66 74 |.Line 1160 shift| 000008a0 73 20 74 68 65 20 6c 6f 77 20 6e 69 62 62 6c 65 |s the low nibble| 000008b0 20 69 6e 20 27 74 72 6b 27 20 69 6e 74 6f 20 74 | in 'trk' into t| 000008c0 68 65 20 68 69 67 68 20 6e 69 62 62 6c 65 20 61 |he high nibble a| 000008d0 6e 64 20 61 64 64 73 20 74 68 65 0d 76 61 6c 75 |nd adds the.valu| 000008e0 65 20 69 6e 20 27 74 6d 70 31 27 20 74 6f 20 67 |e in 'tmp1' to g| 000008f0 69 76 65 1a 20 74 68 65 1a 20 66 75 6c 6c 1a 20 |ive. the. full. | 00000900 76 61 6c 75 65 1a 20 6f 66 1a 20 27 74 72 6b 27 |value. of. 'trk'| 00000910 20 73 74 6f 72 65 20 69 74 20 69 6e 20 27 74 72 | store it in 'tr| 00000920 6b 27 20 61 6e 64 0d 27 62 6c 6f 63 6b 2b 37 27 |k' and.'block+7'| 00000930 2e 20 20 20 0d 0d 54 68 65 1a 20 72 65 6d 61 69 |. ..The. remai| 00000940 6e 64 65 72 1a 20 69 6e 1a 20 27 74 6d 70 32 27 |nder. in. 'tmp2'| 00000950 1a 20 69 73 1a 20 74 68 65 6e 20 73 74 6f 72 65 |. is. then store| 00000960 64 20 69 6e 20 27 73 65 63 27 20 61 6e 64 1a 20 |d in 'sec' and. | 00000970 27 62 6c 6f 63 6b 2b 38 27 2e 1a 20 20 54 68 65 |'block+8'.. The| 00000980 0d 76 61 6c 75 65 73 20 61 72 65 20 6e 6f 77 20 |.values are now | 00000990 63 6f 72 72 65 63 74 6c 79 20 65 6e 74 65 72 65 |correctly entere| 000009a0 64 2e 0d 0d 4f 6e 65 1a 20 66 75 72 74 68 65 72 |d...One. further| 000009b0 1a 20 61 6d 65 6e 64 6d 65 6e 74 1a 20 77 61 73 |. amendment. was| 000009c0 20 6e 65 65 64 65 64 20 74 6f 20 69 6e 63 72 65 | needed to incre| 000009d0 61 73 65 20 61 6e 64 20 64 65 63 72 65 61 73 65 |ase and decrease| 000009e0 20 27 64 61 64 64 2b 31 27 20 77 68 65 6e 0d 74 | 'dadd+1' when.t| 000009f0 68 65 20 61 64 64 72 65 73 73 20 6d 6f 76 65 64 |he address moved| 00000a00 20 74 6f 20 74 68 65 20 6e 65 78 74 20 70 61 67 | to the next pag| 00000a10 65 2e 20 20 4f 6e 20 69 6e 63 72 65 61 73 69 6e |e. On increasin| 00000a20 67 20 27 64 61 64 64 27 2c 20 69 66 20 69 74 20 |g 'dadd', if it | 00000a30 62 65 63 6f 6d 65 73 20 30 0d 74 68 65 6e 1a 20 |becomes 0.then. | 00000a40 27 64 61 64 64 2b 31 27 20 6d 75 73 74 20 69 6e |'dadd+1' must in| 00000a50 63 72 65 61 73 65 20 61 6e 64 20 74 68 69 73 20 |crease and this | 00000a60 63 61 6e 20 62 65 20 64 6f 6e 65 20 62 79 20 74 |can be done by t| 00000a70 65 73 74 69 6e 67 20 74 68 65 20 7a 65 72 6f 20 |esting the zero | 00000a80 66 6c 61 67 0d 28 6c 69 6e 65 20 36 38 30 29 2e |flag.(line 680).| 00000a90 1a 20 20 57 68 65 6e 20 27 64 61 64 64 27 20 69 |. When 'dadd' i| 00000aa0 73 20 64 65 63 72 65 61 73 65 64 2c 20 27 64 61 |s decreased, 'da| 00000ab0 64 64 2b 31 27 20 6d 75 73 74 20 64 65 63 72 65 |dd+1' must decre| 00000ac0 61 73 65 20 77 68 65 6e 20 27 64 61 64 64 27 0d |ase when 'dadd'.| 00000ad0 69 73 20 65 71 75 61 6c 20 74 6f 1a 20 26 46 46 |is equal to. &FF| 00000ae0 2e 1a 20 20 54 68 69 73 1a 20 6e 65 65 64 73 1a |.. This. needs.| 00000af0 20 74 68 65 1a 20 76 61 6c 75 65 1a 20 6f 66 20 | the. value. of | 00000b00 27 64 61 64 64 2b 31 27 20 74 6f 20 62 65 20 6c |'dadd+1' to be l| 00000b10 6f 61 64 65 64 20 69 6e 74 6f 0d 72 65 67 69 73 |oaded into.regis| 00000b20 74 65 72 20 41 20 61 6e 64 20 63 6f 6d 70 61 72 |ter A and compar| 00000b30 65 64 20 77 69 74 68 20 26 46 46 20 28 6c 69 6e |ed with &FF (lin| 00000b40 65 20 36 39 30 29 2e 0d 0d 54 68 65 20 72 65 6d |e 690)...The rem| 00000b50 61 69 6e 64 65 72 20 6f 66 20 74 68 65 20 70 72 |ainder of the pr| 00000b60 6f 67 72 61 6d 20 69 73 20 6d 75 63 68 20 74 68 |ogram is much th| 00000b70 65 20 73 61 6d 65 1a 20 61 73 1a 20 74 68 65 1a |e same. as. the.| 00000b80 20 41 44 46 53 20 70 72 6f 67 72 61 6d 20 61 70 | ADFS program ap| 00000b90 61 72 74 0d 66 72 6f 6d 20 74 68 65 20 64 69 66 |art.from the dif| 00000ba0 66 65 72 65 6e 63 65 73 20 66 6f 72 20 74 68 65 |ferences for the| 00000bb0 20 74 77 6f 20 66 69 6c 69 6e 67 20 73 79 73 74 | two filing syst| 00000bc0 65 6d 73 2e 0d 0d 54 68 65 1a 20 44 72 69 76 65 |ems...The. Drive| 00000bd0 20 72 6f 75 74 69 6e 65 20 74 65 73 74 73 20 66 | routine tests f| 00000be0 6f 72 20 74 68 65 20 6e 75 6d 62 65 72 20 6b 65 |or the number ke| 00000bf0 79 73 20 61 6e 64 20 69 6e 20 74 68 65 20 41 44 |ys and in the AD| 00000c00 46 53 1a 20 70 72 6f 67 72 61 6d 1a 20 74 68 65 |FS. program. the| 00000c10 0d 6e 75 6d 62 65 72 20 69 73 20 61 64 64 65 64 |.number is added| 00000c20 20 74 6f 20 74 68 65 20 73 74 72 69 6e 67 20 27 | to the string '| 00000c30 4d 4f 55 2e 27 20 61 6e 64 20 69 6e 20 74 68 65 |MOU.' and in the| 00000c40 20 44 46 53 20 74 68 65 20 76 61 6c 75 65 20 69 | DFS the value i| 00000c50 73 20 73 74 6f 72 65 64 20 69 6e 0d 27 62 6c 6f |s stored in.'blo| 00000c60 63 6b 27 2e 0d 0d 44 69 73 63 20 65 72 72 6f 72 |ck'...Disc error| 00000c70 73 20 61 72 65 20 72 65 70 6f 72 74 65 64 20 62 |s are reported b| 00000c80 79 20 74 65 73 74 69 6e 67 20 27 62 6c 6f 63 6b |y testing 'block| 00000c90 27 20 66 6f 72 20 41 44 46 53 20 6f 72 20 27 62 |' for ADFS or 'b| 00000ca0 6c 6f 63 6b 2b 31 30 27 20 66 6f 72 20 44 46 53 |lock+10' for DFS| 00000cb0 0d 61 6e 64 2c 20 69 66 20 74 68 65 73 65 20 61 |.and, if these a| 00000cc0 72 65 20 6e 6f 74 20 7a 65 72 6f 2c 20 27 44 69 |re not zero, 'Di| 00000cd0 73 63 20 65 72 72 6f 72 27 20 69 73 20 70 72 69 |sc error' is pri| 00000ce0 6e 74 65 64 20 61 6e 64 20 74 68 65 20 70 72 6f |nted and the pro| 00000cf0 67 72 61 6d 20 65 6e 64 73 2e 0d 0d 2a 2a 2a 2a |gram ends...****| 00000d00 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| * 00000d40 2a 2a 2a 2a 2a 2a 0d 1c 54 68 65 20 66 69 6c 65 |******..The file| 00000d50 73 20 61 72 65 20 6f 6e 20 74 68 69 73 20 64 69 |s are on this di| 00000d60 73 63 2e 0d 0d 41 44 46 53 45 73 72 63 20 61 20 |sc...ADFSEsrc a | 00000d70 42 41 53 49 43 20 66 69 6c 65 2e 0d 41 44 46 53 |BASIC file..ADFS| 00000d80 45 58 41 4d 20 61 20 42 41 53 49 43 20 66 69 6c |EXAM a BASIC fil| 00000d90 65 2e 0d 41 44 46 53 45 20 61 20 6d 2f 63 20 66 |e..ADFSE a m/c f| 00000da0 69 6c 65 2e 0d 44 46 53 45 73 72 63 20 61 20 42 |ile..DFSEsrc a B| 00000db0 41 53 49 43 20 66 69 6c 65 2e 0d 44 46 53 45 58 |ASIC file..DFSEX| 00000dc0 41 4d 20 41 20 42 41 53 49 43 20 66 69 6c 65 2e |AM A BASIC file.| 00000dd0 0d 44 46 53 45 20 61 20 6d 2f 63 20 66 69 6c 65 |.DFSE a m/c file| 00000de0 2e 1c 0d |...| 00000de3