Skip to content

Trying to write IBM with tweaks for Commodore 1581 #185

@hpingel

Description

@hpingel

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");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions