Rip out the old approach to soft sector remapping as it wasn't working.

This commit is contained in:
David Given
2022-09-11 17:05:40 +02:00
parent ea1ab029f3
commit 3cb098f9ba
43 changed files with 141 additions and 161 deletions

View File

@@ -16,8 +16,13 @@ message FdiInputProto {}
message D88InputProto {}
message NFDInputProto {}
// NEXT_TAG: 14
message ImageReaderProto {
optional string filename = 1 [(help) = "filename of input sector image"];
optional bool filesystem_sector_order = 13 [
(help) = "read/write sector image in filesystem order",
default = false ];
oneof format {
ImgInputOutputProto img = 2;
DiskCopyInputProto diskcopy = 3;

View File

@@ -40,7 +40,7 @@ public:
break;
auto& trackLayout = Layout::getLayoutOfTrack(track, side);
for (int sectorId : trackLayout.logicalSectors)
for (int sectorId : trackLayout.logicalSectorOrder)
{
Bytes data(trackLayout.sectorSize);
inputFile.read((char*)data.begin(), data.size());