mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
Rip out the old approach to soft sector remapping as it wasn't working.
This commit is contained in:
@@ -85,8 +85,8 @@ static void write_sector(std::vector<bool>& bits,
|
||||
checksum = 0;
|
||||
Bytes header = {0xff, /* Amiga 1.0 format byte */
|
||||
(uint8_t)((sector->logicalTrack << 1) | sector->logicalSide),
|
||||
(uint8_t)sector->physicalSector,
|
||||
(uint8_t)(AMIGA_SECTORS_PER_TRACK - sector->physicalSector)};
|
||||
(uint8_t)sector->logicalSector,
|
||||
(uint8_t)(AMIGA_SECTORS_PER_TRACK - sector->logicalSector)};
|
||||
write_interleaved_bytes(header);
|
||||
Bytes recoveryInfo(16);
|
||||
if (sector->data.size() == 528)
|
||||
|
||||
Reference in New Issue
Block a user