-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ibm.py read address mark failure needs accurate diagnostic data #487
Comments
dump of end of failing read.txt gw read myimage.img --diskdefs /home/ubman/Greaseweazel/greaseweazle-1.19/src/greaseweazle/data/diskdefs.cfg --format dec.rx01 --revs 4 |
More data from my tests - simplified my layout - data attached in zip |
While the ibm.scan mode works and makes usable .img files with perfect disks. I has no way of handling defective sectors, it merely omits their length from the final .img. |
Yes you will need to create a diskdef format for each disk format in your collection so that your reads can be checked against the format. In the original post here looks like perhaps your dec.rx01 format is not being picked up. Did you specify diskdefs=path/to/your/diskdef/file? |
Thanks Kier, |
The message comes from https://github.com/keirf/greaseweazle/blob/master/src/greaseweazle/codec/ibm/ibm.py#L681 You can actually run Greaseweazle out of the source directory by installing it with the
With the above, you can run In this message, |
Hi Kier, T0.0: IBM FM (26/26 sectors) from Raw Flux (216219 flux in 667.16ms) |
CHRN are the sector header bytes. C = Cylinder, H = Head, R = Sector Number, N = Sector Size (128<<N). In this case the correct diskdef would be the standard single-sided |
If you just want to recover any sectors found, use format |
Apologies. Please share a raw dump of an offending disk (eg. some variant of |
Your initial advise was along the lines of yesterdays: What was also missing was an * --- " tracks 0-76.* ibm.fm" apply to any heads This diskdef seems to work properly: Need do some error management tests as final tests |
FYI You should also be able to simplify the Everything else looks good. You don't necessarily need to specify |
Hi Kier |
The attached SCP image files are not raw but re-generated via Greaseweazle using the format you specified to |
Sorry Kier, |
Attached the required format added to your diskdefs.cfg as |
Really appreciate that Keir, at least it is making .img's now, will get them tested for |
Recovery error indication performance test: |
Hi Keir |
One of my other projects, FlashFloppy, is an (almost) universal floppy-drive replacement. You can put HFE image files on a USB drive, insert it into a Gotek programmed with FlashFloppy, and read/write those images on a host machine as if a normal floppy drive. Be sure to get the latest Gotek model with AT32F435 MCU. This sort (my listing, but these are fairly widely available): https://www.ebay.co.uk/itm/126371834387 |
Thanks Keir, |
Hi, If you do wish to buy from me, contact via email (my address is in my GitHub profile). Or you may find other sellers selling the same as me you prefer to use. The listing can then be used to know what you're looking for. The encoder has twenty detents per revolution. In addition, the firmware accelerates through the available images if you spin the rotary fast, so in practice you can zoom through far more than twenty images per revolution. It works much more conveniently than the original Gotek buttons, if the rotary is mechanically and aesthetically suitable for your system. |
Hi Keir, |
Thanks, i went in via ebay and the transaction was refused. it offered me an alternative in USA supplier and a excellent price and fast delivery |
Have an assortment of disks that have different side 1 sector id's the IBM std ones are from 27. I have non std disks would like to know what is expected from the printout which may be expecting interleaved numbers just looking at the data printout.
It reads standard ibm ones without error side 1 sectors are 27 up
but this failing disk reads perfectly in ibm.scan mode
greaseweazle/src/greaseweazle/codec/ibm/ibm.py
Line 658 in b0af2e4
line 658 to print statement
Format dec.rx01
T0.0: IBM FM (26/26 sectors) from Raw Flux (222540 flux in 674.79ms) : Is ok side 0
T0.1: Ignoring unexpected sector C:0 H:0 R:22 N:0: now errors from side 1 follow
T0.1: Ignoring unexpected sector C:0 H:0 R:13 N:0
T0.1: Ignoring unexpected sector C:0 H:0 R:24 N:0
T0.1: Ignoring unexpected sector C:0 H:0 R:4 N:0
T0.1: Ignoring unexpected sector C:0 H:0 R:26 N:0
T0.1: Ignoring unexpected sector C:0 H:0 R:15 N:0
T0.1: Ignoring unexpected sector C:0 H:0 R:6 N:0
T0.1: Ignoring unexpected sector C:0 H:0 R:17 N:0
my diskdef entry
disk dec.rx01
cyls = 77
heads = 2
tracks 0-76.0 ibm.fm
secs = 26
bps = 128
gap3 = 26
rate = 250
rpm = 360
end
tracks 0-76.1 ibm.fm
secs = 26
bps = 128
gap3 = 26
rate = 250
rpm = 360
id = 27 # normal for ibm side 1 sector nos?
h = 0
end
end
The text was updated successfully, but these errors were encountered: