I think this was a missed bit for Gutenberg.

This commit is contained in:
Rob Greene committed 2025-09-01 19:49:20 -05:00
1 parent 9462179ba5
commit 2ff5fc3654
1 file changed
+7
@@ -50,6 +50,13 @@ public class GutenbergDiskFactory implements DiskFactory {
TrackSectorDevice tmp = SkewedTrackSectorDevice.pascalToPhysicalSkew(ctx.sectorDevice);
devices.add(SkewedTrackSectorDevice.physicalToDosSkew(tmp));
}
else {
// Likely a DSK image
devices.add(ctx.sectorDevice);
// Cheating a bit...
TrackSectorDevice tmp = SkewedTrackSectorDevice.pascalToPhysicalSkew(ctx.sectorDevice);
devices.add(SkewedTrackSectorDevice.physicalToDosSkew(tmp));
}
}
else if (ctx.blockDevice != null) {
TrackSectorDevice po = new BlockToTrackSectorAdapter(ctx.blockDevice, new ProdosBlockToTrackSectorAdapterStrategy());