FluxEngine - FreeBSD
FluxEngine under FreeBSD.
back to main FluxEngine page.
links
Working with Macintosh Floppy Disks in the New Millennium, Mini vMac, amitools, xdftool,
local links
c1, PSoC Creator (win), v7,
History
2025-11-09: I created this page and recovered old contents from WaybackMachine.
2020-07-16: c1 - more floppies, 3.5 inch, HD, IBM format
tingo@kg-core1$ mdir -w -i 35_ibm_hd_windows95_startup_disc.img Volume in drive : has no label Volume Serial Number is 2CA7-0641 Directory for ::/ drvspace.bin command.com format.com sys.com fdisk.exe attrib.exe edit.com regedit.exe scandisk.exe scandisk.ini debug.exe chkdsk.exe uninstal.exe 13 files 748 391 bytes 481 792 bytes free tingo@kg-core1$ mdir -w -i 35_ibm_hd_ncr_cd-boot.img Volume in drive : is CD-BOOT Volume Serial Number is 1CD7-3D75 Directory for ::/ command.com [cdrom] [keyb] autoexec.bat config.sys attrib.exe ghost.exe deltree.exe edit.com fdisk.exe format.com fx.cmd fx.exe qbasic.exe scandisk.exe scandisk.ini sys.com ghost.env autoexec.tst 19 files 830 784 bytes 222 208 bytes free tingo@kg-core1$ mdir -w -i 35_ibm_hd_boot_95b.img Volume in drive : is BOOT95B Volume Serial Number is F8C1-4B4A Directory for ::/ command.com format.com sys.com himem.sys fdisk.exe attrib.exe edit.com regedit.exe scandisk.exe scandisk.ini debug.exe chkdsk.exe uninstal.exe config.sys mscdex.exe label.exe cd1.sys xcopy.exe deltree.exe xcopy32.exe autoexec.bat cd2.sys cd3.sys cd4.sys extract.exe mem.exe move.exe find.exe 28 files 1 048 917 bytes 119 808 bytes free tingo@kg-core1$ mdir -w -i 35_ibm_hd_oppstartsdiskett_for_windows95.img Volume in drive : has no label Volume Serial Number is 2659-8B01 Directory for ::/ drvspace.bin command.com format.com sys.com config.sys autoexec.bat display.sys country.sys ega.cpi mode.com keyboard.sys keyb.com fdisk.exe attrib.exe edit.com regedit.exe scandisk.exe scandisk.ini debug.exe chkdsk.exe uninstal.exe 21 files 935 360 bytes 292 864 bytes free Volume in drive : is BOOT95B Volume Serial Number is C01C-9749 Directory for ::/ command.com format.com sys.com himem.sys fdisk.exe attrib.exe edit.com regedit.exe scandisk.exe scandisk.ini debug.exe chkdsk.exe uninstal.exe config.sys mscdex.exe label.exe cd1.sys xcopy.exe deltree.exe xcopy32.exe autoexec.bat cd2.sys cd3.sys cd4.sys extract.exe mem.exe move.exe find.exe 28 files 1 048 917 bytes 119 808 bytes free
ok
2020-07-16: c1 - read 3.5 inch, HD, IBM format:
tingo@kg-core1$ pwd /home/tingo/personal/projects/PSoC/fluxengine/tmp tingo@kg-core1$ ../fluxengine read ibm -o 35_ibm_hd_verbatim_black_label_1.img [..] H.SS Tracks ---> 0. 0 ................................................................................ 0. 1 ................................................................................ 0. 2 ................................................................................ 0. 3 ................................................................................ 0. 4 ................................................................................ 0. 5 ................................................................................ 0. 6 ................................................................................ 0. 7 ................................................................................ 0. 8 ................................................................................ 0. 9 ................................................................................ 0.10 ................................................................................ 0.11 ................................................................................ 0.12 ................................................................................ 0.13 ................................................................................ 0.14 ................................................................................ 0.15 ................................................................................ 0.16 ................................................................................ 0.17 ................................................................................ 1. 0 ................................................................................ 1. 1 ................................................................................ 1. 2 ................................................................................ 1. 3 ................................................................................ 1. 4 ................................................................................ 1. 5 ................................................................................ 1. 6 ................................................................................ 1. 7 .......................................................................X........ 1. 8 ................................................................................ 1. 9 ................................................................................ 1.10 ................................................................................ 1.11 ................................................................................ 1.12 ................................................................................ 1.13 ................................................................................ 1.14 ................................................................................ 1.15 ................................................................................ 1.16 ................................................................................ 1.17 ................................................................................ Good sectors: 2879/2880 (99%) Missing sectors: 1/2880 (0%) Bad sectors: 0/2880 (0%) writing 80 tracks, 2 heads, 18 sectors, 512 bytes per sector, 1440 kB total
file says
tingo@kg-core1$ file 35_ibm_hd_verbatim_black_label_1.img 35_ibm_hd_verbatim_black_label_1.img: DOS/MBR boot sector, code offset 0x3e+2, OEM-ID "!*rSPIHC" cached by Windows 9M, root entries 224, sectors 2880 (volumes <=32 MB), sectors/FAT 9, sectors/track 18, serial number 0x16f31f58, unlabeled, FAT (12 bit), followed by FAT
and mdir
tingo@kg-core1$ mdir -w -i 35_ibm_hd_verbatim_black_label_1.img Volume in drive : has no label Volume Serial Number is 16F3-1F58 Directory for ::/ lj428en1.exe 1 file 1 035 310 bytes 421 888 bytes free
ok. I also imaged the rest of the black Verbatim floppies (labeled "2" through "5"), I only show mdir output here
tingo@kg-core1$ mdir -w -i 35_ibm_hd_verbatim_black_label_2.img Volume in drive : has no label Volume Serial Number is 16E0-1C4D Directory for ::/ lj428en2.exe 1 file 1 351 970 bytes 105 472 bytes free tingo@kg-core1$ mdir -w -i 35_ibm_hd_verbatim_black_label_3.img Volume in drive : has no label Volume Serial Number is 16E7-124F Directory for ::/ lj428en3.exe 1 file 1 368 711 bytes 88 576 bytes free tingo@kg-core1$ mdir -w -i 35_ibm_hd_verbatim_black_label_4.img Volume in drive : has no label Volume Serial Number is 16EC-2545 Directory for ::/ lj428en4.exe 1 file 1 351 027 bytes 106 496 bytes free tingo@kg-core1$ tingo@kg-core1$ mdir -w -i 35_ibm_hd_verbatim_black_label_5.img Volume in drive : has no label Volume Serial Number is 16E2-281A Directory for ::/ lj428en5.exe 1 file 576 387 bytes 881 152 bytes free
more floppies, 3.5 inch, HD, IBM format
tingo@kg-core1$ ../fluxengine read ibm -o 35_ibm_hd_flysim.zip.img [..] H.SS Tracks ---> 0. 0 ................................................................................ 0. 1 ................................................................................ 0. 2 ................................................................................ 0. 3 ................................................................................ 0. 4 ................................................................................ 0. 5 ................................................................................ 0. 6 ................................................................................ 0. 7 .....................................................................BBBBB....B? 0. 8 ................................................................................ 0. 9 ................................................................................ 0.10 ................................................................................ 0.11 ................................................................................ 0.12 ................................................................................ 0.13 ................................................................................ 0.14 ................................................................................ 0.15 ................................................................................ 0.16 ................................................................................ 0.17 ................................................................................ 1. 0 ................................................................................ 1. 1 ................................................................................ 1. 2 ................................................................................ 1. 3 ................................................................................ 1. 4 ................................................................................ 1. 5 ...................................................................X.........X.. 1. 6 ................................................................................ 1. 7 .....................................................................BB???X...BB 1. 8 ................................................................................ 1. 9 .............................................................................X.. 1.10 ................................................................................ 1.11 ................................................................................ 1.12 ..............................................................................B. 1.13 ................................................................................ 1.14 ................................................................................ 1.15 ................................................................................ 1.16 ................................................................................ 1.17 ................................................................................ Good sectors: 2865/2880 (99%) Missing sectors: 4/2880 (0%) Bad sectors: 11/2880 (0%) writing 80 tracks, 2 heads, 18 sectors, 512 bytes per sector, 1440 kB total
hmm,
tingo@kg-core1$ mdir -w -i 35_ibm_hd_flysim.zip.img Volume in drive : has no label Directory for ::/ flysim.zip 1 file 672 046 bytes 785 408 bytes free
looks ok. Even more floppies
tingo@kg-core1$ mdir -w -i 35_ibm_hd_chess.img Volume in drive : has no label Directory for ::/ allcanm1 allcanm2 chess.exe chess.sav emu.com 5 files 611 531 bytes 845 312 bytes free tingo@kg-core1$ mdir -w -i 35_ibm_hd_space1.img Volume in drive : has no label Directory for ::/ spacei.zip 1 file 786 446 bytes 670 720 bytes free
so it is "spacei" note "space1". Probably Space Invaders, then.
tingo@kg-core1$ mdir -w -i 35_ibm_hd_larry.zip.img Volume in drive : has no label Directory for ::/ larry04.zip spaceii.zip pictures.zip film.zip 4 files 1 341 584 bytes 115 200 bytes free tingo@kg-core1$ mdir -w -i 35_ibm_hd_wpg-filer.img Volume in drive : has no label Directory for ::/ chanel.wpg eagle.wpg parrots.wpg waterfal.wpg 4 files 105 645 bytes 1 351 168 bytes free tingo@kg-core1$ mdir -w -i 35_ibm_hd_verbatim_black_diagnostick_disc_globalyst_630.img Volume in drive : is 515-0007493 Volume Serial Number is 0000-0000 Directory for ::/ a2940tsr.slm apm.exe autoexec.bat auxdev.dg c825tsr.slm c974tsr.slm class.dta coldboot.com command.com debug.exe diag.exe diags.bat diskcopy.com error.log flex.dg ide.dg intelmp.dg keybd.dg logview.dg memory.dg multimda.dg multimda.wav port.dg power.dg printert.dg run.exe scsi.dg scsicom.dg scsifmt.dg scsitsr.exe sheldiag.dta shell.bat system.dg tools.dg video.dg config.log current.tst 37 files 985 065 bytes 307 712 bytes free
and one 3.5 inch, DD, IBM format
tingo@kg-core1$ ../fluxengine read ibm -o 35_ibm_dd_basf_label_backup_s682.img [..] H.SS Tracks ---> 0. 0 ................................................................................ 0. 1 ................................................................................ 0. 2 ................................................................................ 0. 3 ...............................................................................B 0. 4 ................................................................................ 0. 5 ................................................................................ 0. 6 ................................................................................ 0. 7 ................................................................................ 0. 8 ................................................................................ 1. 0 ................................................................................ 1. 1 ................................................................................ 1. 2 ................................................................................ 1. 3 ..........................................................................B..... 1. 4 ................................................................................ 1. 5 ................................................................................ 1. 6 ................................................................................ 1. 7 ................................................................................ 1. 8 ................................................................................ Good sectors: 1438/1440 (99%) Missing sectors: 0/1440 (0%) Bad sectors: 2/1440 (0%) writing 80 tracks, 2 heads, 9 sectors, 512 bytes per sector, 720 kB total
mdir
tingo@kg-core1$ mdir -w -i 35_ibm_dd_basf_label_backup_s682.img Volume in drive : has no label Directory for ::/ pkz101.exe dbaseiii.zip turbopas.zip supermen.zip readme.doc 5 files 595 429 bytes 132 096 bytes free contents of zip files tingo@kg-core1$ unzip -l turbopas.zip Archive: turbopas.zip Length Date Time Name -------- ---- ---- ---- 36480 03-22-86 09:48 TURBO.COM 1469 04-13-86 11:12 TURBO.MSG tingo@kg-core1$ unzip -l supermen.zip Archive: supermen.zip Length Date Time Name -------- ---- ---- ---- 1412 10-17-89 17:09 MAL 61 04-02-89 13:29 INSTAL.BAT 523 10-16-89 20:53 N 126 12-10-89 18:03 SMENY.EKV 3072 05-09-89 21:54 SMENY.EXE 7200 11-23-89 12:00 SMENY.NOT 50523 12-10-89 18:03 SMENY.REG 49056 06-14-89 20:23 SMENYDOS.EXE 77520 06-16-89 00:12 SMENYSK.EXE 993 10-11-89 22:29 FP tingo@kg-core1$ unzip -l dbaseiii.zip Archive: dbaseiii.zip Length Date Time Name -------- ---- ---- ---- 133632 05-04-87 15:09 DBASE.EXE 31872 01-01-80 00:33 FFM.EXE 40080 11-05-85 11:02 INSTALLH.COM 23760 07-24-86 12:00 APPSGEN.PRG 39 01-01-80 00:11 OPPSTART.PRG 17642 07-24-86 12:00 ASSIST.HLP 876 11-05-85 11:01 INSTALL.HLP 723 11-05-85 11:01 UNINSTAL.HLP 36 01-01-80 00:04 CONFIG.DB 66560 07-24-86 12:00 HELP.DBS 98 01-08-88 02:21 REGISTER.DBF 63 01-01-80 00:02 CONFIG.SYS 12420 05-04-87 15:09 DBASE.MSG 156 04-04-85 10:30 DBPRINT.PTB 316 11-05-85 11:01 INSTALL.BAT 41 01-01-80 00:07 OPPSTART.BAK 161 11-05-85 11:02 UNINSTAL.BAT 266240 07-24-86 12:00 DBASE.OVL 27648 07-29-86 12:00 DBASEINL.OVL
ok
2020-04-09: c1 - read 3.5 inch, HD floppy, Amiga format, Thor_1 - try it again first, rename the old one
tingo@kg-core1$ cd tmp tingo@kg-core1$ ll *thor_1* -rw-r--r-- 1 tingo tingo - 1802240 Apr 7 23:56 35_amiga_hd_thor_1.adf
rename it
tingo@kg-core1$ mv 35_amiga_hd_thor_1.adf o_35_amiga_hd_thor_1.adf
now, try to read the floppy again
tingo@kg-core1$ ../fluxengine read amiga -o 35_amiga_hd_thor_1.adf:s=22 Reading from: :d=0:s=0-1:t=0-79 [..] H.SS Tracks ---> 0. 0 ................................................................................ 0. 1 ................................................................................ 0. 2 ................................................................................ 0. 3 ................................................................................ 0. 4 ................................................................................ 0. 5 ................................................................................ 0. 6 ................................................................................ 0. 7 ................................................................................ 0. 8 ................................................................................ 0. 9 ................................................................................ 0.10 ................................................................................ 0.11 ................................................................................ 0.12 ................................................................................ 0.13 ................................................................................ 0.14 ................................................................................ 0.15 ................................................................................ 0.16 ................................................................................ 0.17 ................................................................................ 0.18 ................................................................................ 0.19 ................................................................................ 0.20 ................................................................................ 0.21 ................................................................................ 1. 0 ................................................................................ 1. 1 ................................................................................ 1. 2 ................................................................................ 1. 3 ................................................................................ 1. 4 ................................................................................ 1. 5 ................................................................................ 1. 6 ................................................................................ 1. 7 ................................................................................ 1. 8 ................................................................................ 1. 9 ................................................................................ 1.10 ................................................................................ 1.11 ................................................................................ 1.12 ................................................................................ 1.13 ................................................................................ 1.14 ................................................................................ 1.15 ................................................................................ 1.16 ................................................................................ 1.17 ................................................................................ 1.18 ................................................................................ 1.19 ................................................................................ 1.20 ................................................................................ 1.21 ................................................................................ Good sectors: 3520/3520 (100%) Missing sectors: 0/3520 (0%) Bad sectors: 0/3520 (0%) writing 80 tracks, 2 heads, 22 sectors, 512 bytes per sector, 1760 kB total
xdftool
tingo@kg-core1$ xdftool 35_amiga_hd_thor_1.adf info total: 3520 1.7Mi 1802240 used: 3404 1.7Mi 1742848 96.70% free: 116 58Ki 59392 3.30% tingo@kg-core1$ xdfscan 35_amiga_hd_thor_1.adf E002 NOK 35_amiga_hd_thor_1.adf tingo@kg-core1$ xdftool 35_amiga_hd_thor_1.adf list Thor_1 VOLUME -------- 04.03.1994 19:06:41.13 DOS1:ffs #512 AddMsg.lha 3825 ----rw-d 16.01.1994 17:07:07.01 LR0_451.lha 36389 ----rw-d 03.02.1994 23:55:08.35 parsqwk1.193.lha 10566 ----rw-d 08.01.1994 19:14:14.00 THOR.info 6573 ----rw-d 16.01.1994 10:42:34.24 THOR.key.ti 516 ----rw-d 11.11.1993 18:32:44.05 THOR10.lha 355588 ----rw-d 03.11.1993 20:10:01.19 THOR105u.lha 151085 ----rw-d 09.11.1993 21:26:42.27 THOR11r.lha 262935 ----rw-d 16.01.1994 10:45:49.31 THOR12.lha 545013 ----rw-d 04.03.1994 18:58:48.38 Thor_debug2.lha 188039 ----rw-d 07.02.1994 18:19:35.46 THOR_fix.lha 25675 ----rw-d 04.11.1993 20:36:25.15 THOR_Script.lha 5125 ----rw-d 02.12.1993 21:49:46.16 Thor_Torfinn_upd1.lha 94809 ----rw-d 08.02.1994 20:59:41.13 sum: 3357 1.6Mi 1718784 data: 3302 1.6Mi 1690624 98.36% fs: 55 27Ki 28160 1.64%
xdfscan still complains about it
tingo@kg-core1$ xdfscan 35_amiga_hd_thor_1.adf E002 NOK 35_amiga_hd_thor_1.adf
unadf is
tingo@kg-core1$ unadf -l 35_amiga_hd_thor_1.adf unADF v1.0 : a unzip like for .ADF files, powered by ADFlib (v0.7.11a - January 20th, 2007) Device : Floppy HD. Cylinders = 80, Heads = 2, Sectors = 22. Volumes = 1 Volume : Floppy 1760 KBytes, "Thor_1" between sectors [0-3519]. FFS . Filled at 96.7%. 516 1993/11/11 18:32:44 THOR.key.ti 94809 1994/02/08 20:59:41 Thor_Torfinn_upd1.lha 545013 1994/03/04 18:58:48 THOR12.lha 25675 1993/11/04 20:36:25 THOR_fix.lha 355588 1993/11/03 20:10:01 THOR10.lha 151085 1993/11/09 21:26:42 THOR105u.lha 5125 1993/12/02 21:49:46 THOR_Script.lha 188039 1994/02/07 18:19:35 Thor_debug2.lha 262935 1994/01/16 10:45:49 THOR11r.lha 36389 1994/02/03 23:55:08 LR0_451.lha 10566 1994/01/08 19:14:14 parsqwk1.193.lha 6573 1994/01/16 10:42:34 THOR.info 3825 1994/01/16 17:07:07 AddMsg.lha
happy
2020-04-09: c1 - FluxEngine - build latest client from source.Does 'gmake' still work? yes. check files
tingo@kg-core1$ find . -type f -perm +100 -depth 1 -exec ls -l {} \; -rwxr-xr-x 1 tingo tingo 404112 Apr 9 13:44 ./fluxengine -rwxr-xr-x 1 tingo tingo 1695120 Apr 9 13:44 ./brother120tool-debug -rwxr-xr-x 1 tingo tingo 116424 Apr 9 13:44 ./brother120tool -rwxr-xr-x 1 tingo tingo 16624824 Apr 9 13:44 ./fluxengine-debug -rwxr-xr-x 1 tingo tingo 1369768 Apr 9 13:44 ./brother240tool-debug -rwxr-xr-x 1 tingo tingo 105672 Apr 9 13:44 ./brother240tool
updated - good.
2020-04-09: c1 - FluxEngine - update from git due to merged #157. git pull, then check
tingo@kg-core1$ git log -1 commit 3c54a663b87629b57907c8b691cb268b6f80a1d5 (HEAD -> master, tag: FluxEngine-Windows-client-version-389, origin/master, origin/HEAD) Merge: 5be7249 1fd6545 Author: David Given <dg@cowlark.com> Date: Thu Apr 9 00:16:38 2020 +0200 Merge pull request #157 from davidgiven/amigacorruption Fix some issues causing corruption when reading Amiga disks
good
2020-04-09: c1 - xdftool / xdfscan - issue #141 got fixed, so I installed amitools from git repo, now images from HD floppies work:
tingo@kg-core1$ xdfscan 35_amiga_hd* ok 35_amiga_hd_Filer_11.adf E002 NOK 35_amiga_hd_thor_1.adf ok 35_amiga_hd_thor_3.adf ok 35_amiga_hd_update_3.x-1.adf
not sure why it complains about the Thor_1 image, I can list files and info it
tingo@kg-core1$ xdftool 35_amiga_hd_thor_1.adf info total: 3520 1.7Mi 1802240 used: 3404 1.7Mi 1742848 96.70% free: 116 58Ki 59392 3.30% tingo@kg-core1$ xdftool 35_amiga_hd_thor_1.adf list Thor_1 VOLUME -------- 04.03.1994 19:06:41.13 DOS1:ffs #512 AddMsg.lha 3825 ----rw-d 16.01.1994 17:07:07.01 LR0_451.lha 36389 ----rw-d 03.02.1994 23:55:08.35 parsqwk1.193.lha 10566 ----rw-d 08.01.1994 19:14:14.00 THOR.info 6573 ----rw-d 16.01.1994 10:42:34.24 THOR.key.ti 516 ----rw-d 11.11.1993 18:32:44.05 THOR10.lha 355588 ----rw-d 03.11.1993 20:10:01.19 THOR105u.lha 151085 ----rw-d 09.11.1993 21:26:42.27 THOR11r.lha 262935 ----rw-d 16.01.1994 10:45:49.31 THOR12.lha 545013 ----rw-d 04.03.1994 18:58:48.38 Thor_debug2.lha 188039 ----rw-d 07.02.1994 18:19:35.46 THOR_fix.lha 25675 ----rw-d 04.11.1993 20:36:25.15 THOR_Script.lha 5125 ----rw-d 02.12.1993 21:49:46.16 Thor_Torfinn_upd1.lha 94809 ----rw-d 08.02.1994 20:59:41.13 sum: 3357 1.6Mi 1718784 data: 3302 1.6Mi 1690624 98.36% fs: 55 27Ki 28160 1.64%
ok
2020-04-08: c1 - use dd to correct the incorrect size of HD images; same as for DD, but it is 3520 blocks instead.
2020-04-08: c1 - use dd to correct the incorrect size of DD images (each image should be 1760 blocks, each block is 512 bytes, so 901120 bytes) incorrect image
tingo@kg-core1$ ls -l 35_amiga_dd_NewStore-8.adf -rw-r--r-- 1 tingo tingo 901136 Apr 7 22:01 35_amiga_dd_NewStore-8.adf
fix it
tingo@kg-core1$ mv 35_amiga_dd_NewStore-8.adf e_35_amiga_dd_NewStore-8.adf tingo@kg-core1$ dd count=1760 if=e_35_amiga_dd_NewStore-8.adf of=35_amiga_dd_NewStore-8.adf 1760+0 records in 1760+0 records out 901120 bytes transferred in 0.004537 secs (198619547 bytes/sec)
corrected image
tingo@kg-core1$ ls -l 35_amiga_dd_NewStore-8.adf -rw-r--r-- 1 tingo tingo 901120 Apr 8 20:11 35_amiga_dd_NewStore-8.adf
verify - xdftool
tingo@kg-core1$ xdftool 35_amiga_dd_NewStore-8.adf list NewStore-8 VOLUME -------- 06.09.1992 19:49:13.07 DOS0:ofs #512 CyberCron13.lha 43119 ----rw-d 07.06.1992 14:49:51.02 DskSpd4.lzh 44672 ----rw-d 21.04.1992 23:39:26.33 GL2P0.lha 53390 ----rw-d 06.06.1992 00:13:36.00 HamLab11.lzh 60094 ----rw-d 08.06.1992 00:48:51.42 icalc.lzh 83412 ----rw-d 05.09.1992 19:04:41.23 IffLib22.lha 71221 ----rw-d 10.06.1992 00:09:42.24 Includes.lzh 8384 ----rw-d 10.06.1992 00:07:20.40 KComm175.lha 205421 ----rw-d 03.06.1992 00:55:39.23 LoveMice.lzh 14926 ----rw-d 10.06.1992 00:07:52.24 Mostra106.lha 28672 ----rw-d 03.06.1992 00:50:50.15 mouthman.lha 45453 ----rw-d 23.04.1992 23:58:22.46 QB501-502p.lzh 80088 ----rw-d 31.07.1992 20:35:44.45 QB5patch.lzh 71168 ----rw-d 15.05.1992 00:53:27.26 Trax.lzh 4476 ----rw-d 10.06.1992 01:17:19.39 UnixMeny.lha 3731 ----rw-d 10.06.1992 00:06:57.30 Wild.lzh 12482 ----rw-d 06.06.1992 00:16:32.10 sum: 1745 872Ki 893440 data: 1710 855Ki 875520 97.99% fs: 35 17Ki 17920 2.01%
verify - unadf
tingo@kg-core1$ unadf -l 35_amiga_dd_NewStore-8.adf unADF v1.0 : a unzip like for .ADF files, powered by ADFlib (v0.7.11a - January 20th, 2007) Device : Floppy DD. Cylinders = 80, Heads = 2, Sectors = 11. Volumes = 1 Volume : Floppy 880 KBytes, "NewStore-8" between sectors [0-1759]. OFS . Filled at 99.3%. 12482 1992/06/05 23:16:32 Wild.lzh 8384 1992/06/09 23:07:20 Includes.lzh 205421 1992/06/02 23:55:39 KComm175.lha 53390 1992/06/05 23:13:36 GL2P0.lha 43119 1992/06/07 13:49:51 CyberCron13.lha 80088 1992/07/31 19:35:44 QB501-502p.lzh 14926 1992/06/09 23:07:52 LoveMice.lzh 4476 1992/06/10 0:17:19 Trax.lzh 44672 1992/04/21 22:39:26 DskSpd4.lzh 28672 1992/06/02 23:50:50 Mostra106.lha 83412 1992/09/05 18:04:41 icalc.lzh 71221 1992/06/09 23:09:42 IffLib22.lha 60094 1992/06/07 23:48:51 HamLab11.lzh 45453 1992/04/23 22:58:22 mouthman.lha 3731 1992/06/09 23:06:57 UnixMeny.lha 71168 1992/05/14 23:53:27 QB5patch.lzh
good.
2020-04-08: xdftool / xdfscan I have opened issue #141.
2020-04-07: c1 - experiment - read 3.5 inch, (update: the floppy is HD, not DD) DD floppy, Amiga format, Filer_11 but try to say that it has 22 sectors instead of 11 (as HD)
tingo@kg-core1$ ../fluxengine read amiga -o 35_amiga_dd_Filer_11__2.adf:s=22 Reading from: :d=0:s=0-1:t=0-79 0.0: 399 ms in 159552 bytes 44 records, 44 sectors; 0.99us clock (1009kHz); logical track 0.0; 11616 bytes decoded. 0.1: 399 ms in 157184 bytes 44 records, 44 sectors; 0.99us clock (1008kHz); logical track 0.1; 11616 bytes decoded. 1.0: 400 ms in 157440 bytes 44 records, 44 sectors; 0.99us clock (1009kHz); logical track 1.0; 11616 bytes decoded. 1.1: 400 ms in 170368 bytes 44 records, 44 sectors; 0.98us clock (1016kHz); logical track 1.1; 11616 bytes decoded. [..] 78.0: 399 ms in 156544 bytes 44 records, 43 sectors; 0.98us clock (1016kHz); logical track 78.0; 11616 bytes decoded. 78.1: 399 ms in 156544 bytes 43 records, 43 sectors; 0.98us clock (1015kHz); logical track 78.1; 11616 bytes decoded. 79.0: 399 ms in 156992 bytes 44 records, 44 sectors; 0.98us clock (1015kHz); logical track 79.0; 11616 bytes decoded. 79.1: 399 ms in 156288 bytes 44 records, 44 sectors; 0.98us clock (1015kHz); logical track 79.1; 11616 bytes decoded. H.SS Tracks ---> 0. 0 ................................................................................ 0. 1 ................................................................................ 0. 2 ................................................................................ 0. 3 ................................................................................ 0. 4 ................................................................................ 0. 5 ................................................................................ 0. 6 ................................................................................ 0. 7 ................................................................................ 0. 8 ................................................................................ 0. 9 ................................................................................ 0.10 ................................................................................ 0.11 ................................................................................ 0.12 ................................................................................ 0.13 ................................................................................ 0.14 ................................................................................ 0.15 ................................................................................ 0.16 ................................................................................ 0.17 ................................................................................ 0.18 ................................................................................ 0.19 ................................................................................ 0.20 ................................................................................ 0.21 ................................................................................ 1. 0 ................................................................................ 1. 1 ................................................................................ 1. 2 ................................................................................ 1. 3 ................................................................................ 1. 4 ................................................................................ 1. 5 ................................................................................ 1. 6 ................................................................................ 1. 7 ................................................................................ 1. 8 ................................................................................ 1. 9 ................................................................................ 1.10 ................................................................................ 1.11 ................................................................................ 1.12 ................................................................................ 1.13 ................................................................................ 1.14 ................................................................................ 1.15 ................................................................................ 1.16 ................................................................................ 1.17 ................................................................................ 1.18 ................................................................................ 1.19 ................................................................................ 1.20 ................................................................................ 1.21 ................................................................................ Good sectors: 3520/3520 (100%) Missing sectors: 0/3520 (0%) Bad sectors: 0/3520 (0%) writing 80 tracks, 2 heads, 22 sectors, 512 bytes per sector, 1760 kB total
now what? xdftool
tingo@kg-core1$ xdftool 35_amiga_dd_Filer_11__2.adf list 'list' FSError: Invalid Root Block(2):block=RootBlock:@880 Traceback (most recent call last): File "/home/tingo/.local/bin/xdftool", line 10, in <module> sys.exit(main()) File "/home/tingo/.local/lib/python3.7/site-packages/amitools/tools/xdftool.py", line 840, in main code = queue.run() File "/home/tingo/.local/lib/python3.7/site-packages/amitools/tools/xdftool.py", line 113, in run self.volume.close() File "/home/tingo/.local/lib/python3.7/site-packages/amitools/fs/ADFSVolume.py", line 117, in close self.bitmap.write() AttributeError: 'NoneType' object has no attribute 'write'
unadf?
tingo@kg-core1$ unadf -l 35_amiga_dd_Filer_11__2.adf unADF v1.0 : a unzip like for .ADF files, powered by ADFlib (v0.7.11a - January 20th, 2007) Device : Floppy HD. Cylinders = 80, Heads = 2, Sectors = 22. Volumes = 1 Volume : Floppy 1760 KBytes, "Filer_11" between sectors [0-3519]. FFS . Filled at 99.5%. 340027 1994/03/11 23:31:23 AGA-KLOND2-3.LHA 3144 1994/03/12 21:05:15 History.lha 460456 1994/03/11 23:37:02 AGA-KLOND3-3.LHA 393564 1994/03/10 20:34:12 AGA-KLOND1-3.LHA 486 1994/03/09 23:17:19 AGA-KLOND1-3.readme 565730 1994/03/12 21:05:11 HajimeCards.lha
ok - scratch everything. this floppy is HD, not DD
2020-04-07: c1 - read 3.5 inch, HD floppy, Amiga format, Thor_1
tingo@kg-core1$ ../fluxengine read amiga --high-density -o 35_amiga_hd_thor_1.adf:s=22 [..] 77.0: 333 ms in 161920 bytes 44 records, 44 sectors; 0.82us clock (1217kHz); logical track 77.0; 11616 bytes decoded. 77.1: 333 ms in 157504 bytes 44 records, 44 sectors; 0.81us clock (1227kHz); Failed to read sector 16 (bad checksum); Failed to read sector 18 (bad checksum); 5 retries remaining 77.1: 333 ms in 157504 bytes 88 records, 88 sectors; 0.81us clock (1227kHz); Failed to read sector 16 (bad checksum); Failed to read sector 18 (bad checksum); 4 retries remaining 77.1: 333 ms in 157504 bytes 132 records, 132 sectors; 0.81us clock (1227kHz); logical track 77.1; 11616 bytes decoded. [..] 0. 0 ................................................................................ 0. 1 ................................................................................ 0. 2 ................................................................................ 0. 3 ........................................B....................................... 0. 4 ......................................B.B....................................... 0. 5 ................................................................................ 0. 6 ................................................................................ 0. 7 ................................................................................ 0. 8 ................................................................................ 0. 9 ........................................B....................................... 0.10 ................................................................................ 0.11 ................................................................................ 0.12 ................................................................................ 0.13 .................................B.............................................. 0.14 .....................................B.......................................... 0.15 ................................................................................ 0.16 ......................................BC........................................ 0.17 ................................................................................ 0.18 .......................................B........................................ 0.19 ................................................................................ 0.20 ................................................................................ 0.21 ................................................................................ 1. 0 ......................BBB..BBB...B..B..B.B.B.................................... 1. 1 .................B........B...B...BBBC.B........................................ 1. 2 ....................B....B...BBBBBB..BBB..B..................................... 1. 3 ...........................BB..BB.B.B..........................................B 1. 4 .....................B..B.B...B...BBB.C......................................... 1. 5 ....................B....B...BBBBBBB.BBB..B..................................... 1. 6 ...........................BBB.BB..BB......B.................................... 1. 7 .....................BB.B.B...B...BBBBBC........................................ 1. 8 ..................BB.....B...BBBBBB.BBBB.B...................................... 1. 9 ...........................BB..BB..BBBB.B..B.................................... 1.10 .....................B..B.B...B..BBBBBBB........................................ 1.11 .........................B..BBBBBBBBBBX...B..................................... 1.12 ..........................BBB..BB..BB.B....B.................................... 1.13 .....................BB.B.B...B..BBBBBBB........................................ 1.14 ...............B...BB....B..BBBBBBB.BBBB........................................ 1.15 ..........................BBB..BB..BB.B.B....................................... 1.16 .....................BB.B........BBB.BBB........................................ 1.17 ....................B......BBB.BBBB.BBBX..BB.................................... 1.18 ..........................BBB..BB..BB..C...B.................................... 1.19 ................B...BBBBBB....B..BBB..BB.......................................B 1.20 .................B.B.......BBB.BBBB.BBBB........................................ 1.21 ............................B..B...BB........................................... Good sectors: 3277/3520 (93%) Missing sectors: 2/3520 (0%) Bad sectors: 241/3520 (6%) writing 80 tracks, 2 heads, 22 sectors, 512 bytes per sector, 1760 kB total
xdftool
tingo@kg-core1$ xdftool 35_amiga_hd_thor_1.adf list 'list' FSError: Invalid Root Block(2):block=RootBlock:@880 Traceback (most recent call last): File "/home/tingo/.local/bin/xdftool", line 10, in <module> sys.exit(main()) File "/home/tingo/.local/lib/python3.7/site-packages/amitools/tools/xdftool.py", line 840, in main code = queue.run() File "/home/tingo/.local/lib/python3.7/site-packages/amitools/tools/xdftool.py", line 113, in run self.volume.close() File "/home/tingo/.local/lib/python3.7/site-packages/amitools/fs/ADFSVolume.py", line 117, in close self.bitmap.write() AttributeError: 'NoneType' object has no attribute 'write'
unadf?
tingo@kg-core1$ unadf -l 35_amiga_hd_thor_1.adf unADF v1.0 : a unzip like for .ADF files, powered by ADFlib (v0.7.11a - January 20th, 2007) Device : Floppy HD. Cylinders = 80, Heads = 2, Sectors = 22. Volumes = 1 Volume : Floppy 1760 KBytes, "Thor_1" between sectors [0-3519]. FFS . Filled at 96.7%. 516 1993/11/11 18:32:44 THOR.key.ti 94809 1994/02/08 20:59:41 Thor_Torfinn_upd1.lha 545013 1994/03/04 18:58:48 THOR12.lha 25675 1993/11/04 20:36:25 THOR_fix.lha 355588 1993/11/03 20:10:01 THOR10.lha 151085 1993/11/09 21:26:42 THOR105u.lha 5125 1993/12/02 21:49:46 THOR_Script.lha 188039 1994/02/07 18:19:35 Thor_debug2.lha 262935 1994/01/16 10:45:49 THOR11r.lha 36389 1994/02/03 23:55:08 LR0_451.lha 10566 1994/01/08 19:14:14 parsqwk1.193.lha 6573 1994/01/16 10:42:34 THOR.info 3825 1994/01/16 17:07:07 AddMsg.lha
ok. Perhaps xdftool can't properly read HD images?
2020-04-07: c1 - read 3.5 inch, DD floppy, Amiga format, Filer_11
tingo@kg-core1$ ../fluxengine read amiga -o 35_amiga_dd_Filer_11.adf Reading from: :d=0:s=0-1:t=0-79 [..] H.SS Tracks ---> 0. 0 ................................................................................ 0. 1 ................................................................................ 0. 2 ................................................................................ 0. 3 ................................................................................ 0. 4 ................................................................................ 0. 5 ................................................................................ 0. 6 ................................................................................ 0. 7 ................................................................................ 0. 8 ................................................................................ 0. 9 ................................................................................ 0.10 ................................................................................ 1. 0 ................................................................................ 1. 1 ................................................................................ 1. 2 ................................................................................ 1. 3 ................................................................................ 1. 4 ................................................................................ 1. 5 ................................................................................ 1. 6 ................................................................................ 1. 7 ................................................................................ 1. 8 ................................................................................ 1. 9 ................................................................................ 1.10 ................................................................................ Good sectors: 1760/1760 (100%) Missing sectors: 0/1760 (0%) Bad sectors: 0/1760 (0%) writing 80 tracks, 2 heads, 11 sectors, 512 bytes per sector, 880 kB total
xdftool
tingo@kg-core1$ xdftool 35_amiga_dd_Filer_11.adf list Traceback (most recent call last): File "/home/tingo/.local/lib/python3.7/site-packages/amitools/tools/xdftool.py", line 101, in run exit_code = CommandQueue.run(self) File "/home/tingo/.local/lib/python3.7/site-packages/amitools/util/CommandQueue.py", line 42, in run exit_code = self.run_first(cmd_line, cmd) File "/home/tingo/.local/lib/python3.7/site-packages/amitools/tools/xdftool.py", line 151, in run_first self._open_volume() File "/home/tingo/.local/lib/python3.7/site-packages/amitools/tools/xdftool.py", line 132, in _open_volume self.volume.open() File "/home/tingo/.local/lib/python3.7/site-packages/amitools/fs/ADFSVolume.py", line 55, in open self.root_dir.read() File "/home/tingo/.local/lib/python3.7/site-packages/amitools/fs/ADFSDir.py", line 79, in read blk.read() File "/home/tingo/.local/lib/python3.7/site-packages/amitools/fs/block/Block.py", line 71, in read self._read_data() File "/home/tingo/.local/lib/python3.7/site-packages/amitools/fs/block/Block.py", line 87, in _read_data data = self.blkdev.read_block(self.blk_num) File "/home/tingo/.local/lib/python3.7/site-packages/amitools/fs/blkdev/ADFBlockDevice.py", line 90, in read_block raise ValueError("Invalid ADF block num: got %d but max is %d" % (blk_num, self.num_blocks)) ValueError: Invalid ADF block num: got 2544 but max is 1760 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/tingo/.local/bin/xdftool", line 10, in <module> sys.exit(main()) File "/home/tingo/.local/lib/python3.7/site-packages/amitools/tools/xdftool.py", line 840, in main code = queue.run() File "/home/tingo/.local/lib/python3.7/site-packages/amitools/tools/xdftool.py", line 113, in run self.volume.close() File "/home/tingo/.local/lib/python3.7/site-packages/amitools/fs/ADFSVolume.py", line 117, in close self.bitmap.write() AttributeError: 'NoneType' object has no attribute 'write'
uh oh. What does unadf say?
tingo@kg-core1$ unadf -l 35_amiga_dd_Filer_11.adf unADF v1.0 : a unzip like for .ADF files, powered by ADFlib (v0.7.11a - January 20th, 2007) Device : Floppy DD. Cylinders = 80, Heads = 2, Sectors = 11. Volumes = 1 Warning <adfReadBitmap : sector out of range> Warning <adfReadBlock : nSect out of range> Segmentation fault (core dumped)
aha.
2020-04-07: c1 - FluxEngine - build latest client from source. The Makefile didn't get updated so I can just 'gmake' again. Afterwards, check that the programs got updated:
tingo@kg-core1$ find . -type f -perm +100 -depth 1 -exec ls -l {} \; -rwxr-xr-x 1 tingo tingo 404112 Apr 7 23:36 ./fluxengine -rwxr-xr-x 1 tingo tingo 16622144 Apr 7 23:37 ./fluxengine-debug -rwxr-xr-x 1 tingo tingo 116424 Apr 7 23:37 ./brother120tool -rwxr-xr-x 1 tingo tingo 1695120 Apr 7 23:37 ./brother120tool-debug -rwxr-xr-x 1 tingo tingo 1369768 Apr 7 23:37 ./brother240tool-debug -rwxr-xr-x 1 tingo tingo 105672 Apr 7 23:37 ./brother240tool
yes, we're good.
2020-04-07: c1 - FluxEngine - update from git due to merged #155, which fixes issue #154. git pull, then check
tingo@kg-core1$ git log -1 commit 5be7249a3000d82c45b3abe10910b027e9a9699c (HEAD -> master, tag: FluxEngine-Windows-client-version-385, origin/master, origin/HEAD) Merge: 8dbd2a7 067af18 Author: David Given <dg@cowlark.com> Date: Tue Apr 7 23:13:23 2020 +0200 Merge pull request #155 from davidgiven/amigawriter Fix stray bytes at the end of images
good.
2020-04-07: c1 - read 3.5 inch, HD floppy, Amiga format, Thor_3
tingo@kg-core1$ ../fluxengine read amiga --high-density -o 35_amiga_hd_thor_3.adf:b=512:c=80:h=2:s=22 [..] H.SS Tracks ---> 0. 0 .............................B..B.B............................................. 0. 1 .....................................BBB........................................ 0. 2 .........................B....B....B............................................ 0. 3 ...................B......B..B..BB..BB.......................................... 0. 4 ......................C...............BBB....................................... 0. 5 ...................................B............................................ 0. 6 ..........................B.B...BBB.BB.......................................... 0. 7 ......................................BBBB...................................... 0. 8 ....................................B........................................... 0. 9 ..........................B.......B..B.....B.................................... 0.10 ......................................B.B....................................... 0.11 ................................C..B..B......................................... 0.12 ..................................B.....B....................................... 0.13 ...................................B.BBBB....................................... 0.14 .........................B.....B....B........................................... 0.15 .......................B.........B...B.BB....................................... 0.16 ...............................B...B..BB........................................ 0.17 ..............................B.B...B...B....................................... 0.18 .............................B...BB..BB.B....................................... 0.19 ...............................B...B..BB.B...................................... 0.20 ................................B.B.B...B....................................... 0.21 ......................B....BB....B..BBBBB....................................... 1. 0 .....................B...B....BBB.CBB.B..B.B.................................... 1. 1 ..................BB....B.B.BB..BBB.BB.BB.B..................................... 1. 2 ......................BC...BBB..BBB.BBBB......................................B. 1. 3 ............C............B....BBB.CBB.B..BB..................................... 1. 4 ..................BB...CB.B.BBB.BBB.BB.BB..B..................BB..........B..... 1. 5 ................B...B.B...BCB........BBBBB.X..................................B. 1. 6 .........................C....BB...B..B.BBB................................B.... 1. 7 ....B.............BB...B.CB.BB..B.BCBB.B..BB.................................... 1. 8 .....................BB...BBB.BB.B...BBBBB...................................... 1. 9 ........................BB...BBBB.BBB.B.B.B..................................... 1.10 ...............B..BB..BB..BBBB...BB.B.BB...B.................................... 1.11 ................B...BB.B...B...B...B.BBBB....................................... 1.12 ........................BB....BBB.BBB.....BB...................B................ 1.13 ..........B....B.......BB.BBBB..BBB.BBBB...B.....................X.............. 1.14 ................B.............BB...B.BB.B....................................B.. 1.15 ..............B...C.....BB...BBBB.BBB.B.B.BB.................................... 1.16 ...............B...B..BCB.BBBB..BBB.BBBB...B............................B....... 1.17 .................B..BB......B.BB...B.BBBB....................................... 1.18 ........................B....BBBBCBBB..CB.BB.................................... 1.19 ...................B...B...BBB..BBBCBBBB...B..................................B. 1.20 ...........................B...B...B..BBB.B..................................... 1.21 ........................BB...BB.B..BB.....BB.................................... Good sectors: 3150/3520 (89%) Missing sectors: 2/3520 (0%) Bad sectors: 368/3520 (10%) writing 80 tracks, 2 heads, 22 sectors, 512 bytes per sector, 1760 kB total
xdftool?
tingo@kg-core1$ xdftool 35_amiga_hd_thor_3.adf list 'list' FSError: Invalid Root Block(2):block=RootBlock:@880 Traceback (most recent call last): File "/home/tingo/.local/bin/xdftool", line 10, in <module> sys.exit(main()) File "/home/tingo/.local/lib/python3.7/site-packages/amitools/tools/xdftool.py", line 840, in main code = queue.run() File "/home/tingo/.local/lib/python3.7/site-packages/amitools/tools/xdftool.py", line 113, in run self.volume.close() File "/home/tingo/.local/lib/python3.7/site-packages/amitools/fs/ADFSVolume.py", line 117, in close self.bitmap.write() AttributeError: 'NoneType' object has no attribute 'write'
unadf?
tingo@kg-core1$ unadf -l 35_amiga_hd_thor_3.adf unADF v1.0 : a unzip like for .ADF files, powered by ADFlib (v0.7.11a - January 20th, 2007) Device : Hardfile. Cylinders = 3520, Heads = 1, Sectors = 1. Volumes = 1 Volume : HardFile 1760.0 KBytes, between sectors [0-3519]. FFS . Filled at 34.6%. 556072 1994/08/22 22:57:28 Thor125.lha 55461 1995/05/18 20:27:02 Thor201pch.lha
hmm, perhaps the adf file is wrong somehow?
2020-04-06: c1 - read 3.5 inch, DD floppies, Amiga format, here is an interesting one Update_3.x-1 (update, the floppy is HD, not DD)
tingo@kg-core1$ ../fluxengine read amiga -o 35_amiga_dd_update_3.x-1.adf Reading from: :d=0:s=0-1:t=0-79 [..] H.SS Tracks ---> 0. 0 ................................................................................ 0. 1 ................................................................................ 0. 2 ................................................................................ 0. 3 ................................................................................ 0. 4 ................................................................................ 0. 5 ................................................................................ 0. 6 ................................................................................ 0. 7 ................................................................................ 0. 8 ................................................................................ 0. 9 ................................................................................ 0.10 ................................................................................ 1. 0 ................................................................................ 1. 1 ................................................................................ 1. 2 ................................................................................ 1. 3 ................................................................................ 1. 4 ................................................................................ 1. 5 ................................................................................ 1. 6 ................................................................................ 1. 7 ................................................................................ 1. 8 ................................................................................ 1. 9 ................................................................................ 1.10 ................................................................................ Good sectors: 1760/1760 (100%) Missing sectors: 0/1760 (0%) Bad sectors: 0/1760 (0%) writing 80 tracks, 2 heads, 11 sectors, 512 bytes per sector, 880 kB total
xdftool doesn't like it, oh ignore that - this is a HD floppy, try again
tingo@kg-core1$ ../fluxengine read amiga --high-density -o 35_amiga_hd_update_3.x-1.adf [..] H.SS Tracks ---> 0. 0 ...........................B.......BBB.B..B..................................... 0. 1 .........................B...B.................................................. 0. 2 ................................BB...BB......................................... 0. 3 ...............................B..BBB..BB....................................... 0. 4 .............................B..........B....................................... 0. 5 ................................BBB..BB....B.................................... 0. 6 ....................B.....B.B.....BB...BB....................................... 0. 7 .........................B...BB.........B....................................... 0. 8 ................................BB...BB...B..................................... 0. 9 ...................................BBB.BB....................................... 0.10 ................................................................................ 1. 0 ........................B.......BBB.BBB.BB...................................... 1. 1 .............B......B.B...BBB.BBB.BBBBBB........................................ 1. 2 ..................B..B...B....B...BB...BB..B.................................... 1. 3 ..............B.......CC.......BBB..BBB..BBB.................................... 1. 4 ......................B...BB...BB.BBBBBB........................................ 1. 5 .............................BB....B...BB..B.................................... 1. 6 .......................B.......BBBB..BBB.BBB.................................... 1. 7 .......................B..BBB.BBC.BBB.BB........................................ 1. 8 ...........................B.BB....B.CBB...B.................................... 1. 9 ........................C.......BBBC.BB...BB.................................... 1.10 ...................BB....BBBB.B.B..BB..B........................................ Good sectors: 1600/1760 (90%) Missing sectors: 0/1760 (0%) Bad sectors: 160/1760 (9%) writing 80 tracks, 2 heads, 11 sectors, 512 bytes per sector, 880 kB total
hmm, still 880kb? do I need to which that manually?
tingo@kg-core1$ ../fluxengine read amiga --high-density -o 35_amiga_hd_update_3.x-1.adf:b=512:c=80:h=2:s=22 [..] H.SS Tracks ---> 0. 0 ...........................B...B...BB..B..B..................................... 0. 1 .........................B..CB.................................................. 0. 2 ................................B....BB......................................... 0. 3 ...........................B..B...BBB..BB....................................... 0. 4 .............................BB.........B....................................... 0. 5 ................................BBB.BBB....B.................................... 0. 6 ....................B.....B.......BB...BB....................................... 0. 7 .........................C...BB.........B....................................... 0. 8 .................................B....B......................................... 0. 9 ...................................BB..BB....................................... 0.10 ................................................................................ 0.11 ..................................B..B.B........................................ 0.12 ............................B......B...BB....................................... 0.13 ................................................................................ 0.14 .....................................BB....B.................................... 0.15 ..............................B....BB...B....................................... 0.16 .........................................B...................................... 0.17 ...............................BB.B.B.B.B....................................... 0.18 ............................B.B....BB..B........................................ 0.19 ........................................B....................................... 0.20 ...............................B.BB.BBBBB....................................... 0.21 .........................B...BB....B...B........................................ 1. 0 ........................B.....C.BBB.BBB.BB.B.................................... 1. 1 .............B......B.B...BB..BB.BBBBBBB........................................ 1. 2 ..................B......B..BBB...BX..CBB..B.................................... 1. 3 .......................B........BBCCBBB..BB..................................... 1. 4 ......................B....B...BBBBBBBBB........................................ 1. 5 .............................B....CB...BB..B.................................... 1. 6 .......................B.......BBBB.BBBB.BB..................................... 1. 7 ......................BB..BBB.BBC.BBB.BB........................................ 1. 8 ............................CB.....BCCCB...B.................................... 1. 9 ...............B.......B........BB..BBB...B..................................... 1.10 ...................BB....BBBB.BBB.BBB..B........................................ 1.11 ................B...........BB...B...B....BB.................................... 1.12 ........................B......BBBBBBBBB..B..................................... 1.13 ....................B....BBBB.BBBCBBB..B........................................ 1.14 ........................B...BB..BB...BB.B.BB.................................... 1.15 ......................B.B..B...BBBBBBBBB..B..................................... 1.16 ...................BB....B.BBBB...BBB.BBB....................................... 1.17 .........................B...B..BB...BB...BB.................................... 1.18 ...............................BBBB.BBBB..B..................................... 1.19 .........................B..BBB...BBB.BBBB.B.................................... 1.20 .............................B..BB...BB...BB.................................... 1.21 ................................BBB.BBB......................................... Good sectors: 3210/3520 (91%) Missing sectors: 1/3520 (0%) Bad sectors: 309/3520 (8%) writing 80 tracks, 2 heads, 22 sectors, 512 bytes per sector, 1760 kB total
yes, that's needed. Now, xdftool
tingo@kg-core1$ xdftool 35_amiga_hd_update_3.x-1.adf list 'list' FSError: Invalid Root Block(2):block=RootBlock:@880 Traceback (most recent call last): File "/home/tingo/.local/bin/xdftool", line 10, in <module> sys.exit(main()) File "/home/tingo/.local/lib/python3.7/site-packages/amitools/tools/xdftool.py", line 840, in main code = queue.run() File "/home/tingo/.local/lib/python3.7/site-packages/amitools/tools/xdftool.py", line 113, in run self.volume.close() File "/home/tingo/.local/lib/python3.7/site-packages/amitools/fs/ADFSVolume.py", line 117, in close self.bitmap.write() AttributeError: 'NoneType' object has no attribute 'write'
crap, not that easy. unadf?
tingo@kg-core1$ unadf -l 35_amiga_hd_update_3.x-1.adf unADF v1.0 : a unzip like for .ADF files, powered by ADFlib (v0.7.11a - January 20th, 2007) Device : Hardfile. Cylinders = 3520, Heads = 1, Sectors = 1. Volumes = 1 Volume : HardFile 1760.0 KBytes, between sectors [0-3519]. FFS . Filled at 18.1%. 318858 1994/06/05 10:58:15 Ks44068.lha
well, look at that.
2020-04-06: c1 - I read more of the 3.5 inch, DD floppies, Amiga format, they wer all good, then came Storage6
tingo@kg-core1$ ../fluxengine read amiga -o 35_amiga_dd_storage6.adf Reading from: :d=0:s=0-1:t=0-79 [..] H.SS Tracks ---> 0. 0 ................................................................................ 0. 1 ................................................................................ 0. 2 ................................................................................ 0. 3 ................................................................................ 0. 4 ................................................................................ 0. 5 ................................................................................ 0. 6 ................................................................................ 0. 7 ................................................................................ 0. 8 ................................................................................ 0. 9 ................................................................................ 0.10 ................................................................................ 1. 0 ......................................B......................................... 1. 1 ......................................C......................................... 1. 2 .......................................C........................................ 1. 3 ................................................................................ 1. 4 ................................................................................ 1. 5 ................................................................................ 1. 6 ................................................................................ 1. 7 .......................................B........................................ 1. 8 ................................................................................ 1. 9 ................................................................................ 1.10 ................................................................................ Good sectors: 1756/1760 (99%) Missing sectors: 0/1760 (0%) Bad sectors: 4/1760 (0%) writing 80 tracks, 2 heads, 11 sectors, 512 bytes per sector, 880 kB total
xdftool says
tingo@kg-core1$ xdftool 35_amiga_dd_storage6.adf list Storage6 VOLUME -------- 06.04.1991 23:31:41.13 DOS0:ofs #512 Amy-Arc 30208 ----rwed 30.01.1989 19:23:11.15 AudioMasterII 173324 ----rwed 29.05.1990 21:24:30.08 CMan13R2.lzh 25003 ----rw-d 29.11.1990 17:41:48.15 HERMIT.zoo 20702 ----rwed 11.02.1989 21:35:35.34 mod.clints theme 291556 ----rwed 29.05.1990 21:25:46.21 PPack31b.lzh 28238 ----rwed 04.11.1990 20:56:39.26 Resrc40.lzh 89882 ----rw-d 29.11.1990 17:41:04.19 RexGlue.lzh 3387 ----rw-d 14.03.1991 18:36:41.21 ROCKET.LZH 10785 ----rwed 29.05.1990 21:25:49.20 TERROR.LZH 53753 ----rwed 23.03.1991 19:02:56.28 UUPC.zoo 28774 ----rwed 11.02.1989 21:37:54.15 WARP2.0 17764 ----rwed 02.02.1989 00:23:47.25 Zoo2.zoo 66368 ----rwed 06.02.1989 17:55:19.42 sum: 1757 878Ki 899584 data: 1727 863Ki 884224 98.29% fs: 30 15Ki 15360 1.71%
ok, maybe usable after all.
2020-04-06: c1 - read 3.5 inch, DD floppies, Amiga format - Storage13
tingo@kg-core1$ ../fluxengine read amiga -o 35_amiga_dd_storage13.adf Reading from: :d=0:s=0-1:t=0-79 [..] H.SS Tracks ---> 0. 0 ................................................................................ 0. 1 ................................................................................ 0. 2 ................................................................................ 0. 3 ................................................................................ 0. 4 ................................................................................ 0. 5 ................................................................................ 0. 6 ................................................................................ 0. 7 ................................................................................ 0. 8 ................................................................................ 0. 9 ................................................................................ 0.10 ................................................................................ 1. 0 ................................................................................ 1. 1 ................................................................................ 1. 2 ................................................................................ 1. 3 ................................................................................ 1. 4 ................................................................................ 1. 5 ................................................................................ 1. 6 ................................................................................ 1. 7 ................................................................................ 1. 8 ................................................................................ 1. 9 ................................................................................ 1.10 ................................................................................ Good sectors: 1760/1760 (100%) Missing sectors: 0/1760 (0%) Bad sectors: 0/1760 (0%) writing 80 tracks, 2 heads, 11 sectors, 512 bytes per sector, 880 kB total
check with unadf
tingo@kg-core1$ unadf unadf [-lrcsp -v n] dumpname.adf [files-with-path] [-d extractdir] -l : lists root directory contents -r : lists directory tree contents -c : use dircache data (must be used with -l) -s : display entries logical block pointer (must be used with -l) -v n : mount volume #n instead of default #0 volume -p : send extracted files to pipe (unadf -p dump.adf Pics/pic1.gif | xv -) -d dir : extract to 'dir' directory
try it
tingo@kg-core1$ unadf -r 35_amiga_dd_storage13.adf unADF v1.0 : a unzip like for .ADF files, powered by ADFlib (v0.7.11a - January 20th, 2007) Error <adfDevType : unknown device type> Error <adfMountDev : unknown device type> Can't mount the dump device '35_amiga_dd_storage13.adf'. tingo@kg-core1$ unadf -l 35_amiga_dd_storage13.adf unADF v1.0 : a unzip like for .ADF files, powered by ADFlib (v0.7.11a - January 20th, 2007) Error <adfDevType : unknown device type> Error <adfMountDev : unknown device type> Can't mount the dump device '35_amiga_dd_storage13.adf'. tingo@kg-core1$ unadf -l ./35_amiga_dd_storage13.adf unADF v1.0 : a unzip like for .ADF files, powered by ADFlib (v0.7.11a - January 20th, 2007) Error <adfDevType : unknown device type> Error <adfMountDev : unknown device type> Can't mount the dump device './35_amiga_dd_storage13.adf'.
nope - not working. try xdftool
tingo@kg-core1$ ~/.local/bin/xdftool 35_amiga_dd_storage13.adf list Storage13 VOLUME -------- 07.04.1991 00:35:52.04 DOS0:ofs #512 A64If.lzh 2384 ----rwed 24.01.1991 19:31:25.23 Ansi.LZH 5360 ----rw-d 07.04.1991 00:33:38.27 BigBen.LZH 85785 ----rw-d 06.04.1991 21:25:23.04 Bimbo.LZH 36799 ----rw-d 07.04.1991 00:00:50.31 CEDPRO.LZH 70759 ----rwed 23.03.1991 18:33:15.06 CedPro2.LZH 71704 ----rw-d 03.04.1991 23:17:51.07 DES.LZH 8875 ----rwed 24.01.1991 19:21:29.17 DIGIGOLD.LZH 76812 ----rwed 23.03.1991 18:33:34.37 DLXPALET.LZH 6531 ----rwed 23.03.1991 18:33:37.04 DMS102GE.LZH 30651 ----rw-d 07.04.1991 00:29:41.07 Dr-Maud.LZH 4299 ----rw-d 02.02.1991 19:57:02.18 EPROM.LZH 64152 ----rw-d 02.02.1991 11:19:17.08 IT12.LZH 18824 ----rwed 02.02.1991 10:26:42.06 Janco2.LZH 7590 ----rw-d 07.04.1991 00:25:49.02 LHLIB.LZH 36297 ----rwed 03.04.1991 23:16:58.08 New14Acc.LZH 9124 ----rw-d 03.04.1991 23:45:15.14 NEXTWIND.LZH 8330 ----rw-d 26.03.1991 02:13:40.29 OPUS203.LZH 101460 ----rw-d 06.04.1991 21:19:28.15 PBAR.LZH 7871 ----rw-d 26.02.1991 22:57:08.07 POW30A.LZH 51391 ----rw-d 20.11.1990 01:31:58.26 QB42.LZH 37338 ----rw-d 06.03.1991 23:42:26.25 QF.lzh 7577 ----rw-d 14.03.1991 18:38:09.44 RECOVR2.LZH 11910 ----rw-d 04.04.1991 00:55:07.22 SHIRTANI.LZH 38784 ----rw-d 26.02.1991 23:02:46.42 STARTUP.LZH 11199 ----rwed 21.12.1990 21:01:19.37 VILBM.LZH 12066 ----rw-d 22.03.1991 22:21:37.06 sum: 1742 871Ki 891904 data: 1699 849Ki 869888 97.53% fs: 43 21Ki 22016 2.47%
much better
2020-04-06: c1 - FluxEngine read amiga
tingo@kg-core1$ ../fluxengine read amiga --help FluxEngine options: --revolutions <default: "2.000000">: read this many revolutions of the disk --sync-with-index <default: "false">: whether to wait for an index pulse before started to read --index-mode <default: "0">: index pulse source (0=drive, 1=300 RPM fake source, 2=360 RPM fake source --merge: merge new data into existing flux file --overwrite: overwrite existing flux file --pulse-debounce-threshold <default: "0.300000">: Ignore pulses with intervals short than this, in fractions of a clock. --bit-error-threshold <default: "0.400000">: Amount of error to tolerate in pulse timing, in fractions of a clock. --clock-interval-bias <default: "-0.020000">: Adjust intervals between pulses by this many clocks before decoding. --minimum-clock-us <default: "0.750000">: Refuse to detect clocks shorter than this, to avoid false positives. --visualiser-period <default: "200">: rotational period for use by the visualiser (milliseconds) --source, -s <default: ":d=0:s=0-1:t=0-79">: source for data --output, -o <default: "amiga.adf:b=512:c=80:h=2:s=11">: output image file to write to --write-flux, -f <default: "">: write the raw magnetic flux to this file --write-svg <default: "">: write a visualisation of the disk to this file --just-read: just read the disk and do no further processing --dump-records: Dump the parsed but undecoded records. --dump-sectors: Dump the decoded sectors. --retries <default: "5">: How many times to retry each track in the event of a read failure. --high-density, --hd: set the drive to high density mode --write-csv <default: "">: write a CSV report of the disk state --help, -h: Shows the help.
ok
2020-04-05: c1 - Mini vMac - using the "Mini vMac" emulator, I verified that the suspected MFS format images could be opened - yes, they could, and files could be read from the mounted image.
2020-04-05: c1 - read more 3.5 inch, HD floppies - Mac - Mac Format January 1996
tingo@kg-core1$ ../fluxengine read ibm -o 35_ibm_hd_mac_macformat_1996_january.img Reading from: :d=0:s=0-1:t=0-79 [..] H.SS Tracks ---> 0. 0 ................................................................................ 0. 1 ................................................................................ 0. 2 ................................................................................ 0. 3 ................................................................................ 0. 4 ................................................................................ 0. 5 ................................................................................ 0. 6 ................................................................................ 0. 7 ................................................................................ 0. 8 ................................................................................ 0. 9 ................................................................................ 0.10 ................................................................................ 0.11 ................................................................................ 0.12 ................................................................................ 0.13 ................................................................................ 0.14 ................................................................................ 0.15 ................................................................................ 0.16 ................................................................................ 0.17 ................................................................................ 1. 0 ................................................................................ 1. 1 ................................................................................ 1. 2 ................................................................................ 1. 3 ................................................................................ 1. 4 ................................................................................ 1. 5 ................................................................................ 1. 6 ................................................................................ 1. 7 ................................................................................ 1. 8 ................................................................................ 1. 9 ................................................................................ 1.10 ................................................................................ 1.11 ................................................................................ 1.12 ................................................................................ 1.13 ................................................................................ 1.14 ................................................................................ 1.15 ................................................................................ 1.16 ................................................................................ 1.17 ................................................................................ Good sectors: 2880/2880 (100%) Missing sectors: 0/2880 (0%) Bad sectors: 0/2880 (0%) writing 80 tracks, 2 heads, 18 sectors, 512 bytes per sector, 1440 kB total
file
tingo@kg-core1$ file 35_ibm_hd_mac_macformat_1996_january.img 35_ibm_hd_mac_macformat_1996_january.img: PC formatted floppy with no filesystem
MFS again?
2020-04-05: c1 - read more 3.5 inch, HD floppies - Mac - Mac Format December 1994
tingo@kg-core1$ ../fluxengine read ibm -o 35_ibm_hd_mac_macformat_1994_december.img Reading from: :d=0:s=0-1:t=0-79 [..] H.SS Tracks ---> 0. 0 ................................................................................ 0. 1 ................................................................................ 0. 2 ................................................................................ 0. 3 ................................................................................ 0. 4 ................................................................................ 0. 5 ................................................................................ 0. 6 ................................................................................ 0. 7 ................................................................................ 0. 8 ................................................................................ 0. 9 ................................................................................ 0.10 ................................................................................ 0.11 ................................................................................ 0.12 ................................................................................ 0.13 ................................................................................ 0.14 ................................................................................ 0.15 ................................................................................ 0.16 ................................................................................ 0.17 ................................................................................ 1. 0 ................................................................................ 1. 1 ................................................................................ 1. 2 ................................................................................ 1. 3 ................................................................................ 1. 4 ................................................................................ 1. 5 ................................................................................ 1. 6 ................................................................................ 1. 7 ................................................................................ 1. 8 ................................................................................ 1. 9 ...............................................................B................ 1.10 ................................................................................ 1.11 ................................................................................ 1.12 ................................................................................ 1.13 ................................................................................ 1.14 ................................................................................ 1.15 ................................................................................ 1.16 ................................................................................ 1.17 ................................................................................ Good sectors: 2879/2880 (99%) Missing sectors: 0/2880 (0%) Bad sectors: 1/2880 (0%) writing 80 tracks, 2 heads, 18 sectors, 512 bytes per sector, 1440 kB total
file
tingo@kg-core1$ file 35_ibm_hd_mac_macformat_1994_december.img 35_ibm_hd_mac_macformat_1994_december.img: PC formatted floppy with no filesystem
probably MFS - ok.
2020-04-05: c1 - read more 3.5 inch, HD floppies - Mac - Mac Format October 1994
tingo@kg-core1$ ../fluxengine read ibm -o 35_ibm_hd_mac_macformat_1994_october.img Reading from: :d=0:s=0-1:t=0-79 [..] H.SS Tracks ---> 0. 0 ................................................................................ 0. 1 ................................................................................ 0. 2 ................................................................................ 0. 3 ................................................................................ 0. 4 ................................................................................ 0. 5 ................................................................................ 0. 6 ................................................................................ 0. 7 ................................................................................ 0. 8 ................................................................................ 0. 9 ................................................................................ 0.10 ................................................................................ 0.11 ................................................................................ 0.12 ................................................................................ 0.13 ................................................................................ 0.14 ................................................................................ 0.15 ................................................................................ 0.16 ................................................................................ 0.17 ................................................................................ 1. 0 ................................................................................ 1. 1 ................................................................................ 1. 2 ................................................................................ 1. 3 ................................................................................ 1. 4 ................................................................................ 1. 5 ................................................................................ 1. 6 ................................................................................ 1. 7 ................................................................................ 1. 8 ................................................................................ 1. 9 ................................................................................ 1.10 ................................................................................ 1.11 ................................................................................ 1.12 ................................................................................ 1.13 ................................................................................ 1.14 ................................................................................ 1.15 ................................................................................ 1.16 ................................................................................ 1.17 ................................................................................ Good sectors: 2880/2880 (100%) Missing sectors: 0/2880 (0%) Bad sectors: 0/2880 (0%) writing 80 tracks, 2 heads, 18 sectors, 512 bytes per sector, 1440 kB total
file
tingo@kg-core1$ file 35_ibm_hd_mac_macformat_1994_october.img 35_ibm_hd_mac_macformat_1994_october.img: PC formatted floppy with no filesystem
probably MFS again.
2020-04-05: c1 - read more 3.5 inch, HD floppies - Mac - Mac Format May 1994
tingo@kg-core1$ ../fluxengine read ibm -o 35_ibm_hd_mac_macformat_1994_may.img Reading from: :d=0:s=0-1:t=0-79 [..] H.SS Tracks ---> 0. 0 ................................................................................ 0. 1 ................................................................................ 0. 2 ................................................................................ 0. 3 ................................................................................ 0. 4 ................................................................................ 0. 5 ................................................................................ 0. 6 ................................................................................ 0. 7 ................................................................................ 0. 8 X............................................................................... 0. 9 ................................................................................ 0.10 ................................................................................ 0.11 ................................................................................ 0.12 ................................................................................ 0.13 ................................................................................ 0.14 ................................................................................ 0.15 ................................................................................ 0.16 ................................................................................ 0.17 ................................................................................ 1. 0 .................................B.............................................. 1. 1 ................................................................................ 1. 2 ................................................................................ 1. 3 ................................................................................ 1. 4 ................................................................................ 1. 5 ................................................................................ 1. 6 ................................................................................ 1. 7 ................................................................................ 1. 8 ................................................................................ 1. 9 ................................................................................ 1.10 ................................................................................ 1.11 ................................................................................ 1.12 ................................................................................ 1.13 .........................................BBBBB.................................. 1.14 ................................................................................ 1.15 ................................................................................ 1.16 ................................................................................ 1.17 ................................................................................ Good sectors: 2873/2880 (99%) Missing sectors: 1/2880 (0%) Bad sectors: 6/2880 (0%) writing 80 tracks, 2 heads, 18 sectors, 512 bytes per sector, 1440 kB total
file
tingo@kg-core1$ file 35_ibm_hd_mac_macformat_1994_may.img 35_ibm_hd_mac_macformat_1994_may.img: PC formatted floppy with no filesystem
ok, that is odd. Perhaps it is MFS - Macintosh File System?
2020-04-05: c1 - read more 3.5 inch, HD floppies - Mac - MacWorld March 1996
tingo@kg-core1$ ../fluxengine read ibm -o 35_ibm_hd_mac_macworld_1996_march.img Reading from: :d=0:s=0-1:t=0-79 [..] H.SS Tracks ---> 0. 0 ................................................................................ 0. 1 ................................................................................ 0. 2 ................................................................................ 0. 3 ................................................................................ 0. 4 ................................................................................ 0. 5 ................................................................................ 0. 6 ................................................................................ 0. 7 ................................................................................ 0. 8 ................................................................................ 0. 9 ................................................................................ 0.10 ................................................................................ 0.11 ................................................................................ 0.12 ................................................................................ 0.13 ................................................................................ 0.14 ................................................................................ 0.15 ................................................................................ 0.16 ................................................................................ 0.17 ................................................................................ 1. 0 ................................................................................ 1. 1 ................................................................................ 1. 2 ................................................................................ 1. 3 ................................................................................ 1. 4 ................................................................................ 1. 5 ................................................................................ 1. 6 ................................................................................ 1. 7 ................................................................................ 1. 8 ................................................................................ 1. 9 ................................................................................ 1.10 ................................................................................ 1.11 ................................................................................ 1.12 ................................................................................ 1.13 ................................................................................ 1.14 ................................................................................ 1.15 ................................................................................ 1.16 ................................................................................ 1.17 ................................................................................ Good sectors: 2880/2880 (100%) Missing sectors: 0/2880 (0%) Bad sectors: 0/2880 (0%) writing 80 tracks, 2 heads, 18 sectors, 512 bytes per sector, 1440 kB total
file
tingo@kg-core1$ file 35_ibm_hd_mac_macworld_1996_march.img 35_ibm_hd_mac_macworld_1996_march.img: PC formatted floppy with no filesystem
ok, so empty or?
2020-04-05: c1 - read more 3.5 inch, HD floppies - Mac programs
tingo@kg-core1$ ../fluxengine read ibm -o 35_ibm_hd_mac_programs.img Reading from: :d=0:s=0-1:t=0-79 [..] H.SS Tracks ---> 0. 0 ................................................................................ 0. 1 ................................................................................ 0. 2 ................................................................................ 0. 3 ................................................................................ 0. 4 ................................................................................ 0. 5 ................................................................................ 0. 6 ................................................................................ 0. 7 ................................................................................ 0. 8 ................................................................................ 0. 9 ................................................................................ 0.10 ................................................................................ 0.11 ................................................................................ 0.12 ................................................................................ 0.13 ................................................................................ 0.14 ................................................................................ 0.15 ................................................................................ 0.16 ................................................................................ 0.17 ................................................................................ 1. 0 ................................................................................ 1. 1 ................................................................................ 1. 2 ..........................................................................BB.... 1. 3 ................................................................................ 1. 4 ..............................................................................BB 1. 5 ................................................................................ 1. 6 ................................................................................ 1. 7 ................................................................................ 1. 8 ................................................................................ 1. 9 ................................................................................ 1.10 ................................................................................ 1.11 ................................................................................ 1.12 ................................................................................ 1.13 ................................................................................ 1.14 ................................................................................ 1.15 ................................................................................ 1.16 ................................................................................ 1.17 ...........................................................................C.... Good sectors: 2875/2880 (99%) Missing sectors: 0/2880 (0%) Bad sectors: 5/2880 (0%) writing 80 tracks, 2 heads, 18 sectors, 512 bytes per sector, 1440 kB total
file
tingo@kg-core1$ file 35_ibm_hd_mac_programs.img 35_ibm_hd_mac_programs.img: Macintosh HFS data block size: 512, number of blocks: 2874, volume name: Mac-1
ok
2020-04-05: c1 - read more 3.5 inch, HD floppies - Mac DiskTools 7.5
tingo@kg-core1$ ../fluxengine read ibm -o 35_ibm_hd_mac_disktools_75.img [..] 57.0: 249 ms in 99136 bytes 286 records, 143 sectors; 0.98us clock (1022kHz); multiple conflicting copies of sector 17 seen; multiple conflicting copies of sector 17 seen; multiple conflicting copies of sector 17 seen; multiple conflicting copies of sector 17 seen; multiple conflicting copies of sector 17 seen; multiple conflicting copies of sector 17 seen; multiple conflicting copies of sector 17 seen; Failed to read sector 17 (conflicting data); giving up logical track 57.0; 9216 bytes decoded. (lots of these seen) 72.0: 249 ms in 108352 bytes 286 records, 143 sectors; 0.98us clock (1019kHz); multiple conflicting copies of sector 17 seen; multiple conflicting copies of sector 17 seen; multiple conflicting copies of sector 17 seen; multiple conflicting copies of sector 17 seen; multiple conflicting copies of sector 17 seen; multiple conflicting copies of sector 17 seen; multiple conflicting copies of sector 17 seen; Failed to read sector 17 (conflicting data); giving up logical track 72.0; 9216 bytes decoded. [..] H.SS Tracks ---> 0. 0 ................................................................................ 0. 1 ................................................................................ 0. 2 ................................................................................ 0. 3 ................................................................................ 0. 4 ................................................................................ 0. 5 ................................................................................ 0. 6 ................................................................................ 0. 7 ................................................................................ 0. 8 ................................................................................ 0. 9 ................................................................................ 0.10 ................................................................................ 0.11 ................................................................................ 0.12 ................................................................................ 0.13 ................................................................................ 0.14 ................................................................................ 0.15 ................................................................................ 0.16 ................................................................................ 0.17 .C.CCC....CC.CCCC.CCCC.C.C.CC.C.CC.C.CC.CC.CCCC.C...CC...CC.....C.......C....... 1. 0 ................................................................................ 1. 1 ................................................................................ 1. 2 ................................................................................ 1. 3 ................................................................................ 1. 4 ................................................................................ 1. 5 ................................................................................ 1. 6 ................................................................................ 1. 7 ................................................................................ 1. 8 ................................................................................ 1. 9 ................................................................................ 1.10 ................................................................................ 1.11 ................................................................................ 1.12 ................................................................................ 1.13 ................................................................................ 1.14 ................................................................................ 1.15 ................................................................................ 1.16 ................................................................................ 1.17 CCCCCC...CCCCC.CCCC.CCC....C.CC.C.CCC.CCC.CC.CCCCC..CCC..CCCCCCC......CC........ Good sectors: 2796/2880 (97%) Missing sectors: 0/2880 (0%) Bad sectors: 84/2880 (2%) writing 80 tracks, 2 heads, 18 sectors, 512 bytes per sector, 1440 kB total
file
tingo@kg-core1$ file 35_ibm_hd_mac_disktools_75.img 35_ibm_hd_mac_disktools_75.img: Macintosh HFS data (bootable) block size: 512, number of blocks: 2874, volume name: Diskverkt\277y
ok
2020-04-05: c1 - read more 3.5 inch, HD floppies - Mac System 7.0.1
tingo@kg-core1$ ../fluxengine read ibm -o 35_ibm_hd_mac_system_701.img Reading from: :d=0:s=0-1:t=0-79 [..] H.SS Tracks ---> 0. 0 ................................................................................ 0. 1 ................................................................................ 0. 2 ................................................................................ 0. 3 ................................................................................ 0. 4 ................................................................................ 0. 5 ................................................................................ 0. 6 ................................................................................ 0. 7 ................................................................................ 0. 8 ................................................................................ 0. 9 ................................................................................ 0.10 ................................................................................ 0.11 ................................................................................ 0.12 ................................................................................ 0.13 ................................................................................ 0.14 ................................................................................ 0.15 ................................................................................ 0.16 ................................................................................ 0.17 ................................................................................ 1. 0 ....................................................................X.BBB..X..B. 1. 1 ................................................................................ 1. 2 ................................................................................ 1. 3 ................................................................................ 1. 4 ................................................................................ 1. 5 ................................................................................ 1. 6 ...............................................................................B 1. 7 ................................................................................ 1. 8 ................................................................................ 1. 9 ..............................................................................BB 1.10 ...............................................................................B 1.11 ................................................................................ 1.12 ................................................................................ 1.13 ................................................................................ 1.14 ................................................................................ 1.15 ................................................................................ 1.16 ................................................................................ 1.17 ................................................................................ Good sectors: 2870/2880 (99%) Missing sectors: 2/2880 (0%) Bad sectors: 8/2880 (0%) writing 80 tracks, 2 heads, 18 sectors, 512 bytes per sector, 1440 kB total
file
tingo@kg-core1$ file 35_ibm_hd_mac_system_701.img 35_ibm_hd_mac_system_701.img: Macintosh HFS data (bootable) block size: 512, number of blocks: 2874, volume name: System_701
ok
2020-04-05: c1 - read more 3.5 inch, IBM-formatted, HD floppies - an ROMPAQ
tingo@kg-core1$ ../fluxengine read ibm -o 35_ibm_hd_tp_380_bios_113.img Reading from: :d=0:s=0-1:t=0-79 [..] H.SS Tracks ---> 0. 0 ................................................................................ 0. 1 ................................................................................ 0. 2 ................................................................................ 0. 3 ................................................................................ 0. 4 ................................................................................ 0. 5 ................................................................................ 0. 6 ................................................................................ 0. 7 ................................................................................ 0. 8 ................................................................................ 0. 9 ................................................................................ 0.10 ................................................................................ 0.11 ................................................................................ 0.12 ................................................................................ 0.13 ................................................................................ 0.14 ................................................................................ 0.15 ................................................................................ 0.16 ................................................................................ 0.17 ................................................................................ 1. 0 ................................................................................ 1. 1 ................................................................................ 1. 2 ................................................................................ 1. 3 ................................................................................ 1. 4 ................................................................................ 1. 5 ................................................................................ 1. 6 ................................................................................ 1. 7 .............................................................................B.. 1. 8 ................................................................................ 1. 9 .............................................................................??. 1.10 ................................................................................ 1.11 ................................................................................ 1.12 ................................................................................ 1.13 ................................................................................ 1.14 ................................................................................ 1.15 ................................................................................ 1.16 ................................................................................ 1.17 ................................................................................ Good sectors: 2879/2880 (99%) Missing sectors: 0/2880 (0%) Bad sectors: 1/2880 (0%) writing 80 tracks, 2 heads, 18 sectors, 512 bytes per sector, 1440 kB total
file
tingo@kg-core1$ file 35_ibm_hd_tp_380_bios_113.img 35_ibm_hd_tp_380_bios_113.img: DOS/MBR boot sector, code offset 0x3c+2, OEM-ID "MSDOS53y", root entries 224, sectors 2880 (volumes <=32 MB), sectors/FAT 9, sectors/track 18, serial number 0x1f5117eb, label: "ROMPAQ ", FAT (12 bit), followed by FAT
mdir
tingo@kg-core1$ mdir -i 35_ibm_hd_tp_380_bios_113.img -w Volume in drive : is ROMPAQ Volume Serial Number is 1F51-17EB Directory for ::/ himem.exe config.sys rompaq.exe flsh.cpu lang.opt triggrs0.f15 trigldk0.e65 triglfi0.e65 triglfr0.e65 triglgr0.ef0 triglit0.e65 triglnl0.e65 triglno0.e65 triglpt0.e65 triglse0.e65 triglsp0.e65 triggrs0.e4a 17 files 633 987 bytes 742 400 bytes free
ok
2020-04-05: c1 - read more 3.5 inch, IBM-formatted, HD floppies - dos 6.20 3 of 3
tingo@kg-core1$ ../fluxengine read ibm -o 35_ibm_hd_dos_620_3of3.img Reading from: :d=0:s=0-1:t=0-79 [..] H.SS Tracks ---> 0. 0 ................................................................................ 0. 1 ................................................................................ 0. 2 ................................................................................ 0. 3 ................................................................................ 0. 4 ................................................................................ 0. 5 ................................................................................ 0. 6 ................................................................................ 0. 7 ................................................................................ 0. 8 ................................................................................ 0. 9 ................................................................................ 0.10 ................................................................................ 0.11 .................................................................X..........X... 0.12 ............................................................................X... 0.13 ................................................................................ 0.14 .................................................................X...X.........X 0.15 ................................................................................ 0.16 ................................................................................ 0.17 ................................................................................ 1. 0 ................................................................................ 1. 1 ................................................................................ 1. 2 ................................................................................ 1. 3 ................................................................................ 1. 4 ................................................................................ 1. 5 .......................................................................X.......X 1. 6 ................................................................................ 1. 7 ................................................................................ 1. 8 ................................................................................ 1. 9 ..........................................................................X..XX. 1.10 ................................................................................ 1.11 ................................................................X......X.....X.. 1.12 ................................................................................ 1.13 ................................................................................ 1.14 ..............................................................................X. 1.15 ................................................................................ 1.16 ...................................................................X..X......... 1.17 ................................................................................ Good sectors: 2863/2880 (99%) Missing sectors: 17/2880 (0%) Bad sectors: 0/2880 (0%) writing 80 tracks, 2 heads, 18 sectors, 512 bytes per sector, 1440 kB total
file
tingo@kg-core1$ file 35_ibm_hd_dos_620_3of3.img 35_ibm_hd_dos_620_3of3.img: DOS/MBR boot sector, code offset 0x3c+2, OEM-ID "MSDOS5.0", root entries 224, sectors 2880 (volumes <=32 MB), sectors/FAT 9, sectors/track 18, serial number 0x3d150711, unlabeled, FAT (12 bit), followed by FAT
mdir
tingo@kg-core1$ mdir -i 35_ibm_hd_dos_620_3of3.img -w Volume in drive : is DISK 3 Volume Serial Number is 3D15-0711 Directory for ::/ msav.exe msav.hl_ msavhelp.ov_ msavirus.ls_ msbackdb.ovl msbackdr.ovl msbackfb.ovl msbackfr.ovl msbackup.ex_ msbackup.hl_ msbackup.ovl msbconfg.hl_ msbconfg.ovl mstools.dl_ mwav.ex_ mwav.hl_ mwavabsi.dl_ mwavdlg.dl_ mwavdosl.dl_ mwavdrvl.dl_ mwavmgr.dl_ mwavscan.dl_ mwavsos.dl_ mwavtsr.ex_ mwgrafic.dl_ mwundel.ex_ mwundel.hl_ undelete.exe unformat.com vsafe.co_ wntools.gr_ 31 files 1 210 777 bytes 239 104 bytes free
ok
2020-04-05: c1 - read more 3.5 inch, IBM-formatted, HD floppies - dos 6.20 2 of 3
tingo@kg-core1$ ../fluxengine read ibm -o 35_ibm_hd_dos_620_2of3.img Reading from: :d=0:s=0-1:t=0-79 [..] H.SS Tracks ---> 0. 0 ................................................................................ 0. 1 ................................................................................ 0. 2 ................................................................................ 0. 3 ................................................................................ 0. 4 ................................................................................ 0. 5 ................................................................................ 0. 6 ................................................................................ 0. 7 ................................................................................ 0. 8 ................................................................................ 0. 9 ................................................................X..........X.X.. 0.10 ................................................................................ 0.11 ............................................................................X... 0.12 ................................................................................ 0.13 ................................................................................ 0.14 ................................................................................ 0.15 ................................................................................ 0.16 ................................................................................ 0.17 ................................................................................ 1. 0 ................................................................................ 1. 1 ................................................................................ 1. 2 ................................................................................ 1. 3 ................................................................................ 1. 4 ................................................................................ 1. 5 ................................................................................ 1. 6 ................................................................................ 1. 7 ................................................................................ 1. 8 ................................................................................ 1. 9 ..........................................................X..X......X........... 1.10 ................................................................................ 1.11 ...................................................................X............ 1.12 ................................................................................ 1.13 ................................................................................ 1.14 ................................................................................ 1.15 ................................................................................ 1.16 ................................................................................ 1.17 ................................................................................ Good sectors: 2872/2880 (99%) Missing sectors: 8/2880 (0%) Bad sectors: 0/2880 (0%) writing 80 tracks, 2 heads, 18 sectors, 512 bytes per sector, 1440 kB total
file
tingo@kg-core1$ file 35_ibm_hd_dos_620_2of3.img 35_ibm_hd_dos_620_2of3.img: DOS/MBR boot sector, code offset 0x53+2, OEM-ID "MSDOS5.0", root entries 224, sectors 2880 (volumes <=32 MB), sectors/FAT 9, sectors/track 18, serial number 0x2e290611, unlabeled, FAT (12 bit), followed by FAT
mdir
tingo@kg-core1$ mdir -i 35_ibm_hd_dos_620_2of3.img -w Volume in drive : is DISK 2 Volume Serial Number is 2E29-0611 Directory for ::/ chkstate.sy_ choice.com dblspace.exe dblspace.hl_ dblspace.in_ dblspace.sy_ defrag.exe defrag.hl_ edit.hl_ ega.cp_ ega2.cp_ emm386.ex_ graphics.pr_ keybrd2.sy_ label.ex_ loadfix.co_ memmaker.exe memmaker.hl_ memmaker.in_ monoumb.38_ more.com mscdex.exe msd.com msd.exe mwbackf.dl_ mwbackr.dl_ mwbackup.ex_ mwbackup.hl_ networks.txt print.ex_ qbasic.hl_ replace.ex_ restore.ex_ setver.ex_ sizer.ex_ smartdrv.ex_ smartmon.ex_ smartmon.hl_ sort.ex_ tree.co_ 40 files 1 329 551 bytes 117 760 bytes free
ok
2020-04-05: c1 - read more 3.5 inch, IBM-formatted, HD floppies - dos 6.20 1 of 3
tingo@kg-core1$ ../fluxengine read ibm -o 35_ibm_hd_dos_620_1of3.img Reading from: :d=0:s=0-1:t=0-79 [..] H.SS Tracks ---> 0. 0 ................................................................................ 0. 1 ................................................................................ 0. 2 ................................................................................ 0. 3 ................................................................................ 0. 4 ................................................................................ 0. 5 ................................................................................ 0. 6 ................................................................................ 0. 7 ................................................................................ 0. 8 ................................................................................ 0. 9 ................................................................................ 0.10 ................................................................................ 0.11 ................................................................................ 0.12 ................................................................................ 0.13 ................................................................................ 0.14 ................................................................................ 0.15 ................................................................................ 0.16 ................................................................................ 0.17 ................................................................................ 1. 0 ................................................................................ 1. 1 ................................................................................ 1. 2 ................................................................................ 1. 3 ................................................................................ 1. 4 ................................................................................ 1. 5 ................................................................................ 1. 6 ................................................................................ 1. 7 ................................................................................ 1. 8 ................................................................................ 1. 9 ....................................................................BBBBX....... 1.10 ................................................................................ 1.11 ................................................................................ 1.12 ................................................................................ 1.13 ................................................................................ 1.14 ................................................................................ 1.15 ................................................................................ 1.16 .............................................................................X.. 1.17 ................................................................................ Good sectors: 2874/2880 (99%) Missing sectors: 2/2880 (0%) Bad sectors: 4/2880 (0%) writing 80 tracks, 2 heads, 18 sectors, 512 bytes per sector, 1440 kB total
file
tingo@kg-core1$ file 35_ibm_hd_dos_620_1of3.img 35_ibm_hd_dos_620_1of3.img: DOS/MBR boot sector, code offset 0x3c+2, OEM-ID "MSDOS5.0", root entries 224, sectors 2880 (volumes <=32 MB), sectors/FAT 9, sectors/track 18, serial number 0x113b0511, unlabeled, FAT (12 bit), followed by FAT
mdir
tingo@kg-core1$ mdir -i 35_ibm_hd_dos_620_1of3.img -w Volume in drive : is DISK 1 Volume Serial Number is 113B-0511 Directory for ::/ io.sys msdos.sys command.com dblspace.bin ansi.sy_ append.ex_ attrib.exe autoexec.bat chkdsk.exe config.sys country.sys dblwin.hl_ debug.exe deltree.ex_ diskcomp.co_ diskcopy.co_ display.sy_ doshelp.hl_ doskey.co_ dossetup.ini driver.sy_ edit.com expand.exe fasthelp.ex_ fastopen.ex_ fc.ex_ fdisk.exe find.ex_ format.com graphics.co_ help.com help.hl_ himem.sy_ interlnk.ex_ intersvr.ex_ keyb.com keyboard.sys mem.ex_ mode.co_ move.ex_ nlsfunc.exe packing.lst power.ex_ qbasic.exe ramdrive.sy_ readme.txt scandisk.exe scandisk.ini setup.exe setup.msg share.ex_ subst.ex_ sys.com vfintd.38_ wina20.38_ xcopy.ex_ 56 files 1 365 810 bytes 78 848 bytes free
ok
2020-04-05: c1 - read another 3.5 inch, IBM-formatted, HD floppy
tingo@kg-core1$ ../fluxengine read ibm -o 35_ibm_hd_maxell_5.img Reading from: :d=0:s=0-1:t=0-79 Measuring rotational speed... 200ms [..] Autodetecting output geometry H.SS Tracks ---> 0. 0 ................................................................................ 0. 1 ................................................................................ 0. 2 ................................................................................ 0. 3 ................................................................................ 0. 4 ................................................................................ 0. 5 ................................................................................ 0. 6 ................................................................................ 0. 7 ................................................................................ 0. 8 ................................................................................ 0. 9 ................................................................................ 0.10 ................................................................................ 0.11 ................................................................................ 0.12 ................................................................................ 0.13 ................................................................................ 0.14 ................................................................................ 0.15 ................................................................................ 0.16 ................................................................................ 0.17 ......................................................................X.X...X... 1. 0 ................................................................................ 1. 1 ................................................................................ 1. 2 ................................................................................ 1. 3 ................................................................................ 1. 4 ................................................................................ 1. 5 .............................................................................X.. 1. 6 ................................................................................ 1. 7 ........................................................................X....... 1. 8 ................................................................................ 1. 9 .............................................................................X.X 1.10 ................................................................................ 1.11 ...............................................................................X 1.12 ..................................................................X..........XXX 1.13 ................................................................................ 1.14 ...........................................................................X...X 1.15 ................................................................................ 1.16 ................................................................................ 1.17 .....................................................................X.....X.... Good sectors: 2864/2880 (99%) Missing sectors: 16/2880 (0%) Bad sectors: 0/2880 (0%) writing 80 tracks, 2 heads, 18 sectors, 512 bytes per sector, 1440 kB total
file
tingo@kg-core1$ file 35_ibm_hd_maxell_5.img 35_ibm_hd_maxell_5.img: Macintosh HFS data block size: 512, number of blocks: 2874, volume name: Mac-3
ok, I didn't see that one coming.
2020-04-05: c1 - try to read a 3.5 inch, IBM-formatted, HD floppy
tingo@kg-core1$ ../fluxengine read ibm -o 35_ibm_hd_win95-boot.img Reading from: :d=0:s=0-1:t=0-79 Measuring rotational speed... 200ms [..] Autodetecting output geometry H.SS Tracks ---> 0. 0 ................................................................................ 0. 1 ................................................................................ 0. 2 ................................................................................ 0. 3 ................................................................................ 0. 4 ................................................................................ 0. 5 ................................................................................ 0. 6 ................................................................................ 0. 7 ................................................................................ 0. 8 ................................................................................ 0. 9 ................................................................................ 0.10 ....................................................................X..XXXBB.... 0.11 ................................................................................ 0.12 ................................................................................ 0.13 ................................................................................ 0.14 ................................................................................ 0.15 ................................................................................ 0.16 ................................................................................ 0.17 ................................................................................ 1. 0 ...........................................................................BB... 1. 1 ................................................................................ 1. 2 .............................................................................?.. 1. 3 ................................................................................ 1. 4 ................................................................................ 1. 5 ................................................................................ 1. 6 .....................................................BBBB....................... 1. 7 .............................................XXXX...XXXXX....................... 1. 8 ................................................................................ 1. 9 ..............................................................................?? 1.10 .......................................................................XXXXX.... 1.11 ..........................................................................BBBBB? 1.12 .............................................................................BXB 1.13 ..............................................................................BB 1.14 .............................................................................XBX 1.15 ................................................................................ 1.16 ................................................................................ 1.17 ................................................................................ Good sectors: 2841/2880 (98%) Missing sectors: 21/2880 (0%) Bad sectors: 18/2880 (0%) writing 80 tracks, 2 heads, 18 sectors, 512 bytes per sector, 1440 kB total
check
tingo@kg-core1$ file 35_ibm_hd_win95-boot.img 35_ibm_hd_win95-boot.img: DOS/MBR boot sector, code offset 0x3c+2, OEM-ID "MSWIN4.1", root entries 224, sectors 2880 (volumes <=32 MB), sectors/FAT 9, sectors/track 18, serial number 0x3135bb81, label: " ", FAT (12 bit), followed by FAT
mdir (mtools) says
tingo@kg-core1$ mdir -i 35_ibm_hd_win95-boot.img -w Volume in drive : has no label Volume Serial Number is 3135-BB81 Directory for ::/ drvspace.bin command.com format.com sys.com himem.sys config.sys autoexec.bat display.sys country.sys ega.cpi mode.com keyboard.sys keyb.com fdisk.exe attrib.exe edit.com regedit.exe scandisk.exe scandisk.ini debug.exe chkdsk.exe uninstal.exe 22 files 981 668 bytes 218 112 bytes free
good. Next, see if we can improve the result
tingo@kg-core1$ ../fluxengine read ibm --ibm-required-sectors=0-17 -o 35_ibm_hd_win95-boot_2.img Reading from: :d=0:s=0-1:t=0-79 Measuring rotational speed... 200ms [..] Autodetecting output geometry H.SS Tracks ---> 0. 0 ................................................................................ 0. 1 ................................................................................ 0. 2 ................................................................................ 0. 3 ................................................................................ 0. 4 ................................................................................ 0. 5 ................................................................................ 0. 6 ................................................................................ 0. 7 ................................................................................ 0. 8 ................................................................................ 0. 9 ................................................................................ 0.10 ................................................................................ 0.11 ................................................................................ 0.12 ................................................................................ 0.13 ................................................................................ 0.14 ................................................................................ 0.15 ................................................................................ 0.16 ................................................................................ 0.17 ................................................................................ 1. 0 ................................................................................ 1. 1 ................................................................................ 1. 2 ................................................................................ 1. 3 ................................................................................ 1. 4 ................................................................................ 1. 5 ................................................................................ 1. 6 .....................................................BBBB....................... 1. 7 .............................................XXX.....XXXX....................... 1. 8 ................................................................................ 1. 9 ...............................................................................B 1.10 ........................................................................B?BB.... 1.11 ............................................................................BBBB 1.12 ..............................................................................B. 1.13 ................................................................................ 1.14 .............................................................................B?? 1.15 ................................................................................ 1.16 ................................................................................ 1.17 ................................................................................ Good sectors: 2859/2880 (99%) Missing sectors: 7/2880 (0%) Bad sectors: 14/2880 (0%) writing 80 tracks, 2 heads, 18 sectors, 512 bytes per sector, 1440 kB total
so, a bit better.
2020-04-05: c1 - fluxengine - read ibm command
tingo@kg-core1$ ../fluxengine read ibm -h FluxEngine options: --revolutions <default: "1.250000">: read this many revolutions of the disk --sync-with-index <default: "false">: whether to wait for an index pulse before started to read --index-mode <default: "0">: index pulse source (0=drive, 1=300 RPM fake source, 2=360 RPM fake source --merge: merge new data into existing flux file --overwrite: overwrite existing flux file --pulse-debounce-threshold <default: "0.300000">: Ignore pulses with intervals short than this, in fractions of a clock. --bit-error-threshold <default: "0.400000">: Amount of error to tolerate in pulse timing, in fractions of a clock. --clock-interval-bias <default: "-0.020000">: Adjust intervals between pulses by this many clocks before decoding. --minimum-clock-us <default: "0.750000">: Refuse to detect clocks shorter than this, to avoid false positives. --visualiser-period <default: "200">: rotational period for use by the visualiser (milliseconds) --source, -s <default: ":d=0:s=0-1:t=0-79">: source for data --output, -o <default: "ibm.img">: output image file to write to --write-flux, -f <default: "">: write the raw magnetic flux to this file --write-svg <default: "">: write a visualisation of the disk to this file --just-read: just read the disk and do no further processing --dump-records: Dump the parsed but undecoded records. --dump-sectors: Dump the decoded sectors. --retries <default: "5">: How many times to retry each track in the event of a read failure. --high-density, --hd: set the drive to high density mode --write-csv <default: "">: write a CSV report of the disk state --ibm-sector-id-base <default: "1">: Sector ID of the first sector. --ibm-ignore-side-byte <default: "false">: Ignore the side byte in the sector ID, and use the physical side instead. --ibm-required-sectors <default: "">: A comma seperated list or range of sectors which must be on each track. --help, -h: Shows the help.
ok
2020-04-05: c1 - testing - basic tests usb bandwidth
tingo@kg-core1$ ../fluxengine test bandwidth Transferred 1048576 bytes from FluxEngine -> PC in 1111 ms (921 kB/s) Transferred 1048576 bytes from PC -> FluxEngine in 2050 ms (499 kB/s)
voltages
tingo@kg-core1$ ../fluxengine test voltages Output voltages: Both drives deselected Logic 1 / 0: 0.08V / 4.60V Drive 0 selected Logic 1 / 0: 0.08V / 4.62V Drive 1 selected Logic 1 / 0: 0.08V / 4.65V Drive 0 running Logic 1 / 0: 0.08V / 4.65V Drive 1 running Logic 1 / 0: 0.08V / 4.73V Input voltages: Both drives deselected Logic 1 / 0: 4.90V / 4.98V Drive 0 selected Logic 1 / 0: 4.99V / 4.99V Drive 1 selected Logic 1 / 0: 0.00V / 4.90V Drive 0 running Logic 1 / 0: 4.99V / 4.99V Drive 1 running Logic 1 / 0: 0.00V / 4.90V
drive rpm
tingo@kg-core1$ ../fluxengine rpm Rotational period is 200 ms (300 rpm)
good
2020-04-05: c1 - test setup - a FluxEngine, a Panasonic JU-256A (256A276PC) floppy drive, an Asus floppy cable with only two connectors, external 5V psu for the drive. The machine is running:
tingo@kg-core1$ freebsd-version -ku 11.3-STABLE 11.3-STABLE tingo@kg-core1$ uname -a FreeBSD kg-core1.kg4.no 11.3-STABLE FreeBSD 11.3-STABLE #2 r352605: Sun Sep 22 22:53:27 CEST 2019 root@kg-core1.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64
ok
2020-04-05: c1 - build latest client from source. First I had to change 'g++' to 'g++9' in the Makefile:
tingo@kg-core1$ grep CXX Makefile export CXX = /mingw32/bin/g++ export CXX = g++9
then build with 'gmake'
tingo@kg-core1$ gmake MKNINJA .obj/build.ninja [1/262] g++9 --std=c++14 -ffunction-sections -fdata-sections -I/usr/local/include -Ilib -Idep/fmt -Iarch -O0 -g -I. -c -o .obj/dbg/dep/fmt/posix.o dep/fmt/posix.cc -MMD -MF .obj/dbg/dep/fmt/posix.o.d [..] [260/262] ar rcs .obj/dbg/libamiga-test.a .obj/dbg/tests/amiga.o [261/262] g++9 -o .obj/amiga-test-debug .obj/dbg/libamiga-test.a .obj/dbg/libbackend.a .obj/dbg/libfmt.a -O0 -g -lz -L/usr/local/lib -lsqlite3 -lusb [262/262] .obj/amiga-test-debug && touch .obj/amiga-test.stamp and I have programs (ok, files with execute flag): tingo@kg-core1$ find . -type f -perm +100 -depth 1 -print ./fluxengine ./fluxengine-debug ./brother120tool ./brother120tool-debug ./brother240tool-debug ./brother240tool
good
2020-04-05: c1 - source - let me see, the source is at
tingo@kg-core1$ pwd /home/tingo/personal/projects/PSoC/fluxengine
but it's old
tingo@kg-core1$ git log -1 commit fc29ebf8faa5b29138b31765960d39c840532c34 (HEAD -> master, origin/rewrite, origin/master, origin/HEAD) Merge: d1c2e2b c6a9acb Author: David Given <dg@cowlark.com> Date: Wed May 1 16:15:34 2019 +0200 Merge from master.
so pull
tingo@kg-core1$ git log -1 commit 8dbd2a72a705b81f57d0a8432724d53113d67c61 (HEAD -> master, tag: FluxEngine-Windows-client-version-382, origin/master, origin/HEAD) Merge: 2007ff7 c29e131 Author: David Given <dg@cowlark.com> Date: Fri Apr 3 23:54:29 2020 +0200 Merge pull request #150 from davidgiven/sixbit Fix the new sampler and sequencer
much better.
2019-05-03: c1 - try readibm again
tingo@kg-core1$ ../.obj/fe-readibm -o win95-boot.img -f win95-boot.flux Reading from: :d=0:s=0-1:t=0-79 Writing a copy of the flux to win95-boot.flux 0.0: 205 ms in 157565 bytes 34 records, 17 sectors; 1.05us clock; logical track 0.0; 8704 bytes decoded. 0.1: 205 ms in 182208 bytes 30 records, 15 sectors; 1.05us clock; logical track 0.1; 7680 bytes decoded. 1.0: 206 ms in 162304 bytes 36 records, 18 sectors; 1.05us clock; logical track 1.0; 9216 bytes decoded. 1.1: 206 ms in 157952 bytes 25 records, 13 sectors; 1.04us clock; Failed to read sector 7 (present but no data found); 5 retries remaining 1.1: 206 ms in 157952 bytes 55 records, 29 sectors; 1.04us clock; Failed to read sector 7 (present but no data found); 4 retries remaining 1.1: 206 ms in 157952 bytes 86 records, 45 sectors; 1.04us clock; logical track 1.1; 9216 bytes decoded. 2.0: 205 ms in 168832 bytes 33 records, 17 sectors; 1.05us clock; Failed to read sector 6 (present but no data found); Failed to read sector 15 (bad checksum); 5 retries remaining 2.0: Error: USB underrun (not enough bandwidth)
ok, so it does not help - not much anyway.
2019-05-03: c1 - updated to latest firmware on the FluxEngine - does that make a difference?
tingo@kg-core1$ ../.obj/fe-testbulktransport Transferred 1048576 bytes in 1217 (840 kB/s) tingo@kg-core1$ ../.obj/fe-rpm Rotational period is 200 ms (300 rpm)
ok
2019-05-03: c1 - try readibm with the same disk in the drive
tingo@kg-core1$ ../.obj/fe-readibm -o win95-boot.img -f win95-boot.flux Reading from: :d=0:s=0-1:t=0-79 Writing a copy of the flux to win95-boot.flux 0.0: 192 ms in 158400 bytes 35 records, 18 sectors; 0.98us clock; Failed to read sector 0 (present but no data found); 5 retries remaining 0.0: 192 ms in 158400 bytes 71 records, 36 sectors; 0.98us clock; logical track 0.0; 9216 bytes decoded. 0.1: 191 ms in 182208 bytes 30 records, 17 sectors; 0.98us clock; Failed to read sector 2 (present but no data found); Failed to read sector 8 (present but no data found); Failed to read sector 11 (present but no data found); Failed to read sector 16 (present but no data found); 5 retries remaining 0.1: Error: USB underrun (not enough bandwidth)
not great.
2019-05-03: c1 - with an 3.5 inch, IBM formatted, HD floppy in a 3.5 inch drive, test bulktransport and rpm
Transferred 1048576 bytes in 1219 (839 kB/s) tingo@kg-core1$ .obj/fe-rpm Rotational period is 200 ms (300 rpm)
ok
2019-05-03: c1 - update source, then build latest client from master
tingo@kg-core1$ make meson .obj The Meson build system Version: 0.49.2 Source dir: /zs/tingo/personal/projects/PSoC/fluxengine Build dir: /zs/tingo/personal/projects/PSoC/fluxengine/.obj Build type: native build Project name: fluxclient Project version: undefined Native C compiler: cc (clang 6.0.1 "FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1)") Native C++ compiler: c++ (clang 6.0.1 "FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1)") Build machine cpu family: x86_64 Build machine cpu: x86_64 Found pkg-config: /usr/local/bin/pkg-config (1.6.0) Dependency libusb-1.0 found: YES 1.0.13 Dependency sqlite3 found: YES 3.27.1 Dependency zlib found: YES 1.2.10 Build targets in project: 56 Found ninja-1.8.2 at /usr/local/bin/ninja ninja: Entering directory `.obj' [20/154] Compiling C++ object 'fluxsourcelib@sha/lib_fluxsource_hardwarefluxsource.cc.o'. ../lib/fluxsource/hardwarefluxsource.cc:54:14: warning: private field '_revolutions' is not used [-Wunused-private-field] unsigned _revolutions; ^ 1 warning generated. [34/154] Compiling C++ object 'decoderlib@sha/lib_decoders_fluxmapreader.cc.o'. In file included from ../lib/decoders/fluxmapreader.cc:3: ../lib/decoders/fluxmapreader.h:112:20: warning: private field '_fluxmap' is not used [-Wunused-private-field] const Fluxmap& _fluxmap; ^ 1 warning generated. [153/154] Running all tests. 1/9 DataSpec OK 0.03 s 2/9 Flags OK 0.03 s 3/9 FmMfm OK 0.02 s 4/9 BitAccumulator OK 0.02 s 5/9 Kryoflux OK 0.04 s 6/9 Compression OK 0.05 s 7/9 Bytes OK 0.02 s 8/9 Crunch OK 0.02 s 9/9 FluxPattern OK 0.01 s Ok: 9 Expected Fail: 0 Fail: 0 Unexpected Pass: 0 Skipped: 0 Timeout: 0 Full log written to /zs/tingo/personal/projects/PSoC/fluxengine/.obj/meson-logs/testlog.txt
ok.
2019-04-07: c1 - try to read a 3.5 inch, DD, Amiga-formatted floppy
tingo@kg-core1$ ../.obj/fe-readamiga [..] 5.0: (99120 bytes crunched) 392 ms in 158592 bytes 1.96 us clock; 25050 bytes encoded; 22 records 21 sectors; logical track 5.0; 5632 bytes decoded. 5.1: Error: USB underrun (not enough bandwidth)
nope.
2019-04-07: c1 - try to read a 3.5 inch, HD, ms-dos formatted floppy
tingo@kg-core1$ ../.obj/fe-readibm Reading from: :d=0:s=0-1:t=0-79 0.0: (98440 bytes crunched) 191 ms in 157504 bytes 1.12 us clock; 21318 bytes encoded; 0 records 0 sectors; 0 bytes decoded. 0.1: Error: USB underrun (not enough bandwidth)
ouch.
tingo@kg-core1$ ../.obj/fe-readibm --hd Reading from: :d=0:s=0-1:t=0-79 0.0: Error: USB underrun (not enough bandwidth)
ok, so it still doesn't work
2019-04-07: c1 - using a 3.5 inch Samsung SFD-321B drive, insert a HD floppy and do basic testing
tingo@kg-core1$ ../.obj/fe-testbulktransport Transferred 1048576 bytes in 1215 (842 kB/s)
rpm, too tingo@kg-core1$ ../.obj/fe-rpm Rotational period is 200 ms (300 rpm)
good. 2019-04-07: c1 - update source, then build latest client from master
tingo@kg-core1$ make ninja: Entering directory `.obj' [0/1] Regenerating build files. The Meson build system Version: 0.49.2 Source dir: /zs/tingo/personal/projects/PSoC/fluxengine Build dir: /zs/tingo/personal/projects/PSoC/fluxengine/.obj Build type: native build Project name: fluxclient Project version: undefined Native C compiler: cc (clang 6.0.1 "FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1)") Native C++ compiler: c++ (clang 6.0.1 "FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1)") Build machine cpu family: x86_64 Build machine cpu: x86_64 Dependency libusb-1.0 found: YES (cached) Dependency sqlite3 found: YES (cached) Dependency zlib found: YES (cached) Build targets in project: 52 Found ninja-1.8.2 at /usr/local/bin/ninja [6/134] Compiling C++ object 'felib@sha/lib_fluxmap.cc.o'. In file included from ../lib/fluxmap.cc:2: ../lib/fluxmap.h:69:20: warning: private field '_fluxmap' is not used [-Wunused-private-field] const Fluxmap& _fluxmap; ^ 1 warning generated. [133/134] Running all tests. 1/8 DataSpec OK 0.01 s 2/8 Flags OK 0.03 s 3/8 FmMfm OK 0.03 s 4/8 BitAccumulator OK 0.03 s 5/8 Kryoflux OK 0.04 s 6/8 Compression OK 0.04 s 7/8 Bytes OK 0.02 s 8/8 Crunch OK 0.02 s
Ok: 8 Expected Fail: 0 Fail: 0 Unexpected Pass: 0 Skipped: 0 Timeout: 0
Full log written to /zs/tingo/personal/projects/PSoC/fluxengine/.obj/meson-logs/testlog.txt
ok. 2019-03-11: v7 - test fe-readibm
tingo@kg-v7$ ../.obj/fe-testbulktransport Transferred 1048576 bytes in 1152 (888 kB/s) tingo@kg-v7$ ../.obj/fe-readibm Reading from: :d=0:s=0-1:t=0-79 0.0: Error: USB underrun (not enough bandwidth) tingo@kg-v7$ ../.obj/fe-readibm Reading from: :d=0:s=0-1:t=0-79 0.0: Error: USB underrun (not enough bandwidth) tingo@kg-v7$ ../.obj/fe-readibm Reading from: :d=0:s=0-1:t=0-79 0.0: Error: USB underrun (not enough bandwidth)
nope, does not work at all. 2019-03-11: v7 - test fe-readamiga with a DD floppy in the drive
tingo@kg-v7$ ../.obj/fe-readamiga [..] Good sectors: 1760/1760 (100%) Missing sectors: 0/1760 (0%) Bad sectors: 0/1760 (0%) 80 tracks, 2 heads, 11 sectors, 512 bytes per sector, 880 kB total
what does file say
tingo@kg-v7$ file amiga.adf amiga.adf: Amiga DOS disk
disktype?
tingo@kg-v7$ disktype amiga.adf
--- amiga.adf Regular file, size 880 KiB (901120 bytes) Amiga OFS file system (non-intl.) Type "DOS\0" Size matches DD floppy
ok. 2019-03-11: v7 - build FluxEngine client, so I can test it on this machine too. 2019-03-11: c1 - test fe-readibm with a HD floppy in the drive
tingo@kg-core1$ ../.obj/fe-testbulktransport Transferred 1048576 bytes in 1087 (941 kB/s) tingo@kg-core1$ ../.obj/fe-rpm Rotational period is 200 ms (300 rpm) tingo@kg-core1$ ../.obj/fe-readibm Reading from: :d=0:s=0-1:t=0-79 0.0: Error: USB underrun (not enough bandwidth)
doesn't work either. 2019-03-11: c1 - test fe-readamiga with a DD floppy in the drive
tingo@kg-core1$ ../.obj/fe-readamiga Reading from: :d=0:s=0-1:t=0-79 0.0: 392 ms in 158976 bytes (405 kB/s) 1.96 us clock; 25053 bytes encoded; 22 records 21 sectors; logical track 0.0; 5632 bytes decoded. 0.1: 392 ms in 158016 bytes (402 kB/s) 1.96 us clock; 25054 bytes encoded; 22 records 21 sectors; logical track 0.1; 5632 bytes decoded. 1.0: 392 ms in 157632 bytes (401 kB/s) 1.96 us clock; 25049 bytes encoded; 22 records 21 sectors; logical track 1.0; 5632 bytes decoded. 1.1: 392 ms in 158272 bytes (403 kB/s) 1.96 us clock; 25048 bytes encoded; 22 records 21 sectors; logical track 1.1; 5632 bytes decoded. 2.0: Error: USB underrun (not enough bandwidth)
not good. Another try
tingo@kg-core1$ ../.obj/fe-testbulktransport Transferred 1048576 bytes in 1083 (945 kB/s) tingo@kg-core1$ ../.obj/fe-readamiga Reading from: :d=0:s=0-1:t=0-79 0.0: Error: USB underrun (not enough bandwidth) tingo@kg-core1$ ../.obj/fe-readamiga Reading from: :d=0:s=0-1:t=0-79 0.0: 392 ms in 158976 bytes (405 kB/s) 1.96 us clock; 25046 bytes encoded; 22 records 21 sectors; logical track 0.0; 5632 bytes decoded. 0.1: 392 ms in 158016 bytes (402 kB/s) 1.96 us clock; 25053 bytes encoded; 22 records 21 sectors; logical track 0.1; 5632 bytes decoded. 1.0: Error: USB underrun (not enough bandwidth)
strange. 2019-03-11: c1 - fe-testbulktransport
tingo@kg-core1$ ../.obj/fe-testbulktransport Transferred 1048576 bytes in 1080 (948 kB/s) tingo@kg-core1$ ../.obj/fe-testbulktransport Transferred 1048576 bytes in 1085 (943 kB/s) tingo@kg-core1$ ../.obj/fe-testbulktransport Transferred 1048576 bytes in 1098 (932 kB/s)
fe-rpm (with DD floppy in drive)
tingo@kg-core1$ ../.obj/fe-rpm Rotational period is 199 ms (301.508 rpm) tingo@kg-core1$ ../.obj/fe-rpm Rotational period is 200 ms (300 rpm) tingo@kg-core1$ ../.obj/fe-rpm Rotational period is 200 ms (300 rpm)
fe-rpm (with HD floppy in drive)
tingo@kg-core1$ ../.obj/fe-rpm Rotational period is 200 ms (300 rpm) tingo@kg-core1$ ../.obj/fe-rpm Rotational period is 200 ms (300 rpm) tingo@kg-core1$ ../.obj/fe-rpm Rotational period is 200 ms (300 rpm)
ok. 2019-03-11: c1 - Fluxengine I built a newer version of the client, and got this:
tingo@kg-core1$ .obj/fe-rpm Error: your FluxEngine firmware is at version 3 but the client is for version 4; please upgrade tingo@kg-core1$ .obj/fe-testbulktransport Error: your FluxEngine firmware is at version 3 but the client is for version 4; please upgrade
so i booted Windows on that laptop again, updated from the repository, and built a new version of the firmware.
Now I get
tingo@kg-core1$ .obj/fe-testbulktransport Transferred 1048576 bytes in 1106 (925 kB/s) tingo@kg-core1$ .obj/fe-rpm Rotational period is 200 ms (300 rpm)
good.
2019-03-11: I created this page.
2019-03-06: c1 - test fe-readamiga
tingo@kg-core1$ ../.obj/fe-readamiga --just-read Reading from: :d=0:s=0-1:t=0-79 0.0: 400 ms in 85184 bytes 0.1: 400 ms in 79360 bytes 1.0: 400 ms in 81152 bytes 1.1: 400 ms in 79424 bytes 2.0: 400 ms in 79040 bytes 2.1: 400 ms in 79424 bytes 3.0: 400 ms in 79168 bytes 3.1: 399 ms in 79488 bytes 4.0: 399 ms in 81152 bytes 4.1: 399 ms in 79168 bytes 5.0: 399 ms in 79296 bytes 5.1: 399 ms in 80960 bytes 6.0: 399 ms in 79104 bytes 6.1: 399 ms in 79552 bytes 7.0: 399 ms in 79360 bytes 7.1: 400 ms in 79360 bytes 8.0: 399 ms in 79040 bytes 8.1: 399 ms in 80768 bytes 9.0: 399 ms in 79168 bytes 9.1: 399 ms in 79040 bytes 10.0: 399 ms in 79360 bytes 10.1: 400 ms in 79232 bytes 11.0: 400 ms in 79424 bytes 11.1: Error: USB underrun (not enough bandwidth)
same problem here. Try another disk, just in case
tingo@kg-core1$ ../.obj/fe-readamiga --just-read Reading from: :d=0:s=0-1:t=0-79 0.0: 399 ms in 79488 bytes 0.1: 400 ms in 79040 bytes 1.0: 399 ms in 78848 bytes 1.1: 399 ms in 79168 bytes [..] 75.1: 400 ms in 79168 bytes 76.0: 400 ms in 78848 bytes 76.1: 399 ms in 79040 bytes 77.0: Error: USB underrun (not enough bandwidth)
it got further, but still failed.
2019-03-06: c1 - test fe-readibm
tingo@kg-core1$ ../.obj/fe-readibm Reading from: :d=0:s=0-1:t=0-79 0.0: 200 ms in 93440 bytes 1.00 us clock; 25004 bytes encoded; 36 records 18 sectors; logical track 0.0; 9216 bytes decoded. 0.1: 199 ms in 92416 bytes 1.00 us clock; 24991 bytes encoded; 36 records 18 sectors; logical track 0.1; 9216 bytes decoded. 1.0: 199 ms in 76288 bytes 0.96 us clock; 26089 bytes encoded; 36 records 18 sectors; logical track 1.0; 9216 bytes decoded. 1.1: 199 ms in 75904 bytes 1.00 us clock; 24995 bytes encoded; 36 records 18 sectors; logical track 1.1; 9216 bytes decoded. 2.0: 199 ms in 75904 bytes 1.00 us clock; 24992 bytes encoded; 36 records 18 sectors; logical track 2.0; 9216 bytes decoded. 2.1: 199 ms in 75904 bytes 1.00 us clock; 24996 bytes encoded; 36 records 18 sectors; logical track 2.1; 9216 bytes decoded. 3.0: 199 ms in 75904 bytes 1.00 us clock; 24985 bytes encoded; 36 records 18 sectors; logical track 3.0; 9216 bytes decoded. 3.1: 199 ms in 75904 bytes 1.00 us clock; 24992 bytes encoded; 36 records 18 sectors; logical track 3.1; 9216 bytes decoded. 4.0: 199 ms in 75904 bytes 1.00 us clock; 24988 bytes encoded; 36 records 18 sectors; logical track 4.0; 9216 bytes decoded. 4.1: 199 ms in 75904 bytes 1.00 us clock; 24994 bytes encoded; 36 records 18 sectors; logical track 4.1; 9216 bytes decoded. 5.0: 199 ms in 75904 bytes 1.00 us clock; 24994 bytes encoded; 36 records 18 sectors; logical track 5.0; 9216 bytes decoded. 5.1: 200 ms in 75904 bytes 1.00 us clock; 25004 bytes encoded; 36 records 18 sectors; logical track 5.1; 9216 bytes decoded. 6.0: 199 ms in 75904 bytes 1.00 us clock; 24994 bytes encoded; 36 records 18 sectors; logical track 6.0; 9216 bytes decoded. 6.1: 199 ms in 75904 bytes 1.00 us clock; 24998 bytes encoded; 36 records 18 sectors; logical track 6.1; 9216 bytes decoded. 7.0: 199 ms in 75904 bytes 0.96 us clock; 26082 bytes encoded; 36 records 18 sectors; logical track 7.0; 9216 bytes decoded. 7.1: 199 ms in 75904 bytes 1.00 us clock; 24993 bytes encoded; 36 records 18 sectors; logical track 7.1; 9216 bytes decoded. 8.0: 199 ms in 75904 bytes 1.00 us clock; 24986 bytes encoded; 36 records 18 sectors; logical track 8.0; 9216 bytes decoded. 8.1: 199 ms in 75904 bytes 1.00 us clock; 24992 bytes encoded; 36 records 18 sectors; logical track 8.1; 9216 bytes decoded. 9.0: 199 ms in 75904 bytes 1.00 us clock; 24991 bytes encoded; 36 records 18 sectors; logical track 9.0; 9216 bytes decoded. 9.1: 199 ms in 75904 bytes 1.00 us clock; 24999 bytes encoded; 36 records 18 sectors; logical track 9.1; 9216 bytes decoded. 10.0: Error: USB underrun (not enough bandwidth)
same problem. I wonder why? Try with --just-read (yes, silly I know)
tingo@kg-core1$ ../.obj/fe-readibm --just-read Reading from: :d=0:s=0-1:t=0-79 0.0: 199 ms in 91072 bytes 0.1: 199 ms in 90176 bytes 1.0: 199 ms in 78848 bytes 1.1: 200 ms in 83840 bytes 2.0: 199 ms in 78784 bytes 2.1: 199 ms in 79808 bytes 3.0: 199 ms in 79424 bytes 3.1: 200 ms in 78720 bytes 4.0: 199 ms in 78144 bytes 4.1: 199 ms in 78080 bytes 5.0: 199 ms in 78400 bytes 5.1: 199 ms in 84928 bytes 6.0: 199 ms in 78720 bytes 6.1: 199 ms in 78464 bytes 7.0: 199 ms in 77888 bytes 7.1: 199 ms in 77824 bytes 8.0: 199 ms in 75904 bytes 8.1: 200 ms in 85376 bytes 9.0: 199 ms in 78912 bytes 9.1: Error: USB underrun (not enough bandwidth)
nope, same problem.
2019-03-06: c1 - test fe-readmac
tingo@kg-core1$ ../.obj/fe-readmac Reading from: :d=0:s=0-1:t=0-79 0.0: 399 ms in 184640 bytes 2.00 us clock; 24986 bytes encoded; 0 records 0 sectors; 0 bytes decoded. 0.1: 399 ms in 187456 bytes 2.00 us clock; 24984 bytes encoded; 0 records 0 sectors; 0 bytes decoded. 1.0: 399 ms in 178432 bytes 2.00 us clock; 24991 bytes encoded; 4 records 0 sectors; 0 bytes decoded. 1.1: 399 ms in 152448 bytes 2.00 us clock; 24988 bytes encoded; 3 records 0 sectors; 0 bytes decoded. 2.0: 399 ms in 151744 bytes 2.00 us clock; 24998 bytes encoded; 3 records 0 sectors; 0 bytes decoded. 2.1: Error: USB underrun (not enough bandwidth)
ok, that's not good. Perhaps I need to upgrade the firmware on the FluxEngine? Nope, firmware was built after the latest firmware update in the repository.
2019-03-06: c1 - test fe-rpm
tingo@kg-core1$ ../.obj/fe-rpm Rotational period is 200 ms (300 rpm)
looks good. bulktransport
tingo@kg-core1$ ../.obj/fe-testbulktransport Transferred 1048576 bytes in 1057 (968 kB/s)
good.
2019-03-06: c1 - test setup - a Samsung SFD-321B (321B/LFBL1) floppy drive, a cable with two connectors (drive connected to connector before twist), external 5V power supply for drive, cy8ckit-059 with FluxEngine firmware
2019-03-06: c1 - I built the FluxEngine client on my FreeBSD workstation with a bit of help (see issue 37). My workstation runs FreeBSD 11.2-stable:
tingo@kg-core1$ uname -a FreeBSD kg-core1.kg4.no 11.2-STABLE FreeBSD 11.2-STABLE #0 r342545: Thu Dec 27 00:29:46 CET 2018 root@kg-core1.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64
ok. USB permissions are needed. On my machine /dev/ugen* devices are added to the cups group, so I just added my user to it (and did a sudo -u user -i, too lazy to log out and back in) usbconfig says
root@kg-core1# usbconfig -d ugen3.6 ugen3.6: <Cowlark Technologies FluxEngine> at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (500mA)
good to know.