1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-26 23:52:26 +00:00

Reintroduced writing of MFM sync marks when writing a sector.

This commit is contained in:
Thomas Harte 2016-12-28 18:48:50 -05:00
parent a568172758
commit 7a627b782d

View File

@ -651,6 +651,7 @@ void WD1770::posit_event(Event new_event_type)
if(is_double_density_)
{
crc_generator_.set_value(Storage::Encodings::MFM::MFMPostSyncCRCValue);
for(int c = 0; c < 3; c++) write_raw_short(Storage::Encodings::MFM::MFMSync);
write_byte((command_&0x01) ? Storage::Encodings::MFM::MFMDeletedDataAddressByte : Storage::Encodings::MFM::MFMDataAddressByte);
}
else