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:
parent
a568172758
commit
7a627b782d
@ -651,6 +651,7 @@ void WD1770::posit_event(Event new_event_type)
|
|||||||
if(is_double_density_)
|
if(is_double_density_)
|
||||||
{
|
{
|
||||||
crc_generator_.set_value(Storage::Encodings::MFM::MFMPostSyncCRCValue);
|
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);
|
write_byte((command_&0x01) ? Storage::Encodings::MFM::MFMDeletedDataAddressByte : Storage::Encodings::MFM::MFMDataAddressByte);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user