mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-23 03:32:32 +00:00
Substitutes working GCR test.
This commit is contained in:
parent
9730800b6a
commit
b98f10cb45
@ -41,91 +41,105 @@
|
||||
}
|
||||
|
||||
- (void)testData {
|
||||
// These bytes are taken from the PlusToo project's boot disk, courtesy of https://www.bigmessowires.com ;
|
||||
// this is the only example I've been able to find of a Macintosh disk that has already been converted
|
||||
// into GCR bytes.
|
||||
// This encoding was generated by the first version of my GCR encoder that produced data a Mac
|
||||
// would accept.
|
||||
const std::vector<uint8_t> expected_data = {
|
||||
0xD5, 0xAA, 0xAD, 0x96, 0x96, 0x96, 0x96, 0x96, 0x96, 0x96, 0x96, 0x96, 0x96, 0x96, 0x96, 0x96,
|
||||
0x96, 0x96, 0x96, 0x96, 0xB4, 0xAE, 0xA6, 0xE7, 0xF6, 0x96, 0xAE, 0xAF, 0xDC, 0xAE, 0xCB, 0xD9,
|
||||
0x9D, 0xBE, 0xAD, 0xFB, 0xE6, 0xD7, 0xF4, 0xEC, 0xF4, 0xFD, 0x9F, 0xE5, 0xBA, 0xB7, 0xE9, 0xAB,
|
||||
0x9F, 0xA6, 0xAF, 0xE5, 0xE6, 0xEB, 0xEA, 0xEC, 0xBE, 0xEC, 0xFD, 0xFC, 0xB9, 0xBA, 0xCD, 0xAC,
|
||||
0xBB, 0xDE, 0xFA, 0xF7, 0xF5, 0xEB, 0xBF, 0xBD, 0xFB, 0xFD, 0xFB, 0xF7, 0xFD, 0xFC, 0xEB, 0x9D,
|
||||
0xF6, 0xBE, 0xF4, 0xFB, 0xB4, 0xAF, 0xCD, 0xD6, 0xDF, 0xB6, 0xFB, 0x96, 0xE5, 0x9E, 0xCD, 0xD6,
|
||||
0xE9, 0xE7, 0xB5, 0xA7, 0xEF, 0xF5, 0xF3, 0xD7, 0xCE, 0xF2, 0xAB, 0xBB, 0xDE, 0xD7, 0x9E, 0xFA,
|
||||
0xAE, 0xBA, 0xFE, 0xDF, 0xA7, 0x9B, 0xAF,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xFF, 0xE9, 0x9A, 0xBE, 0xEF, 0xAF, 0x96, 0xDA, 0x9D, 0xB9, 0xD7, 0xD3, 0xED, 0xB9, 0xDB,
|
||||
0xF6, 0xB9, 0xE9, 0xCE, 0xDD, 0xDC, 0xBB, 0xCD, 0xFC, 0xCD, 0xCB, 0xBF, 0xAE, 0x9E, 0xEC, 0xF3,
|
||||
0xE7, 0xED, 0xEE, 0xE5, 0xF7, 0xCF, 0xAC, 0x97, 0xAE, 0xDA, 0xCB, 0x96, 0xEB, 0xBC, 0xAD, 0xBB,
|
||||
0xBD, 0xA7, 0xBB, 0xCD, 0xE6, 0xEA, 0xAF, 0xAD, 0xCD, 0x9E, 0xAD, 0xFD, 0xF3, 0xAC, 0xFB, 0xB9,
|
||||
0xF2, 0xAD, 0xFF, 0xED, 0xDF, 0xDC, 0x9F, 0xB6, 0xB6, 0xEE, 0xD9, 0xD3, 0xF5, 0xCE, 0xBD, 0xCE,
|
||||
0xDF, 0xFC, 0xEA, 0xB2, 0xD6, 0xB5, 0xF4, 0xED, 0xE9, 0x9F, 0xFD, 0xD7, 0xAE, 0xD9, 0xEC, 0xEE,
|
||||
0xEC, 0xAB, 0x9B, 0xDE, 0xAA, 0xEB
|
||||
/* Standard prologue. */
|
||||
0xd5, 0xaa, 0xad,
|
||||
|
||||
/* Sector number. */
|
||||
0x96,
|
||||
|
||||
/* Tags, after GCR encoding. */
|
||||
0x96, 0x96, 0x96, 0x96, 0x96, 0x96, 0x96, 0x96, 0x96, 0x96, 0x96, 0x96, 0x96, 0x96, 0x96, 0x96,
|
||||
|
||||
/* Sector body. */
|
||||
0xb4, 0xae, 0xa6, 0xe7, 0xf6, 0x96, 0xae, 0xaf, 0xdc, 0xae, 0xcf, 0xce, 0x9d, 0xbe, 0xad, 0xed,
|
||||
0xe6, 0xd7, 0xf4, 0xd9, 0xf4, 0xfd, 0x9f, 0xdb, 0xba, 0xb7, 0xe9, 0x9d, 0x9f, 0xa6, 0xaf, 0xdb,
|
||||
0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0xff, 0xe9, 0xf3, 0xf4, 0xcf, 0xe6, 0xbf,
|
||||
0xdb, 0xae, 0xad, 0xb3, 0xad, 0xaf, 0xe9, 0xbf, 0xa7, 0xaf, 0xbd, 0xdf, 0xae, 0xb4, 0xbb, 0xdd,
|
||||
0xce, 0xcf, 0xb7, 0xfd, 0xec, 0xce, 0xbe, 0xde, 0xf2, 0xbd, 0xe7, 0x9d, 0xdf, 0xce, 0xac, 0xbf,
|
||||
0xd3, 0xfe, 0xe7, 0xdd, 0xfc, 0xb6, 0xe7, 0xb4, 0xfa, 0xbd, 0xef, 0xae, 0xa7, 0xdf, 0xbd, 0xf7,
|
||||
0xa7, 0xdd, 0xbe, 0x9e, 0x9a, 0xea, 0x97, 0xdb, 0xb2, 0x9b, 0xa7, 0xd7, 0x96, 0xf5, 0xb4, 0xbf,
|
||||
0xbc, 0xd7, 0x9a, 0xcb, 0xce, 0xb9, 0xb3, 0xb5, 0xaf, 0xb9, 0xfa, 0xf2, 0xbf, 0xb3, 0xdc, 0xdb,
|
||||
0xad, 0xd7, 0xbe, 0x9d, 0xea, 0xda, 0xb2, 0x9e, 0xea, 0xbd, 0xbe, 0xb7, 0xcb, 0xac, 0x9d, 0xb7,
|
||||
0xe7, 0xee, 0xd3, 0xb9, 0xcf, 0xce, 0xf9, 0x96, 0xf4, 0xbd, 0xab, 0xb5, 0xed, 0xe5, 0xea, 0xf4,
|
||||
0xfb, 0xd7, 0xf7, 0xbe, 0xf4, 0xfb, 0xb4, 0xbf, 0xee, 0xac, 0xde, 0xbd, 0xdc, 0xb6, 0xcf, 0xab,
|
||||
0xb7, 0xaf, 0xf7, 0xfb, 0xb3, 0xb3, 0xee, 0xe9, 0xcd, 0xb7, 0xd9, 0xfc, 0xd9, 0x9d, 0xef,
|
||||
|
||||
/* Standard epilogue. */
|
||||
0xde, 0xaa, 0xeb
|
||||
};
|
||||
// This appears to be what the Macintosh places into memory when reading the above sector.
|
||||
|
||||
// This is the first sector, taken from a random disk image from the internet.
|
||||
const uint8_t source_data[524] = {
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x1c, 0x1b, 0x81,
|
||||
0x11, 0xe1, 0x0b, 0x50, 0x26, 0x2c, 0xd1, 0xc5, 0x36, 0x5f, 0x58, 0xdd, 0x26, 0x12, 0x61, 0xaf,
|
||||
0xe8, 0xbd, 0x7d, 0x4c, 0xba, 0x1a, 0x71, 0x9a, 0xa0, 0x40, 0x52, 0x74, 0x2d, 0x7f, 0x86, 0x02,
|
||||
0x20, 0xef, 0xbd, 0x52, 0x29, 0xeb, 0xd5, 0xd5, 0x88, 0x54, 0xe7, 0xb8, 0xe8, 0x2b, 0x65, 0x93,
|
||||
0x28, 0xd9, 0x01, 0x3e, 0x3c, 0x66, 0x8a, 0xbb, 0x39, 0x6d, 0x23, 0xc3, 0xad, 0x8c, 0xb2, 0x30,
|
||||
0x73, 0x5c, 0x38, 0x90, 0xca, 0xf4, 0x2e, 0x65, 0xaf, 0xa6, 0xe0, 0x4c, 0x18, 0x6c, 0x6a, 0xbd,
|
||||
0x30, 0x07, 0x62, 0x96, 0x3d, 0x2b, 0x41, 0xb1, 0x0d, 0x8b, 0x33, 0xed, 0x49, 0x38, 0xe0, 0x78,
|
||||
0x06, 0x9f, 0x72, 0xa0, 0xdf, 0x9b, 0xc9, 0x1f, 0xd5, 0x1f, 0xac, 0x39, 0x7f, 0x8f, 0x44, 0x13,
|
||||
0x64, 0xbb, 0x92, 0xdd, 0xec, 0xc5, 0xfd, 0xf0, 0xe5, 0xc9, 0x69, 0x34, 0x44, 0xbd, 0x0a, 0x89,
|
||||
0xb5, 0xc7, 0x91, 0x6b, 0x60, 0x73, 0x7f, 0xe1, 0x44, 0x75, 0xb6, 0xf6, 0x8e, 0xc5, 0xac, 0x91,
|
||||
0x0c, 0x34, 0xef, 0xa3, 0x74, 0xa1, 0xdc, 0x6f, 0xfb, 0x86, 0x66, 0x86, 0x13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d9, 0xab, 0xaa, 0x0f, 0xf2,
|
||||
0x99, 0x72, 0x19, 0xa8, 0x27, 0xf3, 0xa2, 0xfc, 0x12, 0xdc, 0x49, 0x4c, 0x62, 0x84, 0x17, 0x32,
|
||||
0xd1, 0xde, 0x28, 0x87, 0xb0, 0x7e, 0xd9, 0x02, 0xce, 0xe8, 0x92, 0xad, 0x6d, 0x5e, 0x79, 0x9f,
|
||||
0xfc, 0x2c, 0xa5, 0x01, 0x1a, 0xc5, 0x4a, 0x93, 0x04, 0xcf, 0x6e, 0xd6, 0xa5, 0xa4, 0x68, 0x1d,
|
||||
0x8c, 0x91, 0xa4, 0x01, 0x21, 0x8c, 0xc9, 0x20, 0xd2, 0xc3, 0x6d, 0xed, 0x76, 0xea, 0x3a, 0x54,
|
||||
0xd4, 0xb5, 0x8d, 0x60, 0x7f, 0x61, 0xa1, 0x59, 0x53, 0xad, 0x59, 0xce, 0x6c, 0x67, 0x64, 0x86,
|
||||
0x4c, 0xea, 0x39, 0x6b, 0x14, 0x75, 0x7a, 0x75, 0xcd, 0x5c, 0xf1, 0x8d, 0xd9, 0x7d, 0x3e, 0x76,
|
||||
0x47, 0x66, 0x01, 0xf3, 0x40, 0x3d, 0x80, 0x29, 0xf1, 0x82, 0x85, 0xff, 0xab, 0xa0, 0x67, 0x26,
|
||||
0x8f, 0xb8, 0x9b, 0x5a, 0xb2, 0x64, 0x8d, 0xbe, 0xe3, 0xa4, 0x82, 0x44, 0xac, 0x1d, 0xae, 0x80,
|
||||
0x54, 0xac, 0x14, 0x0e, 0x63, 0x9a, 0x17, 0x4f, 0x1b, 0xf2, 0x02, 0x85, 0x34, 0x93, 0xab, 0x0e,
|
||||
0x09, 0x64, 0x18, 0x6e, 0x66, 0xd5, 0x32, 0x6f, 0xc2, 0x1e, 0x69, 0x75, 0x80, 0x4d, 0x9e, 0x92,
|
||||
0x5a, 0xee, 0xc1, 0x29, 0x41, 0xae, 0x47, 0xbd, 0x3b, 0x13, 0x46, 0xa1,
|
||||
/* Tags. */
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||
|
||||
/* Sector body. */
|
||||
0x4c, 0x4b, 0x60, 0x00, 0x00, 0x86, 0x00, 0x12, 0x00, 0x00, 0x06, 0x53, 0x79, 0x73, 0x74, 0x65,
|
||||
0x6d, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x06, 0x46, 0x69, 0x6e, 0x64, 0x65,
|
||||
0x72, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x07, 0x4d, 0x61, 0x63, 0x73, 0x62,
|
||||
0x75, 0x67, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x0c, 0x44, 0x69, 0x73, 0x61, 0x73,
|
||||
0x73, 0x65, 0x6d, 0x62, 0x6c, 0x65, 0x72, 0x20, 0x20, 0x20, 0x0d, 0x53, 0x74, 0x61, 0x72, 0x74,
|
||||
0x55, 0x70, 0x53, 0x63, 0x72, 0x65, 0x65, 0x6e, 0x20, 0x20, 0x06, 0x46, 0x69, 0x6e, 0x64, 0x65,
|
||||
0x72, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x0e, 0x43, 0x6c, 0x69, 0x70, 0x62,
|
||||
0x6f, 0x61, 0x72, 0x64, 0x20, 0x46, 0x69, 0x6c, 0x65, 0x20, 0x00, 0x0a, 0x00, 0x14, 0x00, 0x00,
|
||||
0x43, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0xc0, 0x00, 0x22, 0x38, 0x01, 0x08, 0x48, 0x41,
|
||||
0x0c, 0x41, 0x00, 0x04, 0x6e, 0x2c, 0x72, 0x00, 0x50, 0xf9, 0x00, 0x01, 0xff, 0xf0, 0x42, 0xb9,
|
||||
0x00, 0x03, 0xff, 0xf0, 0x4a, 0xb9, 0x00, 0x01, 0xff, 0xf0, 0x67, 0x16, 0x70, 0x02, 0x48, 0x40,
|
||||
0xd1, 0xb8, 0x01, 0x08, 0xd1, 0xb8, 0x08, 0x24, 0xd1, 0xb8, 0x02, 0x66, 0xd1, 0xb8, 0x01, 0x0c,
|
||||
0x72, 0x04, 0x20, 0x78, 0x02, 0xa6, 0x0c, 0x41, 0x00, 0x08, 0x6f, 0x02, 0x72, 0x08, 0xd1, 0xfb,
|
||||
0x10, 0xae, 0x2f, 0x08, 0x70, 0x07, 0x41, 0xf8, 0x0a, 0xb8, 0x42, 0x98, 0x51, 0xc8, 0xff, 0xfc,
|
||||
0x34, 0x3a, 0xff, 0x9a, 0x70, 0x16, 0xc0, 0xc2, 0x22, 0x00, 0xa7, 0x1e, 0x43, 0xf8, 0x01, 0x54,
|
||||
0x53, 0x42, 0x32, 0x82, 0x42, 0xa1, 0x42, 0xa1, 0x42, 0x61, 0x23, 0x08, 0x46, 0x58, 0x55, 0x41,
|
||||
0x66, 0xfa, 0x33, 0x3c, 0xff, 0xef, 0x42, 0x78, 0x01, 0x84, 0x72, 0xfc, 0x70, 0x0f, 0x14, 0x38,
|
||||
0x02, 0x06, 0xc0, 0x02, 0xd0, 0x40, 0x48, 0x40, 0x10, 0x02, 0xe4, 0x48, 0xc0, 0x41, 0x48, 0x40,
|
||||
0x21, 0xc0, 0x01, 0x8e, 0x70, 0x0f, 0x14, 0x38, 0x02, 0x09, 0xc0, 0x02, 0xe5, 0x48, 0x21, 0xc0,
|
||||
0x02, 0xf4, 0x10, 0x02, 0xe4, 0x48, 0xc0, 0x41, 0x21, 0xc0, 0x02, 0xf0, 0x41, 0xf8, 0x03, 0x40,
|
||||
0x72, 0x50, 0x42, 0x58, 0x51, 0xc9, 0xff, 0xfc, 0x70, 0x1e, 0xc0, 0xfa, 0xff, 0x2e, 0x32, 0x38,
|
||||
0x01, 0x08, 0xe2, 0x49, 0xc0, 0xc1, 0x54, 0x40, 0x32, 0x00, 0xa7, 0x1e, 0x21, 0xc8, 0x03, 0x4e,
|
||||
0x30, 0xc1, 0x31, 0xfc, 0x00, 0x02, 0x03, 0x4c, 0x9e, 0xfc, 0x00, 0x32, 0x20, 0x4f, 0x31, 0x78,
|
||||
0x02, 0x10, 0x00, 0x16, 0xa0, 0x0f, 0x66, 0x00, 0x01, 0xb2, 0xde, 0xfc, 0x00, 0x32, 0x43, 0xf8,
|
||||
0x0a, 0xd8, 0x41, 0xfa, 0xfe, 0x86, 0x70, 0x10, 0xa0, 0x2e, 0x55, 0x4f, 0x2f, 0x0f, 0x48, 0x78,
|
||||
0x09, 0xfa, 0x20, 0x78, 0x08, 0x10, 0x4e, 0x90, 0x30, 0x1f, 0xe6, 0x48, 0x31, 0xc0, 0x01, 0x06,
|
||||
0x08, 0x38, 0x00, 0x06, 0x02, 0x0b, 0x56, 0xf8, 0x08, 0xd3, 0xa8, 0x52, 0x43, 0xfa, 0xfe, 0x9c,
|
||||
0x76, 0x01, 0x61, 0x00, 0x01, 0x98, 0x0c, 0x44, 0x40, 0x00, 0x6e, 0x02, 0x70, 0xff, 0x3f, 0x00,
|
||||
0x66, 0x04, 0x61, 0x00, 0x01, 0xf0, 0xa8, 0x53, 0x55, 0x4f, 0x42, 0xb8, 0x0a, 0xf2, 0xa9, 0x95,
|
||||
0x4a, 0x5f, 0x6b, 0x00, 0x01, 0x56, 0x3e, 0x1f, 0x20, 0x5f, 0xa0, 0x57, 0x21, 0xf8, 0x02, 0xa6,
|
||||
0x01, 0x18, 0x59, 0x4f, 0x2f, 0x3c, 0x44, 0x53, 0x41, 0x54, 0x42, 0x67, 0xa9, 0xa0, 0x2a, 0x1f,
|
||||
0x67, 0x00, 0x01, 0x1e, 0x20, 0x45, 0x21, 0xd0, 0x02, 0xba, 0xa8, 0xfe, 0x70, 0x28, 0x61, 0x00,
|
||||
};
|
||||
const auto data = Storage::Encodings::AppleGCR::Macintosh::data(0, source_data);
|
||||
const auto expected = Storage::Disk::PCMSegment(expected_data);
|
||||
|
Loading…
Reference in New Issue
Block a user