Greaseweazle/testing: Difference between revisions
m (fix a small formatting error, and a spelling error) |
(→2021: filex extraction from the "suspect" image works) |
||
(10 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
document Greaseweazle testing. | document Greaseweazle testing. | ||
=== 2021 === | |||
; 2021-02-05 : read a 5.25 inch, ND format 17b floppy with gw 0.22 | |||
<pre> | |||
tingo@z30b:~/work/greaseweazle$ ./Greaseweazle-v0.22/gw read --ecyl 76 525_nd_f17b_211024-c01-xx-01d.scp | |||
Reading c=0-76 s=0-1 revs=3 | |||
T0.0: Raw Flux (188744 flux in 499.18ms) | |||
T0.1: Raw Flux (188635 flux in 499.18ms) | |||
[..] | |||
T76.0: Raw Flux (188605 flux in 499.15ms) | |||
T76.1: Raw Flux (188564 flux in 499.15ms) | |||
</pre> | |||
convert with disk-analyse | |||
<pre> | |||
tingo@z30b:~/work/greaseweazle$ LD_LIBRARY_PATH=Disk-Utilities/libdisk/ ./Disk-Utilities/disk-analyse/disk-analyse --config=./Disk-Utilities/disk-analyse/formats --format=ibm --end-cyl=76 525_nd_f17b_211024-c01-xx-01d.scp 525_nd_f17b_211024-c01-xx-01d.img | |||
*** T0.0: Unexpected track length (seen 166570, expected 200300) | |||
*** T0.1: Unexpected track length (seen 166561, expected 200300) | |||
[..] | |||
*** T76.0: Unexpected track length (seen 166553, expected 200300) | |||
*** T76.1: Unexpected track length (seen 166559, expected 200300) | |||
T0.0-76.1: IBM-MFM HD (8 1024-byte sectors, 8192 bytes) | |||
</pre> | |||
test with ndfs | |||
<pre> | |||
tingo@z30b:~/work/greaseweazle$ ~/bin/ndfs -t 525_nd_f17b_211024-c01-xx-01d.img | |||
Directory name : 211024C01-XX-01D | |||
Directory size : 616 pages | |||
Object file index pointer : 508 SI: 0x1 (indexed) | |||
User file index pointer : 510 SI: 0x1 (indexed) | |||
Bit file pointer : 306 SI: 0x0 (contiguous) | |||
No. of unreserved pages : 1 | |||
Files: | |||
0 0: I 89 pages 184320 bytes 1987-09-21 12:21:10 (FLOPPY-USER)S3-CONFIG-C00:PROG | |||
0 1: I 16 pages 32448 bytes 1987-05-18 08:39:11 (FLOPPY-USER)DDBTABLES-E07:VTM | |||
0 2: I 51 pages 86016 bytes 1987-09-21 12:21:27 (FLOPPY-USER)NOTS-SERVICE-C00:PROG | |||
Directory size: 611 pages | |||
Bit file size : 1 page | |||
</pre> | |||
; 2021-02-05 : test to read a 5.25 inch, ND format 0b floppy with gw 0.22 | |||
<pre> | |||
tingo@z30b:~/work/greaseweazle$ ./Greaseweazle-v0.22/gw read --ecyl 77 --single-sided 525_nd_f0b_nd-10005u.scp | |||
Reading c=0-77 s=0 revs=3 | |||
[..] | |||
T76.0: Raw Flux (147972 flux in 499.18ms) | |||
T77.0: Raw Flux (189355 flux in 499.17ms) | |||
</pre> | |||
and convert it with disk-analyse | |||
<pre> | |||
tingo@z30b:~/work/greaseweazle$ LD_LIBRARY_PATH=Disk-Utilities/libdisk/ ./Disk-Utilities/disk-analyse/disk-analyse --config=./Disk-Utilities/disk-analyse/formats --format=ibm --ss --end-cyl=76 525_nd_f0b_nd-10005u.scp 525_nd_f0b_nd-10005u.img | |||
*** T0.0: Unexpected track length (seen 83287, expected 100150) | |||
*** T1.0: Unexpected track length (seen 83297, expected 100150) | |||
*** T2.0: Unexpected track length (seen 83287, expected 100150) | |||
*** T3.0: Unexpected track length (seen 83298, expected 100150) | |||
*** T4.0: Unexpected track length (seen 83290, expected 100150) | |||
*** T5.0: Unexpected track length (seen 83293, expected 100150) | |||
*** T6.0: Unexpected track length (seen 83293, expected 100150) | |||
*** T7.0: Unexpected track length (seen 83289, expected 100150) | |||
*** T8.0: Unexpected track length (seen 83294, expected 100150) | |||
*** T9.0: Unexpected track length (seen 83289, expected 100150) | |||
*** T10.0: Unexpected track length (seen 83293, expected 100150) | |||
*** T11.0: Unexpected track length (seen 83287, expected 100150) | |||
*** T12.0: Unexpected track length (seen 83296, expected 100150) | |||
*** T13.0: Unexpected track length (seen 83285, expected 100150) | |||
*** T14.0: Unexpected track length (seen 83295, expected 100150) | |||
*** T15.0: Unexpected track length (seen 83288, expected 100150) | |||
*** T16.0: Unexpected track length (seen 83289, expected 100150) | |||
*** T17.0: Unexpected track length (seen 83291, expected 100150) | |||
*** T18.0: Unexpected track length (seen 83285, expected 100150) | |||
*** T19.0: Unexpected track length (seen 83293, expected 100150) | |||
*** T20.0: Unexpected track length (seen 83282, expected 100150) | |||
*** T21.0: Unexpected track length (seen 83293, expected 100150) | |||
*** T22.0: Unexpected track length (seen 83282, expected 100150) | |||
*** T23.0: Unexpected track length (seen 83290, expected 100150) | |||
*** T24.0: Unexpected track length (seen 83284, expected 100150) | |||
*** T25.0: Unexpected track length (seen 83288, expected 100150) | |||
*** T26.0: Unexpected track length (seen 83284, expected 100150) | |||
*** T27.0: Unexpected track length (seen 83290, expected 100150) | |||
*** T28.0: Unexpected track length (seen 83286, expected 100150) | |||
*** T29.0: Unexpected track length (seen 83282, expected 100150) | |||
*** T30.0: Unexpected track length (seen 83290, expected 100150) | |||
*** T31.0: Unexpected track length (seen 83283, expected 100150) | |||
*** T32.0: Unexpected track length (seen 83291, expected 100150) | |||
*** T33.0: Unexpected track length (seen 83282, expected 100150) | |||
*** T34.0: Unexpected track length (seen 83290, expected 100150) | |||
*** T35.0: Unexpected track length (seen 83283, expected 100150) | |||
*** T36.0: Unexpected track length (seen 83287, expected 100150) | |||
*** T37.0: Unexpected track length (seen 83283, expected 100150) | |||
*** T38.0: Unexpected track length (seen 83282, expected 100150) | |||
*** T39.0: Unexpected track length (seen 83287, expected 100150) | |||
*** T40.0: Unexpected track length (seen 83281, expected 100150) | |||
*** T41.0: Unexpected track length (seen 83287, expected 100150) | |||
*** T42.0: Unexpected track length (seen 83280, expected 100150) | |||
*** T43.0: Unexpected track length (seen 83287, expected 100150) | |||
*** T44.0: Unexpected track length (seen 83278, expected 100150) | |||
*** T45.0: Unexpected track length (seen 83287, expected 100150) | |||
*** T46.0: Unexpected track length (seen 83280, expected 100150) | |||
*** T47.0: Unexpected track length (seen 83289, expected 100150) | |||
*** T48.0: Unexpected track length (seen 83282, expected 100150) | |||
*** T49.0: Unexpected track length (seen 83284, expected 100150) | |||
*** T50.0: Unexpected track length (seen 83287, expected 100150) | |||
*** T51.0: Unexpected track length (seen 83281, expected 100150) | |||
*** T52.0: Unexpected track length (seen 83288, expected 100150) | |||
*** T53.0: Unexpected track length (seen 83280, expected 100150) | |||
*** T54.0: Unexpected track length (seen 83285, expected 100150) | |||
*** T55.0: Unexpected track length (seen 83280, expected 100150) | |||
*** T56.0: Unexpected track length (seen 83283, expected 100150) | |||
*** T57.0: Unexpected track length (seen 83281, expected 100150) | |||
*** T58.0: Unexpected track length (seen 83284, expected 100150) | |||
*** T59.0: Unexpected track length (seen 83281, expected 100150) | |||
*** T60.0: Unexpected track length (seen 83280, expected 100150) | |||
*** T61.0: Unexpected track length (seen 83282, expected 100150) | |||
*** T62.0: Unexpected track length (seen 83276, expected 100150) | |||
*** T63.0: Unexpected track length (seen 83287, expected 100150) | |||
*** T64.0: Unexpected track length (seen 83278, expected 100150) | |||
*** T65.0: Unexpected track length (seen 83288, expected 100150) | |||
*** T66.0: Unexpected track length (seen 83278, expected 100150) | |||
*** T67.0: Unexpected track length (seen 83282, expected 100150) | |||
*** T68.0: Unexpected track length (seen 83282, expected 100150) | |||
*** T69.0: Unexpected track length (seen 83282, expected 100150) | |||
*** T70.0: Unexpected track length (seen 83283, expected 100150) | |||
*** T71.0: Unexpected track length (seen 83278, expected 100150) | |||
*** T72.0: Unexpected track length (seen 83281, expected 100150) | |||
*** T73.0: Unexpected track length (seen 83278, expected 100150) | |||
*** T74.0: Unexpected track length (seen 83287, expected 100150) | |||
*** T75.0: Unexpected track length (seen 83276, expected 100150) | |||
*** T76.0: Unexpected track length (seen 83283, expected 100150) | |||
T0.0-76.0: IBM-FM DD (8 512-byte sectors, 4096 bytes) | |||
</pre> | |||
'''Note''': the 512-byte sectors doesn't look right, they should be 1024-byte sectors. | |||
Finally, check the image with ndfs | |||
<pre> | |||
tingo@z30b:~/work/greaseweazle$ ~/bin/ndfs -t 525_nd_f0b_nd-10005u.img | |||
Directory name : ND-10005U | |||
Directory size : 154 pages | |||
Object file index pointer : 150 SI: 0x1 (indexed) | |||
User file index pointer : 152 SI: 0x1 (indexed) | |||
Bit file pointer : 77 SI: 0x0 (contiguous) | |||
No. of unreserved pages : 1 | |||
Files: | |||
0 0: I 11 pages 21864 bytes 1984-01-09 13:26:39 (FLOPPY-USER)NRL-1935J:BPUN | |||
0 1: I 2 pages 3852 bytes 1982-03-17 11:07:51 (FLOPPY-USER)GPM-2365B:BPUN | |||
0 2: I 2 pages 4067 bytes 1982-03-17 11:09:37 (FLOPPY-USER)GPM-LIBR-2366B:SYMB | |||
0 3: I 25 pages 49569 bytes 1983-12-19 13:47:07 (FLOPPY-USER)PERFORM-2412F:BPUN | |||
0 4: I 2 pages 3497 bytes 1984-01-09 13:30:26 (FLOPPY-USER)PERFORM-LIBRARY:MCRO | |||
0 5: I 9 pages 16748 bytes 1983-12-30 10:21:59 (FLOPPY-USER)BRF-EDITOR-1858F:BPUN | |||
0 6: I 19 pages 38394 bytes 1978-12-21 13:54:33 (FLOPPY-USER)F32-EXTR-2232B:BPUN | |||
0 7: I 41 pages 82337 bytes 1984-01-09 13:30:36 (FLOPPY-USER)LOOK-FILE-2244E:BPUN | |||
Directory size: 149 pages | |||
Bit file size : 1 page | |||
</pre> | |||
looks good to me. I have also tested extraction of files from the image | |||
<pre> | |||
tingo@z30b:~/work/greaseweazle/tmp$ ~/bin/ndfs -xlv ../525_nd_f0b_nd-10005u.img | |||
Directory name : nd-10005u | |||
Directory size : 154 pages | |||
Object file index pointer : 150 SI: 0x1 (indexed) | |||
User file index pointer : 152 SI: 0x1 (indexed) | |||
Bit file pointer : 77 SI: 0x0 (contiguous) | |||
No. of unreserved pages : 1 | |||
User file pointer 0: 153 | |||
Object file pointer 0: 151 | |||
User: 0 (256/256) floppy-user 122 pages used, 148 pages reserved | |||
Directory size: 149 pages | |||
Bit file size : 1 page | |||
Extracting: nrl-1935j.bpun | |||
Extracting: gpm-2365b.bpun | |||
Extracting: gpm-libr-2366b.symb | |||
Extracting: perform-2412f.bpun | |||
Extracting: perform-library.mcro | |||
Extracting: brf-editor-1858f.bpun | |||
Extracting: f32-extr-2232b.bpun | |||
Extracting: look-file-2244e.bpun | |||
</pre> | |||
that works too. | |||
; 2021-02-05 : upgrade the gw software to version 0.22. For some reason, the setup.sh or setup.py is missing from the release .zip file, so I'll have to install the software manually: | |||
<pre> | |||
tingo@z30b:~/work/greaseweazle/Greaseweazle-v0.22$ python3 -m pip install --user bitarray crcmod pyserial | |||
Collecting bitarray | |||
Downloading bitarray-1.6.3.tar.gz (57 kB) | |||
|████████████████████████████████| 57 kB 4.9 MB/s | |||
Requirement already satisfied: crcmod in /usr/local/lib/python3.7/dist-packages (1.7) | |||
Requirement already satisfied: pyserial in /usr/lib/python3/dist-packages (3.4) | |||
Building wheels for collected packages: bitarray | |||
Building wheel for bitarray (setup.py) ... done | |||
Created wheel for bitarray: filename=bitarray-1.6.3-cp37-cp37m-linux_x86_64.whl size=130540 sha256=95f2a02446d26890cd816b1f3309e46a62acdef6fec33c66efc2581576b2d37a | |||
Stored in directory: /home/tingo/.cache/pip/wheels/d6/0b/65/70c57fa50b9bfee64ff71ac54630a058c921004947911126ab | |||
Successfully built bitarray | |||
Installing collected packages: bitarray | |||
Successfully installed bitarray-1.6.3 | |||
WARNING: You are using pip version 20.0.2; however, version 21.0.1 is available. | |||
You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command. | |||
</pre> | |||
now check that the software works | |||
<pre> | |||
tingo@z30b:~/work/greaseweazle/Greaseweazle-v0.22$ ./gw | |||
Usage: ./gw [action] [-h] ... | |||
-h, --help Show help message for specified action | |||
Actions: | |||
info Display information about the Greaseweazle setup. | |||
read Read a disk to the specified image file. | |||
write Write a disk from the specified image file. | |||
erase Erase a disk. | |||
seek Seek to the specified cylinder. | |||
delays Display (and optionally modify) Greaseweazle drive-delay parameters. | |||
update Update the Greaseweazle device firmware to current version. | |||
pin Change the setting of a user-modifiable interface pin. | |||
reset Reset the Greaseweazle device to power-on default state. | |||
bandwidth Report the available USB bandwidth for the Greaseweazle device. | |||
</pre> | |||
next, update the firmware (put a jumper on the gnd and dclk pins at the end of the Blue Pill, then connect the gw hardware to usb) | |||
<pre> | |||
tingo@z30b:~/work/greaseweazle/Greaseweazle-v0.22$ ./gw update | |||
Updating Main Firmware to v0.22... | |||
Done. | |||
** Disconnect Greaseweazle and remove the Programming Jumper. | |||
</pre> | |||
=== 2020 === | |||
; 2020-02-06 : I remembered that FluxEngine now understands SCP format. Let me see if it can do anything to the scp file from a '''ND format 0b''' floppy | |||
first - convert to flux | |||
<pre> | |||
tingo@z30b:~/work/greaseweazle$ ~/personal/projects/psoc/fluxengine/fluxengine convert scptoflux 525_nd_f0b_nd-10005u.scp fe_525_nd_f0b_nd-10005u.flux | |||
tracks 0-77, heads 0-0 | |||
sample resolution: 25 ns | |||
0.0: 493.334 ms in 390348 input bytes and 390350 output bytes | |||
1.0: 492.75 ms in 418454 input bytes and 418456 output bytes | |||
2.0: 492.788 ms in 418426 input bytes and 418428 output bytes | |||
3.0: 492.73 ms in 418538 input bytes and 418540 output bytes | |||
4.0: 492.787 ms in 418418 input bytes and 418420 output bytes | |||
5.0: 492.744 ms in 418428 input bytes and 418430 output bytes | |||
6.0: 492.783 ms in 418500 input bytes and 418502 output bytes | |||
7.0: 492.788 ms in 418512 input bytes and 418514 output bytes | |||
8.0: 492.794 ms in 418440 input bytes and 418442 output bytes | |||
9.0: 492.762 ms in 418428 input bytes and 418430 output bytes | |||
10.0: 492.81 ms in 418494 input bytes and 418496 output bytes | |||
11.0: 492.842 ms in 418454 input bytes and 418456 output bytes | |||
12.0: 492.865 ms in 418468 input bytes and 418470 output bytes | |||
13.0: 492.804 ms in 418464 input bytes and 418466 output bytes | |||
14.0: 493.371 ms in 371162 input bytes and 371164 output bytes | |||
15.0: 493.793 ms in 358378 input bytes and 358380 output bytes | |||
16.0: 493.828 ms in 354532 input bytes and 354534 output bytes | |||
17.0: 493.944 ms in 346908 input bytes and 346910 output bytes | |||
18.0: 493.197 ms in 375098 input bytes and 375100 output bytes | |||
19.0: 493.227 ms in 379218 input bytes and 379220 output bytes | |||
20.0: 494.303 ms in 335686 input bytes and 335688 output bytes | |||
21.0: 493.332 ms in 374634 input bytes and 374636 output bytes | |||
22.0: 493.221 ms in 379358 input bytes and 379360 output bytes | |||
23.0: 493.235 ms in 380154 input bytes and 380156 output bytes | |||
24.0: 493.49 ms in 367500 input bytes and 367502 output bytes | |||
25.0: 493.458 ms in 368988 input bytes and 368990 output bytes | |||
26.0: 493.623 ms in 364242 input bytes and 364244 output bytes | |||
27.0: 493.284 ms in 376754 input bytes and 376756 output bytes | |||
28.0: 493.123 ms in 387252 input bytes and 387254 output bytes | |||
29.0: 494.272 ms in 337082 input bytes and 337084 output bytes | |||
30.0: 495.253 ms in 295598 input bytes and 295600 output bytes | |||
31.0: 493.797 ms in 351722 input bytes and 351724 output bytes | |||
32.0: 494.252 ms in 341116 input bytes and 341118 output bytes | |||
33.0: 493.246 ms in 384058 input bytes and 384060 output bytes | |||
34.0: 493.31 ms in 384806 input bytes and 384808 output bytes | |||
35.0: 493.305 ms in 382094 input bytes and 382096 output bytes | |||
36.0: 493.341 ms in 379078 input bytes and 379080 output bytes | |||
37.0: 493.16 ms in 382476 input bytes and 382478 output bytes | |||
38.0: 493.317 ms in 375534 input bytes and 375536 output bytes | |||
39.0: 493.255 ms in 376440 input bytes and 376442 output bytes | |||
40.0: 493.723 ms in 352988 input bytes and 352990 output bytes | |||
41.0: 493.771 ms in 355824 input bytes and 355826 output bytes | |||
42.0: 493.81 ms in 350292 input bytes and 350294 output bytes | |||
43.0: 493.714 ms in 353760 input bytes and 353762 output bytes | |||
44.0: 495.08 ms in 295452 input bytes and 295454 output bytes | |||
45.0: 495.081 ms in 295566 input bytes and 295568 output bytes | |||
46.0: 495.076 ms in 296366 input bytes and 296368 output bytes | |||
47.0: 495.075 ms in 295632 input bytes and 295634 output bytes | |||
48.0: 495.12 ms in 295636 input bytes and 295638 output bytes | |||
49.0: 493.374 ms in 363308 input bytes and 363310 output bytes | |||
50.0: 493.227 ms in 375886 input bytes and 375888 output bytes | |||
51.0: 494.144 ms in 337296 input bytes and 337298 output bytes | |||
52.0: 492.917 ms in 389304 input bytes and 389306 output bytes | |||
53.0: 493.413 ms in 364620 input bytes and 364622 output bytes | |||
54.0: 493.596 ms in 353676 input bytes and 353678 output bytes | |||
55.0: 493.424 ms in 359318 input bytes and 359320 output bytes | |||
56.0: 493.62 ms in 353672 input bytes and 353674 output bytes | |||
57.0: 494.315 ms in 324302 input bytes and 324304 output bytes | |||
58.0: 493.627 ms in 352934 input bytes and 352936 output bytes | |||
59.0: 493.585 ms in 358248 input bytes and 358250 output bytes | |||
60.0: 493.314 ms in 378828 input bytes and 378830 output bytes | |||
61.0: 493.197 ms in 384708 input bytes and 384710 output bytes | |||
62.0: 493.544 ms in 368664 input bytes and 368666 output bytes | |||
63.0: 494.247 ms in 332208 input bytes and 332210 output bytes | |||
64.0: 494.33 ms in 328768 input bytes and 328770 output bytes | |||
65.0: 493.353 ms in 380032 input bytes and 380034 output bytes | |||
66.0: 494.02 ms in 345058 input bytes and 345060 output bytes | |||
67.0: 493.899 ms in 346154 input bytes and 346156 output bytes | |||
68.0: 493.511 ms in 367392 input bytes and 367394 output bytes | |||
69.0: 493.329 ms in 378072 input bytes and 378074 output bytes | |||
70.0: 494.841 ms in 295666 input bytes and 295668 output bytes | |||
71.0: 493.346 ms in 380298 input bytes and 380300 output bytes | |||
72.0: 493.417 ms in 378790 input bytes and 378792 output bytes | |||
73.0: 493.581 ms in 368344 input bytes and 368346 output bytes | |||
74.0: 494.34 ms in 326508 input bytes and 326510 output bytes | |||
75.0: 494.651 ms in 302148 input bytes and 302150 output bytes | |||
76.0: 494.82 ms in 295938 input bytes and 295940 output bytes | |||
77.0: 492.973 ms in 378708 input bytes and 378710 output bytes | |||
</pre> | |||
looks ok. Next, try to convert the flux file to img | |||
<pre> | |||
tingo@z30b:~/work/greaseweazle$ ~/personal/projects/psoc/fluxengine/fluxengine read ibm -s fe_525_nd_f0b_nd-10005u.flux:s=0:t=0-76 -o fe_525_nd_f0b_nd-10005u.img | |||
Reading from: fe_525_nd_f0b_nd-10005u.flux:d=0:s=0:t=0-76 | |||
[..] | |||
Autodetecting output geometry | |||
H.SS Tracks ---> | |||
0. 0 ............................................................................. | |||
0. 1 ............................................................................. | |||
0. 2 ............................................................................. | |||
0. 3 ............................................................................. | |||
0. 4 ............................................................................. | |||
0. 5 ............................................................................. | |||
0. 6 ............................................................................. | |||
0. 7 ............................................................................. | |||
Good sectors: 616/616 (100%) | |||
Missing sectors: 0/616 (0%) | |||
Bad sectors: 0/616 (0%) | |||
writing 77 tracks, 1 heads, 8 sectors, 512 bytes per sector, 308 kB total | |||
</pre> | |||
that worked nicely. Does ndfs agree? | |||
<pre> | |||
tingo@z30b:~/work/greaseweazle$ ~/bin/ndfs -t fe_525_nd_f0b_nd-10005u.img | |||
Directory name : ND-10005U | |||
Object file index pointer : 150 SI: 0x1 (indexed) | |||
User file index pointer : 152 SI: 0x1 (indexed) | |||
Bit file pointer : 77 SI: 0x0 (contiguous) | |||
No. of unreserved pages : 1 | |||
Files: | |||
0 0: I 11 pages 21864 bytes 1984-01-09 13:26:39 (FLOPPY-USER)NRL-1935J:BPUN | |||
0 1: I 2 pages 3852 bytes 1982-03-17 11:07:51 (FLOPPY-USER)GPM-2365B:BPUN | |||
0 2: I 2 pages 4067 bytes 1982-03-17 11:09:37 (FLOPPY-USER)GPM-LIBR-2366B:SYMB | |||
0 3: I 25 pages 49569 bytes 1983-12-19 13:47:07 (FLOPPY-USER)PERFORM-2412F:BPUN | |||
0 4: I 2 pages 3497 bytes 1984-01-09 13:30:26 (FLOPPY-USER)PERFORM-LIBRARY:MCRO | |||
0 5: I 9 pages 16748 bytes 1983-12-30 10:21:59 (FLOPPY-USER)BRF-EDITOR-1858F:BPUN | |||
0 6: I 19 pages 38394 bytes 1978-12-21 13:54:33 (FLOPPY-USER)F32-EXTR-2232B:BPUN | |||
0 7: I 41 pages 82337 bytes 1984-01-09 13:30:36 (FLOPPY-USER)LOOK-FILE-2244E:BPUN | |||
Directory size: 149 pages | |||
Bit file size : 1 page | |||
</pre> | |||
it does. That is very useful. I also verified that I can extract files from the image - it works. Conclusion: the Greaseweazle hardware and reading prorgam (gw.py) is ok, but Disk-Utilities have trouble with (at least one example of) ND format 0b. | |||
; 2020-02-03 : using the Greaseweazle to read a 5.25 inch, '''ND format 17b''' floppy, and convert it | ; 2020-02-03 : using the Greaseweazle to read a 5.25 inch, '''ND format 17b''' floppy, and convert it | ||
: read | : read | ||
Line 262: | Line 608: | ||
T39.0-76.0: Unformatted* | T39.0-76.0: Unformatted* | ||
** WARNING: 38 tracks are damaged or unidentified! | ** WARNING: 38 tracks are damaged or unidentified! | ||
<pre> | </pre> | ||
doesn't look too good, try to see if ndfs wants it | doesn't look too good, try to see if ndfs wants it | ||
<pre> | <pre> |
Latest revision as of 16:23, 5 February 2021
Back to Greaseweazle page.
document Greaseweazle testing.
2021
- 2021-02-05
- read a 5.25 inch, ND format 17b floppy with gw 0.22
tingo@z30b:~/work/greaseweazle$ ./Greaseweazle-v0.22/gw read --ecyl 76 525_nd_f17b_211024-c01-xx-01d.scp Reading c=0-76 s=0-1 revs=3 T0.0: Raw Flux (188744 flux in 499.18ms) T0.1: Raw Flux (188635 flux in 499.18ms) [..] T76.0: Raw Flux (188605 flux in 499.15ms) T76.1: Raw Flux (188564 flux in 499.15ms)
convert with disk-analyse
tingo@z30b:~/work/greaseweazle$ LD_LIBRARY_PATH=Disk-Utilities/libdisk/ ./Disk-Utilities/disk-analyse/disk-analyse --config=./Disk-Utilities/disk-analyse/formats --format=ibm --end-cyl=76 525_nd_f17b_211024-c01-xx-01d.scp 525_nd_f17b_211024-c01-xx-01d.img *** T0.0: Unexpected track length (seen 166570, expected 200300) *** T0.1: Unexpected track length (seen 166561, expected 200300) [..] *** T76.0: Unexpected track length (seen 166553, expected 200300) *** T76.1: Unexpected track length (seen 166559, expected 200300) T0.0-76.1: IBM-MFM HD (8 1024-byte sectors, 8192 bytes)
test with ndfs
tingo@z30b:~/work/greaseweazle$ ~/bin/ndfs -t 525_nd_f17b_211024-c01-xx-01d.img Directory name : 211024C01-XX-01D Directory size : 616 pages Object file index pointer : 508 SI: 0x1 (indexed) User file index pointer : 510 SI: 0x1 (indexed) Bit file pointer : 306 SI: 0x0 (contiguous) No. of unreserved pages : 1 Files: 0 0: I 89 pages 184320 bytes 1987-09-21 12:21:10 (FLOPPY-USER)S3-CONFIG-C00:PROG 0 1: I 16 pages 32448 bytes 1987-05-18 08:39:11 (FLOPPY-USER)DDBTABLES-E07:VTM 0 2: I 51 pages 86016 bytes 1987-09-21 12:21:27 (FLOPPY-USER)NOTS-SERVICE-C00:PROG Directory size: 611 pages Bit file size : 1 page
- 2021-02-05
- test to read a 5.25 inch, ND format 0b floppy with gw 0.22
tingo@z30b:~/work/greaseweazle$ ./Greaseweazle-v0.22/gw read --ecyl 77 --single-sided 525_nd_f0b_nd-10005u.scp Reading c=0-77 s=0 revs=3 [..] T76.0: Raw Flux (147972 flux in 499.18ms) T77.0: Raw Flux (189355 flux in 499.17ms)
and convert it with disk-analyse
tingo@z30b:~/work/greaseweazle$ LD_LIBRARY_PATH=Disk-Utilities/libdisk/ ./Disk-Utilities/disk-analyse/disk-analyse --config=./Disk-Utilities/disk-analyse/formats --format=ibm --ss --end-cyl=76 525_nd_f0b_nd-10005u.scp 525_nd_f0b_nd-10005u.img *** T0.0: Unexpected track length (seen 83287, expected 100150) *** T1.0: Unexpected track length (seen 83297, expected 100150) *** T2.0: Unexpected track length (seen 83287, expected 100150) *** T3.0: Unexpected track length (seen 83298, expected 100150) *** T4.0: Unexpected track length (seen 83290, expected 100150) *** T5.0: Unexpected track length (seen 83293, expected 100150) *** T6.0: Unexpected track length (seen 83293, expected 100150) *** T7.0: Unexpected track length (seen 83289, expected 100150) *** T8.0: Unexpected track length (seen 83294, expected 100150) *** T9.0: Unexpected track length (seen 83289, expected 100150) *** T10.0: Unexpected track length (seen 83293, expected 100150) *** T11.0: Unexpected track length (seen 83287, expected 100150) *** T12.0: Unexpected track length (seen 83296, expected 100150) *** T13.0: Unexpected track length (seen 83285, expected 100150) *** T14.0: Unexpected track length (seen 83295, expected 100150) *** T15.0: Unexpected track length (seen 83288, expected 100150) *** T16.0: Unexpected track length (seen 83289, expected 100150) *** T17.0: Unexpected track length (seen 83291, expected 100150) *** T18.0: Unexpected track length (seen 83285, expected 100150) *** T19.0: Unexpected track length (seen 83293, expected 100150) *** T20.0: Unexpected track length (seen 83282, expected 100150) *** T21.0: Unexpected track length (seen 83293, expected 100150) *** T22.0: Unexpected track length (seen 83282, expected 100150) *** T23.0: Unexpected track length (seen 83290, expected 100150) *** T24.0: Unexpected track length (seen 83284, expected 100150) *** T25.0: Unexpected track length (seen 83288, expected 100150) *** T26.0: Unexpected track length (seen 83284, expected 100150) *** T27.0: Unexpected track length (seen 83290, expected 100150) *** T28.0: Unexpected track length (seen 83286, expected 100150) *** T29.0: Unexpected track length (seen 83282, expected 100150) *** T30.0: Unexpected track length (seen 83290, expected 100150) *** T31.0: Unexpected track length (seen 83283, expected 100150) *** T32.0: Unexpected track length (seen 83291, expected 100150) *** T33.0: Unexpected track length (seen 83282, expected 100150) *** T34.0: Unexpected track length (seen 83290, expected 100150) *** T35.0: Unexpected track length (seen 83283, expected 100150) *** T36.0: Unexpected track length (seen 83287, expected 100150) *** T37.0: Unexpected track length (seen 83283, expected 100150) *** T38.0: Unexpected track length (seen 83282, expected 100150) *** T39.0: Unexpected track length (seen 83287, expected 100150) *** T40.0: Unexpected track length (seen 83281, expected 100150) *** T41.0: Unexpected track length (seen 83287, expected 100150) *** T42.0: Unexpected track length (seen 83280, expected 100150) *** T43.0: Unexpected track length (seen 83287, expected 100150) *** T44.0: Unexpected track length (seen 83278, expected 100150) *** T45.0: Unexpected track length (seen 83287, expected 100150) *** T46.0: Unexpected track length (seen 83280, expected 100150) *** T47.0: Unexpected track length (seen 83289, expected 100150) *** T48.0: Unexpected track length (seen 83282, expected 100150) *** T49.0: Unexpected track length (seen 83284, expected 100150) *** T50.0: Unexpected track length (seen 83287, expected 100150) *** T51.0: Unexpected track length (seen 83281, expected 100150) *** T52.0: Unexpected track length (seen 83288, expected 100150) *** T53.0: Unexpected track length (seen 83280, expected 100150) *** T54.0: Unexpected track length (seen 83285, expected 100150) *** T55.0: Unexpected track length (seen 83280, expected 100150) *** T56.0: Unexpected track length (seen 83283, expected 100150) *** T57.0: Unexpected track length (seen 83281, expected 100150) *** T58.0: Unexpected track length (seen 83284, expected 100150) *** T59.0: Unexpected track length (seen 83281, expected 100150) *** T60.0: Unexpected track length (seen 83280, expected 100150) *** T61.0: Unexpected track length (seen 83282, expected 100150) *** T62.0: Unexpected track length (seen 83276, expected 100150) *** T63.0: Unexpected track length (seen 83287, expected 100150) *** T64.0: Unexpected track length (seen 83278, expected 100150) *** T65.0: Unexpected track length (seen 83288, expected 100150) *** T66.0: Unexpected track length (seen 83278, expected 100150) *** T67.0: Unexpected track length (seen 83282, expected 100150) *** T68.0: Unexpected track length (seen 83282, expected 100150) *** T69.0: Unexpected track length (seen 83282, expected 100150) *** T70.0: Unexpected track length (seen 83283, expected 100150) *** T71.0: Unexpected track length (seen 83278, expected 100150) *** T72.0: Unexpected track length (seen 83281, expected 100150) *** T73.0: Unexpected track length (seen 83278, expected 100150) *** T74.0: Unexpected track length (seen 83287, expected 100150) *** T75.0: Unexpected track length (seen 83276, expected 100150) *** T76.0: Unexpected track length (seen 83283, expected 100150) T0.0-76.0: IBM-FM DD (8 512-byte sectors, 4096 bytes)
Note: the 512-byte sectors doesn't look right, they should be 1024-byte sectors.
Finally, check the image with ndfs
tingo@z30b:~/work/greaseweazle$ ~/bin/ndfs -t 525_nd_f0b_nd-10005u.img Directory name : ND-10005U Directory size : 154 pages Object file index pointer : 150 SI: 0x1 (indexed) User file index pointer : 152 SI: 0x1 (indexed) Bit file pointer : 77 SI: 0x0 (contiguous) No. of unreserved pages : 1 Files: 0 0: I 11 pages 21864 bytes 1984-01-09 13:26:39 (FLOPPY-USER)NRL-1935J:BPUN 0 1: I 2 pages 3852 bytes 1982-03-17 11:07:51 (FLOPPY-USER)GPM-2365B:BPUN 0 2: I 2 pages 4067 bytes 1982-03-17 11:09:37 (FLOPPY-USER)GPM-LIBR-2366B:SYMB 0 3: I 25 pages 49569 bytes 1983-12-19 13:47:07 (FLOPPY-USER)PERFORM-2412F:BPUN 0 4: I 2 pages 3497 bytes 1984-01-09 13:30:26 (FLOPPY-USER)PERFORM-LIBRARY:MCRO 0 5: I 9 pages 16748 bytes 1983-12-30 10:21:59 (FLOPPY-USER)BRF-EDITOR-1858F:BPUN 0 6: I 19 pages 38394 bytes 1978-12-21 13:54:33 (FLOPPY-USER)F32-EXTR-2232B:BPUN 0 7: I 41 pages 82337 bytes 1984-01-09 13:30:36 (FLOPPY-USER)LOOK-FILE-2244E:BPUN Directory size: 149 pages Bit file size : 1 page
looks good to me. I have also tested extraction of files from the image
tingo@z30b:~/work/greaseweazle/tmp$ ~/bin/ndfs -xlv ../525_nd_f0b_nd-10005u.img Directory name : nd-10005u Directory size : 154 pages Object file index pointer : 150 SI: 0x1 (indexed) User file index pointer : 152 SI: 0x1 (indexed) Bit file pointer : 77 SI: 0x0 (contiguous) No. of unreserved pages : 1 User file pointer 0: 153 Object file pointer 0: 151 User: 0 (256/256) floppy-user 122 pages used, 148 pages reserved Directory size: 149 pages Bit file size : 1 page Extracting: nrl-1935j.bpun Extracting: gpm-2365b.bpun Extracting: gpm-libr-2366b.symb Extracting: perform-2412f.bpun Extracting: perform-library.mcro Extracting: brf-editor-1858f.bpun Extracting: f32-extr-2232b.bpun Extracting: look-file-2244e.bpun
that works too.
- 2021-02-05
- upgrade the gw software to version 0.22. For some reason, the setup.sh or setup.py is missing from the release .zip file, so I'll have to install the software manually:
tingo@z30b:~/work/greaseweazle/Greaseweazle-v0.22$ python3 -m pip install --user bitarray crcmod pyserial Collecting bitarray Downloading bitarray-1.6.3.tar.gz (57 kB) |████████████████████████████████| 57 kB 4.9 MB/s Requirement already satisfied: crcmod in /usr/local/lib/python3.7/dist-packages (1.7) Requirement already satisfied: pyserial in /usr/lib/python3/dist-packages (3.4) Building wheels for collected packages: bitarray Building wheel for bitarray (setup.py) ... done Created wheel for bitarray: filename=bitarray-1.6.3-cp37-cp37m-linux_x86_64.whl size=130540 sha256=95f2a02446d26890cd816b1f3309e46a62acdef6fec33c66efc2581576b2d37a Stored in directory: /home/tingo/.cache/pip/wheels/d6/0b/65/70c57fa50b9bfee64ff71ac54630a058c921004947911126ab Successfully built bitarray Installing collected packages: bitarray Successfully installed bitarray-1.6.3 WARNING: You are using pip version 20.0.2; however, version 21.0.1 is available. You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.
now check that the software works
tingo@z30b:~/work/greaseweazle/Greaseweazle-v0.22$ ./gw Usage: ./gw [action] [-h] ... -h, --help Show help message for specified action Actions: info Display information about the Greaseweazle setup. read Read a disk to the specified image file. write Write a disk from the specified image file. erase Erase a disk. seek Seek to the specified cylinder. delays Display (and optionally modify) Greaseweazle drive-delay parameters. update Update the Greaseweazle device firmware to current version. pin Change the setting of a user-modifiable interface pin. reset Reset the Greaseweazle device to power-on default state. bandwidth Report the available USB bandwidth for the Greaseweazle device.
next, update the firmware (put a jumper on the gnd and dclk pins at the end of the Blue Pill, then connect the gw hardware to usb)
tingo@z30b:~/work/greaseweazle/Greaseweazle-v0.22$ ./gw update Updating Main Firmware to v0.22... Done. ** Disconnect Greaseweazle and remove the Programming Jumper.
2020
- 2020-02-06
- I remembered that FluxEngine now understands SCP format. Let me see if it can do anything to the scp file from a ND format 0b floppy
first - convert to flux
tingo@z30b:~/work/greaseweazle$ ~/personal/projects/psoc/fluxengine/fluxengine convert scptoflux 525_nd_f0b_nd-10005u.scp fe_525_nd_f0b_nd-10005u.flux tracks 0-77, heads 0-0 sample resolution: 25 ns 0.0: 493.334 ms in 390348 input bytes and 390350 output bytes 1.0: 492.75 ms in 418454 input bytes and 418456 output bytes 2.0: 492.788 ms in 418426 input bytes and 418428 output bytes 3.0: 492.73 ms in 418538 input bytes and 418540 output bytes 4.0: 492.787 ms in 418418 input bytes and 418420 output bytes 5.0: 492.744 ms in 418428 input bytes and 418430 output bytes 6.0: 492.783 ms in 418500 input bytes and 418502 output bytes 7.0: 492.788 ms in 418512 input bytes and 418514 output bytes 8.0: 492.794 ms in 418440 input bytes and 418442 output bytes 9.0: 492.762 ms in 418428 input bytes and 418430 output bytes 10.0: 492.81 ms in 418494 input bytes and 418496 output bytes 11.0: 492.842 ms in 418454 input bytes and 418456 output bytes 12.0: 492.865 ms in 418468 input bytes and 418470 output bytes 13.0: 492.804 ms in 418464 input bytes and 418466 output bytes 14.0: 493.371 ms in 371162 input bytes and 371164 output bytes 15.0: 493.793 ms in 358378 input bytes and 358380 output bytes 16.0: 493.828 ms in 354532 input bytes and 354534 output bytes 17.0: 493.944 ms in 346908 input bytes and 346910 output bytes 18.0: 493.197 ms in 375098 input bytes and 375100 output bytes 19.0: 493.227 ms in 379218 input bytes and 379220 output bytes 20.0: 494.303 ms in 335686 input bytes and 335688 output bytes 21.0: 493.332 ms in 374634 input bytes and 374636 output bytes 22.0: 493.221 ms in 379358 input bytes and 379360 output bytes 23.0: 493.235 ms in 380154 input bytes and 380156 output bytes 24.0: 493.49 ms in 367500 input bytes and 367502 output bytes 25.0: 493.458 ms in 368988 input bytes and 368990 output bytes 26.0: 493.623 ms in 364242 input bytes and 364244 output bytes 27.0: 493.284 ms in 376754 input bytes and 376756 output bytes 28.0: 493.123 ms in 387252 input bytes and 387254 output bytes 29.0: 494.272 ms in 337082 input bytes and 337084 output bytes 30.0: 495.253 ms in 295598 input bytes and 295600 output bytes 31.0: 493.797 ms in 351722 input bytes and 351724 output bytes 32.0: 494.252 ms in 341116 input bytes and 341118 output bytes 33.0: 493.246 ms in 384058 input bytes and 384060 output bytes 34.0: 493.31 ms in 384806 input bytes and 384808 output bytes 35.0: 493.305 ms in 382094 input bytes and 382096 output bytes 36.0: 493.341 ms in 379078 input bytes and 379080 output bytes 37.0: 493.16 ms in 382476 input bytes and 382478 output bytes 38.0: 493.317 ms in 375534 input bytes and 375536 output bytes 39.0: 493.255 ms in 376440 input bytes and 376442 output bytes 40.0: 493.723 ms in 352988 input bytes and 352990 output bytes 41.0: 493.771 ms in 355824 input bytes and 355826 output bytes 42.0: 493.81 ms in 350292 input bytes and 350294 output bytes 43.0: 493.714 ms in 353760 input bytes and 353762 output bytes 44.0: 495.08 ms in 295452 input bytes and 295454 output bytes 45.0: 495.081 ms in 295566 input bytes and 295568 output bytes 46.0: 495.076 ms in 296366 input bytes and 296368 output bytes 47.0: 495.075 ms in 295632 input bytes and 295634 output bytes 48.0: 495.12 ms in 295636 input bytes and 295638 output bytes 49.0: 493.374 ms in 363308 input bytes and 363310 output bytes 50.0: 493.227 ms in 375886 input bytes and 375888 output bytes 51.0: 494.144 ms in 337296 input bytes and 337298 output bytes 52.0: 492.917 ms in 389304 input bytes and 389306 output bytes 53.0: 493.413 ms in 364620 input bytes and 364622 output bytes 54.0: 493.596 ms in 353676 input bytes and 353678 output bytes 55.0: 493.424 ms in 359318 input bytes and 359320 output bytes 56.0: 493.62 ms in 353672 input bytes and 353674 output bytes 57.0: 494.315 ms in 324302 input bytes and 324304 output bytes 58.0: 493.627 ms in 352934 input bytes and 352936 output bytes 59.0: 493.585 ms in 358248 input bytes and 358250 output bytes 60.0: 493.314 ms in 378828 input bytes and 378830 output bytes 61.0: 493.197 ms in 384708 input bytes and 384710 output bytes 62.0: 493.544 ms in 368664 input bytes and 368666 output bytes 63.0: 494.247 ms in 332208 input bytes and 332210 output bytes 64.0: 494.33 ms in 328768 input bytes and 328770 output bytes 65.0: 493.353 ms in 380032 input bytes and 380034 output bytes 66.0: 494.02 ms in 345058 input bytes and 345060 output bytes 67.0: 493.899 ms in 346154 input bytes and 346156 output bytes 68.0: 493.511 ms in 367392 input bytes and 367394 output bytes 69.0: 493.329 ms in 378072 input bytes and 378074 output bytes 70.0: 494.841 ms in 295666 input bytes and 295668 output bytes 71.0: 493.346 ms in 380298 input bytes and 380300 output bytes 72.0: 493.417 ms in 378790 input bytes and 378792 output bytes 73.0: 493.581 ms in 368344 input bytes and 368346 output bytes 74.0: 494.34 ms in 326508 input bytes and 326510 output bytes 75.0: 494.651 ms in 302148 input bytes and 302150 output bytes 76.0: 494.82 ms in 295938 input bytes and 295940 output bytes 77.0: 492.973 ms in 378708 input bytes and 378710 output bytes
looks ok. Next, try to convert the flux file to img
tingo@z30b:~/work/greaseweazle$ ~/personal/projects/psoc/fluxengine/fluxengine read ibm -s fe_525_nd_f0b_nd-10005u.flux:s=0:t=0-76 -o fe_525_nd_f0b_nd-10005u.img Reading from: fe_525_nd_f0b_nd-10005u.flux:d=0:s=0:t=0-76 [..] Autodetecting output geometry H.SS Tracks ---> 0. 0 ............................................................................. 0. 1 ............................................................................. 0. 2 ............................................................................. 0. 3 ............................................................................. 0. 4 ............................................................................. 0. 5 ............................................................................. 0. 6 ............................................................................. 0. 7 ............................................................................. Good sectors: 616/616 (100%) Missing sectors: 0/616 (0%) Bad sectors: 0/616 (0%) writing 77 tracks, 1 heads, 8 sectors, 512 bytes per sector, 308 kB total
that worked nicely. Does ndfs agree?
tingo@z30b:~/work/greaseweazle$ ~/bin/ndfs -t fe_525_nd_f0b_nd-10005u.img Directory name : ND-10005U Object file index pointer : 150 SI: 0x1 (indexed) User file index pointer : 152 SI: 0x1 (indexed) Bit file pointer : 77 SI: 0x0 (contiguous) No. of unreserved pages : 1 Files: 0 0: I 11 pages 21864 bytes 1984-01-09 13:26:39 (FLOPPY-USER)NRL-1935J:BPUN 0 1: I 2 pages 3852 bytes 1982-03-17 11:07:51 (FLOPPY-USER)GPM-2365B:BPUN 0 2: I 2 pages 4067 bytes 1982-03-17 11:09:37 (FLOPPY-USER)GPM-LIBR-2366B:SYMB 0 3: I 25 pages 49569 bytes 1983-12-19 13:47:07 (FLOPPY-USER)PERFORM-2412F:BPUN 0 4: I 2 pages 3497 bytes 1984-01-09 13:30:26 (FLOPPY-USER)PERFORM-LIBRARY:MCRO 0 5: I 9 pages 16748 bytes 1983-12-30 10:21:59 (FLOPPY-USER)BRF-EDITOR-1858F:BPUN 0 6: I 19 pages 38394 bytes 1978-12-21 13:54:33 (FLOPPY-USER)F32-EXTR-2232B:BPUN 0 7: I 41 pages 82337 bytes 1984-01-09 13:30:36 (FLOPPY-USER)LOOK-FILE-2244E:BPUN Directory size: 149 pages Bit file size : 1 page
it does. That is very useful. I also verified that I can extract files from the image - it works. Conclusion: the Greaseweazle hardware and reading prorgam (gw.py) is ok, but Disk-Utilities have trouble with (at least one example of) ND format 0b.
- 2020-02-03
- using the Greaseweazle to read a 5.25 inch, ND format 17b floppy, and convert it
- read
tingo@z30b:~/work/greaseweazle$ ./Greaseweazle-v0.11/gw.py read --ecyl 76 525_nd_f17b_211024-c01-xx-01d.scp ** Greaseweazle v0.11 [F1], Host Tools v0.11 Reading Track 76.1...
- convert
tingo@z30b:~/work/greaseweazle$ LD_LIBRARY_PATH=Disk-Utilities/libdisk/ ./Disk-Utilities/disk-analyse/disk-analyse --config=./Disk-Utilities/disk-analyse/formats --format=ibm --end-cyl=76 525_nd_f17b_211024-c01-xx-01d.scp 525_nd_f17b_211024-c01-xx-01d.img *** T0.0: Unexpected track length (seen 166571, expected 200300) *** T0.1: Unexpected track length (seen 166563, expected 200300) *** T1.0: Unexpected track length (seen 166569, expected 200300) *** T1.1: Unexpected track length (seen 166567, expected 200300) *** T2.0: Unexpected track length (seen 166566, expected 200300) *** T2.1: Unexpected track length (seen 166573, expected 200300) *** T3.0: Unexpected track length (seen 166554, expected 200300) *** T3.1: Unexpected track length (seen 166571, expected 200300) *** T4.0: Unexpected track length (seen 166554, expected 200300) *** T4.1: Unexpected track length (seen 166573, expected 200300) *** T5.0: Unexpected track length (seen 166556, expected 200300) *** T5.1: Unexpected track length (seen 166566, expected 200300) *** T6.0: Unexpected track length (seen 166558, expected 200300) *** T6.1: Unexpected track length (seen 166562, expected 200300) *** T7.0: Unexpected track length (seen 166560, expected 200300) *** T7.1: Unexpected track length (seen 166562, expected 200300) *** T8.0: Unexpected track length (seen 166567, expected 200300) *** T8.1: Unexpected track length (seen 166551, expected 200300) *** T9.0: Unexpected track length (seen 166573, expected 200300) *** T9.1: Unexpected track length (seen 166553, expected 200300) *** T10.0: Unexpected track length (seen 166573, expected 200300) *** T10.1: Unexpected track length (seen 166557, expected 200300) *** T11.0: Unexpected track length (seen 166561, expected 200300) *** T11.1: Unexpected track length (seen 166557, expected 200300) *** T12.0: Unexpected track length (seen 166554, expected 200300) *** T12.1: Unexpected track length (seen 166564, expected 200300) *** T13.0: Unexpected track length (seen 166554, expected 200300) *** T13.1: Unexpected track length (seen 166569, expected 200300) *** T14.0: Unexpected track length (seen 166556, expected 200300) *** T14.1: Unexpected track length (seen 166567, expected 200300) *** T15.0: Unexpected track length (seen 166549, expected 200300) *** T15.1: Unexpected track length (seen 166572, expected 200300) *** T16.0: Unexpected track length (seen 166550, expected 200300) *** T16.1: Unexpected track length (seen 166558, expected 200300) *** T17.0: Unexpected track length (seen 166558, expected 200300) *** T17.1: Unexpected track length (seen 166558, expected 200300) *** T18.0: Unexpected track length (seen 166569, expected 200300) *** T18.1: Unexpected track length (seen 166550, expected 200300) *** T19.0: Unexpected track length (seen 166573, expected 200300) *** T19.1: Unexpected track length (seen 166549, expected 200300) *** T20.0: Unexpected track length (seen 166566, expected 200300) *** T20.1: Unexpected track length (seen 166543, expected 200300) *** T21.0: Unexpected track length (seen 166562, expected 200300) *** T21.1: Unexpected track length (seen 166556, expected 200300) *** T22.0: Unexpected track length (seen 166566, expected 200300) *** T22.1: Unexpected track length (seen 166557, expected 200300) *** T23.0: Unexpected track length (seen 166553, expected 200300) *** T23.1: Unexpected track length (seen 166568, expected 200300) *** T24.0: Unexpected track length (seen 166554, expected 200300) *** T24.1: Unexpected track length (seen 166564, expected 200300) *** T25.0: Unexpected track length (seen 166553, expected 200300) *** T25.1: Unexpected track length (seen 166565, expected 200300) *** T26.0: Unexpected track length (seen 166551, expected 200300) *** T26.1: Unexpected track length (seen 166569, expected 200300) *** T27.0: Unexpected track length (seen 166559, expected 200300) *** T27.1: Unexpected track length (seen 166560, expected 200300) *** T28.0: Unexpected track length (seen 166560, expected 200300) *** T28.1: Unexpected track length (seen 166556, expected 200300) *** T29.0: Unexpected track length (seen 166566, expected 200300) *** T29.1: Unexpected track length (seen 166547, expected 200300) *** T30.0: Unexpected track length (seen 166573, expected 200300) *** T30.1: Unexpected track length (seen 166546, expected 200300) *** T31.0: Unexpected track length (seen 166566, expected 200300) *** T31.1: Unexpected track length (seen 166556, expected 200300) *** T32.0: Unexpected track length (seen 166560, expected 200300) *** T32.1: Unexpected track length (seen 166554, expected 200300) *** T33.0: Unexpected track length (seen 166554, expected 200300) *** T33.1: Unexpected track length (seen 166557, expected 200300) *** T34.0: Unexpected track length (seen 166550, expected 200300) *** T34.1: Unexpected track length (seen 166566, expected 200300) *** T35.0: Unexpected track length (seen 166551, expected 200300) *** T35.1: Unexpected track length (seen 166565, expected 200300) *** T36.0: Unexpected track length (seen 166551, expected 200300) *** T36.1: Unexpected track length (seen 166564, expected 200300) *** T37.0: Unexpected track length (seen 166550, expected 200300) *** T37.1: Unexpected track length (seen 166560, expected 200300) *** T38.0: Unexpected track length (seen 166560, expected 200300) *** T38.1: Unexpected track length (seen 166551, expected 200300) *** T39.0: Unexpected track length (seen 166562, expected 200300) *** T39.1: Unexpected track length (seen 166552, expected 200300) *** T40.0: Unexpected track length (seen 166567, expected 200300) *** T40.1: Unexpected track length (seen 166545, expected 200300) *** T41.0: Unexpected track length (seen 166562, expected 200300) *** T41.1: Unexpected track length (seen 166544, expected 200300) *** T42.0: Unexpected track length (seen 166559, expected 200300) *** T42.1: Unexpected track length (seen 166546, expected 200300) *** T43.0: Unexpected track length (seen 166559, expected 200300) *** T43.1: Unexpected track length (seen 166558, expected 200300) *** T44.0: Unexpected track length (seen 166553, expected 200300) *** T44.1: Unexpected track length (seen 166563, expected 200300) *** T45.0: Unexpected track length (seen 166546, expected 200300) *** T45.1: Unexpected track length (seen 166565, expected 200300) *** T46.0: Unexpected track length (seen 166550, expected 200300) *** T46.1: Unexpected track length (seen 166563, expected 200300) *** T47.0: Unexpected track length (seen 166547, expected 200300) *** T47.1: Unexpected track length (seen 166565, expected 200300) *** T48.0: Unexpected track length (seen 166554, expected 200300) *** T48.1: Unexpected track length (seen 166558, expected 200300) *** T49.0: Unexpected track length (seen 166554, expected 200300) *** T49.1: Unexpected track length (seen 166548, expected 200300) *** T50.0: Unexpected track length (seen 166562, expected 200300) *** T50.1: Unexpected track length (seen 166546, expected 200300) *** T51.0: Unexpected track length (seen 166568, expected 200300) *** T51.1: Unexpected track length (seen 166541, expected 200300) *** T52.0: Unexpected track length (seen 166562, expected 200300) *** T52.1: Unexpected track length (seen 166544, expected 200300) *** T53.0: Unexpected track length (seen 166556, expected 200300) *** T53.1: Unexpected track length (seen 166553, expected 200300) *** T54.0: Unexpected track length (seen 166557, expected 200300) *** T54.1: Unexpected track length (seen 166559, expected 200300) *** T55.0: Unexpected track length (seen 166554, expected 200300) *** T55.1: Unexpected track length (seen 166561, expected 200300) *** T56.0: Unexpected track length (seen 166546, expected 200300) *** T56.1: Unexpected track length (seen 166568, expected 200300) *** T57.0: Unexpected track length (seen 166547, expected 200300) *** T57.1: Unexpected track length (seen 166562, expected 200300) *** T58.0: Unexpected track length (seen 166553, expected 200300) *** T58.1: Unexpected track length (seen 166556, expected 200300) *** T59.0: Unexpected track length (seen 166550, expected 200300) *** T59.1: Unexpected track length (seen 166552, expected 200300) *** T60.0: Unexpected track length (seen 166555, expected 200300) *** T60.1: Unexpected track length (seen 166549, expected 200300) *** T61.0: Unexpected track length (seen 166562, expected 200300) *** T61.1: Unexpected track length (seen 166545, expected 200300) *** T62.0: Unexpected track length (seen 166564, expected 200300) *** T62.1: Unexpected track length (seen 166545, expected 200300) *** T63.0: Unexpected track length (seen 166563, expected 200300) *** T63.1: Unexpected track length (seen 166552, expected 200300) *** T64.0: Unexpected track length (seen 166558, expected 200300) *** T64.1: Unexpected track length (seen 166551, expected 200300) *** T65.0: Unexpected track length (seen 166553, expected 200300) *** T65.1: Unexpected track length (seen 166553, expected 200300) *** T66.0: Unexpected track length (seen 166545, expected 200300) *** T66.1: Unexpected track length (seen 166562, expected 200300) *** T67.0: Unexpected track length (seen 166548, expected 200300) *** T67.1: Unexpected track length (seen 166564, expected 200300) *** T68.0: Unexpected track length (seen 166542, expected 200300) *** T68.1: Unexpected track length (seen 166564, expected 200300) *** T69.0: Unexpected track length (seen 166548, expected 200300) *** T69.1: Unexpected track length (seen 166558, expected 200300) *** T70.0: Unexpected track length (seen 166552, expected 200300) *** T70.1: Unexpected track length (seen 166555, expected 200300) *** T71.0: Unexpected track length (seen 166563, expected 200300) *** T71.1: Unexpected track length (seen 166547, expected 200300) *** T72.0: Unexpected track length (seen 166567, expected 200300) *** T72.1: Unexpected track length (seen 166543, expected 200300) *** T73.0: Unexpected track length (seen 166562, expected 200300) *** T73.1: Unexpected track length (seen 166548, expected 200300) *** T74.0: Unexpected track length (seen 166559, expected 200300) *** T74.1: Unexpected track length (seen 166549, expected 200300) *** T75.0: Unexpected track length (seen 166559, expected 200300) *** T75.1: Unexpected track length (seen 166556, expected 200300) *** T76.0: Unexpected track length (seen 166553, expected 200300) *** T76.1: Unexpected track length (seen 166558, expected 200300) T0.0-76.1: IBM-MFM HD (8 1024-byte sectors, 8192 bytes)
lots of warnings before the final confirmation - the program was able to understand the format. Test with ndfs
tingo@z30b:~/work/greaseweazle$ ~/bin/ndfs -t 525_nd_f17b_211024-c01-xx-01d.img Directory name : 211024C01-XX-01D Object file index pointer : 508 SI: 0x1 (indexed) User file index pointer : 510 SI: 0x1 (indexed) Bit file pointer : 306 SI: 0x0 (contiguous) No. of unreserved pages : 1 Files: 0 0: I 89 pages 184320 bytes 1987-09-21 12:21:10 (FLOPPY-USER)S3-CONFIG-C00:PROG 0 1: I 16 pages 32448 bytes 1987-05-18 08:39:11 (FLOPPY-USER)DDBTABLES-E07:VTM 0 2: I 51 pages 86016 bytes 1987-09-21 12:21:27 (FLOPPY-USER)NOTS-SERVICE-C00:PROG Directory size: 611 pages Bit file size : 1 page
looks good - try to extract files
tingo@z30b:~/work/greaseweazle/tmp$ ~/bin/ndfs -x -v -l ../525_nd_f17b_211024-c01-xx-01d.img Directory name : 211024c01-xx-01d Object file index pointer : 508 SI: 0x1 (indexed) User file index pointer : 510 SI: 0x1 (indexed) Bit file pointer : 306 SI: 0x0 (contiguous) No. of unreserved pages : 1 User file pointer 0: 511 Object file pointer 0: 509 User: 0 (256/256) floppy-user 160 pages used, 610 pages reserved Directory size: 611 pages Bit file size : 1 page Extracting: s3-config-c00.prog Extracting: ddbtables-e07.vtm Extracting: nots-service-c00.prog
and the files are here
tingo@z30b:~/work/greaseweazle/tmp$ ls -l total 296 -rw-r--r-- 1 tingo tingo 32448 May 18 1987 ddbtables-e07.vtm -rw-r--r-- 1 tingo tingo 86016 Sep 21 1987 nots-service-c00.prog -rw-r--r-- 1 tingo tingo 184320 Sep 21 1987 s3-config-c00.prog
so that looks like it works.
- 2020-02-03
- using the Greaseweazle to read a 5.25 inch, ND format 0b floppy, and convert it
- read
tingo@z30b:~/work/greaseweazle$ ./Greaseweazle-v0.11/gw.py read --ecyl 76 --single-sided 525_nd_f0b_nd-10005u_2.scp ** Greaseweazle v0.11 [F1], Host Tools v0.11 Reading Track 76.0...
- convert
tingo@z30b:~/work/greaseweazle$ LD_LIBRARY_PATH=Disk-Utilities/libdisk/ ./Disk-Utilities/disk-analyse/disk-analyse --config=./Disk-Utilities/disk-analyse/formats --format=ibm --ss=0 --end-cyl=76 525_nd_f0b_nd-10005u_2.scp 525_nd_f0b_nd-10005u_3.img *** T0.0: Unexpected track length (seen 83293, expected 100150) *** T1.0: Unexpected track length (seen 83406, expected 100150) *** T2.0: Unexpected track length (seen 83407, expected 100150) *** T3.0: Unexpected track length (seen 83404, expected 100150) *** T4.0: Unexpected track length (seen 83406, expected 100150) *** T5.0: Unexpected track length (seen 83405, expected 100150) *** T6.0: Unexpected track length (seen 83407, expected 100150) *** T7.0: Unexpected track length (seen 83123, expected 100150) *** T8.0: Unexpected track length (seen 83125, expected 100150) *** T9.0: Unexpected track length (seen 83122, expected 100150) *** T10.0: Unexpected track length (seen 83123, expected 100150) *** T11.0: Unexpected track length (seen 83123, expected 100150) *** T12.0: Unexpected track length (seen 83122, expected 100150) *** T13.0: Unexpected track length (seen 83120, expected 100150) *** T14.0: Unexpected track length (seen 83120, expected 100150) *** T15.0: Unexpected track length (seen 83124, expected 100150) *** T16.0: Unexpected track length (seen 83126, expected 100150) *** T17.0: Unexpected track length (seen 83124, expected 100150) *** T18.0: Unexpected track length (seen 83121, expected 100150) *** T19.0: Unexpected track length (seen 83122, expected 100150) *** T20.0: Unexpected track length (seen 83122, expected 100150) *** T21.0: Unexpected track length (seen 83123, expected 100150) *** T22.0: Unexpected track length (seen 83125, expected 100150) *** T23.0: Unexpected track length (seen 83121, expected 100150) *** T24.0: Unexpected track length (seen 83123, expected 100150) *** T25.0: Unexpected track length (seen 83121, expected 100150) *** T26.0: Unexpected track length (seen 83121, expected 100150) *** T27.0: Unexpected track length (seen 83122, expected 100150) *** T28.0: Unexpected track length (seen 83120, expected 100150) *** T29.0: Unexpected track length (seen 83121, expected 100150) *** T30.0: Unexpected track length (seen 83119, expected 100150) *** T31.0: Unexpected track length (seen 83122, expected 100150) *** T32.0: Unexpected track length (seen 83123, expected 100150) *** T33.0: Unexpected track length (seen 83121, expected 100150) *** T34.0: Unexpected track length (seen 83122, expected 100150) *** T35.0: Unexpected track length (seen 83119, expected 100150) *** T36.0: Unexpected track length (seen 83123, expected 100150) *** T37.0: Unexpected track length (seen 83119, expected 100150) *** T38.0: Unexpected track length (seen 83122, expected 100150) T0.0-38.0: IBM-FM DD (8 512-byte sectors, 4096 bytes) T39.0-76.0: Unformatted* ** WARNING: 38 tracks are damaged or unidentified!
doesn't look too good, try to see if ndfs wants it
tingo@z30b:~/work/greaseweazle$ ~/bin/ndfs -t 525_nd_f0b_nd-10005u_3.img Directory name : ND-10005U Object file index pointer : 150 SI: 0x1 (indexed) User file index pointer : 152 SI: 0x1 (indexed) Bit file pointer : 77 SI: 0x0 (contiguous) No. of unreserved pages : 1 Error reading page 152: Success
No - needs more testing