Writing Mac disks now looks like it's about half working, but some of the

tracks are ending up mangled on disk --- maybe it's a firmware bug?
This commit is contained in:
David Given
2021-01-04 19:16:09 +01:00
parent 7eaf3de572
commit fd4d1c4bb7

View File

@@ -132,10 +132,10 @@ static Bytes encode_crazy_data(const Bytes& input)
bw.write_8(w3);
}
bw.write_8(c1 & 0x3f);
bw.write_8(c2 & 0x3f);
bw.write_8(c3 & 0x3f);
bw.write_8(c4 & 0x3f);
bw.write_8(c3 & 0x3f);
bw.write_8(c2 & 0x3f);
bw.write_8(c1 & 0x3f);
return output;
}