Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_31.ADF » P/+dfsp1
P/+dfsp1
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_31.ADF |
Filename: | P/+dfsp1 |
Read OK: | ✔ |
File size: | 075D bytes |
Load address: | 44206576 |
Exec address: | 50637369 |
File contents
DFS DISC PARTITIONING ~~~~~~~~~~~~~~~~~~~~~ By Richard Dimond This program was published in the Micro User, November 1991 to enable you to split a disc into several parts. As published, it asked for all the data to be entered individually. This could be very tedious if there are several parts to be entered. I have simplified this by arranging that the data is entered into two REM lines at the end of the program. This will then set up both sides of a disc by running the program twice and simply entering the drive numbers. The REM lines consist of - Number of Parts, Titles.... , Part sizes.... The part sizes are the number of tracks and the total for a 40 track disc is 38 and for an 80 track disc it is 78. The last part is calculated as the remainder after totalling the previous sizes. The program should allow 12 letter titles but I have found that only 7 are allowed. I know that the orininal program is correct as I have checked it with the checksums given. Also, the titles do not seem to be printed as they should be when the parts are catalogued. These comments do affect the running of the program. When run the program first asks for the drive number. The disc is then checked and, if this is OK, it will tell you if it is 40 or 80 track. If the disc is faulty, you are asked to re-format it. This part is as the original program. The data lines are then read. If the drive is 0 or 1 for side 1, the first REM line is read and, for drives 2 or 3, the second REM line is read. After the disc is set up, there are two files in each part which must not be deleted. 'PART' is the M/code for selecting the parts and is written to &900 and '!DUMMY!' is the catalogue information. To make a backup copy, you must set the disc to the final part as the disc appears to be unformatted beyond the part selected.
00000000 0d 44 46 53 20 44 49 53 43 20 50 41 52 54 49 54 |.DFS DISC PARTIT| 00000010 49 4f 4e 49 4e 47 0d 7e 7e 7e 7e 7e 7e 7e 7e 7e |IONING.~~~~~~~~~| 00000020 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 0d 42 79 20 |~~~~~~~~~~~~.By | 00000030 52 69 63 68 61 72 64 20 44 69 6d 6f 6e 64 0d 0d |Richard Dimond..| 00000040 54 68 69 73 1a 20 70 72 6f 67 72 61 6d 20 77 61 |This. program wa| 00000050 73 20 70 75 62 6c 69 73 68 65 64 20 69 6e 20 74 |s published in t| 00000060 68 65 20 4d 69 63 72 6f 20 55 73 65 72 2c 20 4e |he Micro User, N| 00000070 6f 76 65 6d 62 65 72 20 31 39 39 31 20 74 6f 20 |ovember 1991 to | 00000080 65 6e 61 62 6c 65 20 79 6f 75 0d 74 6f 20 73 70 |enable you.to sp| 00000090 6c 69 74 20 61 20 64 69 73 63 20 69 6e 74 6f 20 |lit a disc into | 000000a0 73 65 76 65 72 61 6c 20 70 61 72 74 73 2e 1a 20 |several parts.. | 000000b0 20 41 73 1a 20 70 75 62 6c 69 73 68 65 64 2c 1a | As. published,.| 000000c0 20 69 74 20 61 73 6b 65 64 20 66 6f 72 20 61 6c | it asked for al| 000000d0 6c 20 74 68 65 0d 64 61 74 61 20 74 6f 20 62 65 |l the.data to be| 000000e0 20 65 6e 74 65 72 65 64 20 69 6e 64 69 76 69 64 | entered individ| 000000f0 75 61 6c 6c 79 2e 20 20 54 68 69 73 20 63 6f 75 |ually. This cou| 00000100 6c 64 20 62 65 20 76 65 72 79 20 74 65 64 69 6f |ld be very tedio| 00000110 75 73 1a 20 69 66 20 74 68 65 72 65 20 61 72 65 |us. if there are| 00000120 0d 73 65 76 65 72 61 6c 20 70 61 72 74 73 20 74 |.several parts t| 00000130 6f 20 62 65 20 65 6e 74 65 72 65 64 2e 20 20 49 |o be entered. I| 00000140 20 68 61 76 65 20 73 69 6d 70 6c 69 66 69 65 64 | have simplified| 00000150 20 74 68 69 73 20 62 79 20 61 72 72 61 6e 67 69 | this by arrangi| 00000160 6e 67 20 74 68 61 74 20 74 68 65 0d 64 61 74 61 |ng that the.data| 00000170 20 69 73 20 65 6e 74 65 72 65 64 20 69 6e 74 6f | is entered into| 00000180 20 74 77 6f 20 52 45 4d 20 6c 69 6e 65 73 20 61 | two REM lines a| 00000190 74 20 74 68 65 20 65 6e 64 20 6f 66 1a 20 74 68 |t the end of. th| 000001a0 65 1a 20 70 72 6f 67 72 61 6d 2e 20 20 54 68 69 |e. program. Thi| 000001b0 73 20 77 69 6c 6c 0d 74 68 65 6e 20 73 65 74 20 |s will.then set | 000001c0 75 70 20 62 6f 74 68 20 73 69 64 65 73 20 6f 66 |up both sides of| 000001d0 20 61 20 64 69 73 63 20 62 79 20 72 75 6e 6e 69 | a disc by runni| 000001e0 6e 67 20 74 68 65 20 70 72 6f 67 72 61 6d 20 74 |ng the program t| 000001f0 77 69 63 65 1a 20 61 6e 64 1a 20 73 69 6d 70 6c |wice. and. simpl| 00000200 79 0d 65 6e 74 65 72 69 6e 67 20 74 68 65 20 64 |y.entering the d| 00000210 72 69 76 65 20 6e 75 6d 62 65 72 73 2e 0d 0d 54 |rive numbers...T| 00000220 68 65 20 52 45 4d 20 6c 69 6e 65 73 20 63 6f 6e |he REM lines con| 00000230 73 69 73 74 20 6f 66 20 2d 0d 20 0d 20 20 20 20 |sist of -. . | 00000240 20 20 4e 75 6d 62 65 72 20 6f 66 20 50 61 72 74 | Number of Part| 00000250 73 2c 20 54 69 74 6c 65 73 2e 2e 2e 2e 20 2c 20 |s, Titles.... , | 00000260 50 61 72 74 20 73 69 7a 65 73 2e 2e 2e 2e 0d 0d |Part sizes......| 00000270 54 68 65 1a 20 70 61 72 74 20 73 69 7a 65 73 20 |The. part sizes | 00000280 61 72 65 20 74 68 65 20 6e 75 6d 62 65 72 20 6f |are the number o| 00000290 66 20 74 72 61 63 6b 73 20 61 6e 64 20 74 68 65 |f tracks and the| 000002a0 20 74 6f 74 61 6c 20 66 6f 72 20 61 20 34 30 20 | total for a 40 | 000002b0 74 72 61 63 6b 20 64 69 73 63 0d 69 73 20 33 38 |track disc.is 38| 000002c0 1a 20 61 6e 64 1a 20 66 6f 72 20 61 6e 20 38 30 |. and. for an 80| 000002d0 20 74 72 61 63 6b 20 64 69 73 63 20 69 74 20 69 | track disc it i| 000002e0 73 20 37 38 2e 20 20 54 68 65 20 6c 61 73 74 20 |s 78. The last | 000002f0 70 61 72 74 20 69 73 20 63 61 6c 63 75 6c 61 74 |part is calculat| 00000300 65 64 20 61 73 0d 74 68 65 20 72 65 6d 61 69 6e |ed as.the remain| 00000310 64 65 72 20 61 66 74 65 72 20 74 6f 74 61 6c 6c |der after totall| 00000320 69 6e 67 20 74 68 65 20 70 72 65 76 69 6f 75 73 |ing the previous| 00000330 20 73 69 7a 65 73 2e 0d 0d 54 68 65 20 70 72 6f | sizes...The pro| 00000340 67 72 61 6d 20 73 68 6f 75 6c 64 20 61 6c 6c 6f |gram should allo| 00000350 77 20 31 32 20 6c 65 74 74 65 72 20 74 69 74 6c |w 12 letter titl| 00000360 65 73 20 62 75 74 20 49 20 68 61 76 65 20 66 6f |es but I have fo| 00000370 75 6e 64 20 74 68 61 74 20 6f 6e 6c 79 20 37 20 |und that only 7 | 00000380 61 72 65 0d 61 6c 6c 6f 77 65 64 2e 20 20 49 20 |are.allowed. I | 00000390 6b 6e 6f 77 20 74 68 61 74 20 74 68 65 20 6f 72 |know that the or| 000003a0 69 6e 69 6e 61 6c 20 70 72 6f 67 72 61 6d 20 69 |ininal program i| 000003b0 73 20 63 6f 72 72 65 63 74 20 61 73 20 49 20 68 |s correct as I h| 000003c0 61 76 65 20 63 68 65 63 6b 65 64 20 69 74 0d 77 |ave checked it.w| 000003d0 69 74 68 20 74 68 65 20 63 68 65 63 6b 73 75 6d |ith the checksum| 000003e0 73 20 67 69 76 65 6e 2e 20 20 41 6c 73 6f 2c 1a |s given. Also,.| 000003f0 20 74 68 65 20 74 69 74 6c 65 73 20 64 6f 20 6e | the titles do n| 00000400 6f 74 20 73 65 65 6d 20 20 74 6f 20 62 65 20 70 |ot seem to be p| 00000410 72 69 6e 74 65 64 20 61 73 0d 74 68 65 79 20 73 |rinted as.they s| 00000420 68 6f 75 6c 64 20 62 65 20 77 68 65 6e 20 74 68 |hould be when th| 00000430 65 20 70 61 72 74 73 1a 20 61 72 65 1a 20 63 61 |e parts. are. ca| 00000440 74 61 6c 6f 67 75 65 64 2e 1a 20 20 54 68 65 73 |talogued.. Thes| 00000450 65 20 63 6f 6d 6d 65 6e 74 73 20 64 6f 20 61 66 |e comments do af| 00000460 66 65 63 74 0d 74 68 65 20 72 75 6e 6e 69 6e 67 |fect.the running| 00000470 20 6f 66 20 74 68 65 20 70 72 6f 67 72 61 6d 2e | of the program.| 00000480 0d 0d 57 68 65 6e 20 72 75 6e 20 74 68 65 20 70 |..When run the p| 00000490 72 6f 67 72 61 6d 20 66 69 72 73 74 20 61 73 6b |rogram first ask| 000004a0 73 1a 20 66 6f 72 1a 20 74 68 65 1a 20 64 72 69 |s. for. the. dri| 000004b0 76 65 20 6e 75 6d 62 65 72 2e 20 20 54 68 65 20 |ve number. The | 000004c0 64 69 73 63 20 69 73 20 74 68 65 6e 0d 63 68 65 |disc is then.che| 000004d0 63 6b 65 64 20 61 6e 64 2c 20 69 66 20 74 68 69 |cked and, if thi| 000004e0 73 20 69 73 20 4f 4b 2c 20 69 74 20 77 69 6c 6c |s is OK, it will| 000004f0 20 74 65 6c 6c 1a 20 79 6f 75 20 69 66 20 69 74 | tell. you if it| 00000500 20 69 73 20 34 30 20 6f 72 20 38 30 20 74 72 61 | is 40 or 80 tra| 00000510 63 6b 2e 20 20 49 66 0d 74 68 65 20 64 69 73 63 |ck. If.the disc| 00000520 20 69 73 20 66 61 75 6c 74 79 2c 20 79 6f 75 20 | is faulty, you | 00000530 61 72 65 20 61 73 6b 65 64 20 74 6f 20 72 65 2d |are asked to re-| 00000540 66 6f 72 6d 61 74 20 69 74 2e 1a 20 20 54 68 69 |format it.. Thi| 00000550 73 1a 20 70 61 72 74 1a 20 69 73 20 61 73 20 74 |s. part. is as t| 00000560 68 65 0d 6f 72 69 67 69 6e 61 6c 20 70 72 6f 67 |he.original prog| 00000570 72 61 6d 2e 0d 0d 54 68 65 1a 20 64 61 74 61 20 |ram...The. data | 00000580 6c 69 6e 65 73 20 61 72 65 20 74 68 65 6e 20 72 |lines are then r| 00000590 65 61 64 2e 20 20 49 66 20 74 68 65 20 64 72 69 |ead. If the dri| 000005a0 76 65 20 69 73 20 30 20 6f 72 20 31 1a 20 66 6f |ve is 0 or 1. fo| 000005b0 72 1a 20 73 69 64 65 1a 20 31 2c 1a 20 74 68 65 |r. side. 1,. the| 000005c0 0d 66 69 72 73 74 20 52 45 4d 1a 20 6c 69 6e 65 |.first REM. line| 000005d0 1a 20 69 73 1a 20 72 65 61 64 1a 20 61 6e 64 2c |. is. read. and,| 000005e0 1a 20 66 6f 72 20 64 72 69 76 65 73 20 32 20 6f |. for drives 2 o| 000005f0 72 20 33 2c 20 74 68 65 20 73 65 63 6f 6e 64 20 |r 3, the second | 00000600 52 45 4d 20 6c 69 6e 65 20 69 73 0d 72 65 61 64 |REM line is.read| 00000610 2e 0d 0d 41 66 74 65 72 20 74 68 65 20 64 69 73 |...After the dis| 00000620 63 20 69 73 20 73 65 74 20 75 70 2c 20 74 68 65 |c is set up, the| 00000630 72 65 20 61 72 65 20 74 77 6f 1a 20 66 69 6c 65 |re are two. file| 00000640 73 20 69 6e 20 65 61 63 68 20 70 61 72 74 20 77 |s in each part w| 00000650 68 69 63 68 20 6d 75 73 74 20 6e 6f 74 0d 62 65 |hich must not.be| 00000660 20 64 65 6c 65 74 65 64 2e 20 20 27 50 41 52 54 | deleted. 'PART| 00000670 27 20 69 73 20 74 68 65 20 4d 2f 63 6f 64 65 20 |' is the M/code | 00000680 66 6f 72 20 73 65 6c 65 63 74 69 6e 67 20 74 68 |for selecting th| 00000690 65 20 70 61 72 74 73 20 61 6e 64 1a 20 69 73 1a |e parts and. is.| 000006a0 20 77 72 69 74 74 65 6e 0d 74 6f 20 26 39 30 30 | written.to &900| 000006b0 20 61 6e 64 20 27 21 44 55 4d 4d 59 21 27 20 69 | and '!DUMMY!' i| 000006c0 73 20 74 68 65 20 63 61 74 61 6c 6f 67 75 65 20 |s the catalogue | 000006d0 69 6e 66 6f 72 6d 61 74 69 6f 6e 2e 0d 0d 54 6f |information...To| 000006e0 20 6d 61 6b 65 20 61 20 62 61 63 6b 75 70 20 63 | make a backup c| 000006f0 6f 70 79 2c 20 79 6f 75 20 6d 75 73 74 20 73 65 |opy, you must se| 00000700 74 20 74 68 65 20 64 69 73 63 20 74 6f 20 74 68 |t the disc to th| 00000710 65 20 66 69 6e 61 6c 20 70 61 72 74 20 61 73 20 |e final part as | 00000720 74 68 65 20 64 69 73 63 0d 61 70 70 65 61 72 73 |the disc.appears| 00000730 20 74 6f 20 62 65 20 75 6e 66 6f 72 6d 61 74 74 | to be unformatt| 00000740 65 64 20 62 65 79 6f 6e 64 20 74 68 65 20 70 61 |ed beyond the pa| 00000750 72 74 20 73 65 6c 65 63 74 65 64 2e 0d |rt selected..| 0000075d