-
Notifications
You must be signed in to change notification settings - Fork 79
Description
Hi,
it's me, I'm back - the guy with the interest in Commodore 1581. ;-)
I did some read tests last year, please compare #95.
But now I want to try to write: So I currently use the latest Cypress image and a self-compiled version of Fluxengine (current master branch) where I have tweaked the ibm-preset-720 to my needs. Basically the Commodore 1581 disks have 10 sectors per track (s=10) and have the sides inverted.
Because of the additional sector I seem to need to decrease the gap sizes because otherwise I exceed the allowed number of bytes per track (Error: track data overrun). I am completely unsure at the moment if I nee the IAM stuff or not and if I have to modify the IDAM / DAM bytes.
At the moment I can write a d81 image to disk and read it back again with Fluxengine. But the real 1581 doesn't want to read from that disk. I am wondering if the swapped sides could be an issue? It wasn't back then when I asked the same regarding reading a disk (#102).
My current settings for the 1581 are (gap values I don't provide at the moment because I'm constantly chaging them for testing purposes and it doesn't work anyway at the moment):
setWriterDefaultInput(":c=80:h=2:s=10:b=512");
trackLengthMs.setDefaultValue(200);
sectorSize.setDefaultValue(512);
emitIam.setDefaultValue(true);
clockRateKhz.setDefaultValue(250);
idamByte.setDefaultValue(0x5554);
damByte.setDefaultValue(0x5545);
...
sectorSkew.setDefaultValue("0123456789");