mirror of
https://github.com/mauiaaron/apple2.git
synced 2024-12-27 06:29:19 +00:00
INITHELLO with -UCONFORMANT_TRACKS now passes
This commit is contained in:
parent
e6a1182c32
commit
236b8e358a
@ -276,9 +276,9 @@ static unsigned long nibblize_track(uint8_t *buf, int drive) {
|
||||
*(output++) = 0xFF;
|
||||
}
|
||||
#else
|
||||
// NOTE : original apple2emul used 6 sync bytes here and disk loading becomes much faster at a cost of conformance
|
||||
// NOTE : original apple2emul used X sync bytes here and disk loading becomes much faster at a cost of conformance
|
||||
// for certain disk images. For resource-constrained mobile/wearable devices, this is prolly the right path.
|
||||
for (unsigned int i=0; i<6; i++) {
|
||||
for (unsigned int i=0; i<8; i++) {
|
||||
*(output++) = 0xFF;
|
||||
}
|
||||
#endif
|
||||
@ -343,8 +343,8 @@ static unsigned long nibblize_track(uint8_t *buf, int drive) {
|
||||
*(output++) = 0xFF;
|
||||
}
|
||||
#else
|
||||
// NOTE : original apple2emul used 5 self-sync bytes here
|
||||
for (unsigned int i=0; i<5; i++) {
|
||||
// NOTE : original apple2emul used X self-sync bytes here
|
||||
for (unsigned int i=0; i<8; i++) {
|
||||
*(output++) = 0xFF;
|
||||
}
|
||||
#endif
|
||||
|
@ -42,8 +42,8 @@ static void testdisk_teardown(void *arg) {
|
||||
#define EXPECTED_DISK_TRACE_FILE_SIZE 141350
|
||||
#define EXPECTED_DISK_TRACE_SHA "471EB3D01917B1C6EF9F13C5C7BC1ACE4E74C851"
|
||||
#else
|
||||
#define EXPECTED_DISK_TRACE_FILE_SIZE 133274
|
||||
#define EXPECTED_DISK_TRACE_SHA "A496A99DA28170FF08C5B9E5A309D7E7CDF5D33E"
|
||||
#define EXPECTED_DISK_TRACE_FILE_SIZE 134292
|
||||
#define EXPECTED_DISK_TRACE_SHA "19C10B594055D88862A35A45301B2E37A2E7E9F4"
|
||||
#endif
|
||||
TEST test_boot_disk_bytes() {
|
||||
srandom(0);
|
||||
@ -142,8 +142,8 @@ TEST test_boot_disk_bytes_nib() {
|
||||
#define EXPECTED_DISK_TRACE_PO_FILE_SIZE 141350
|
||||
#define EXPECTED_DISK_TRACE_PO_SHA "6C2170D3AA82F87DD34E177309808199BDCCB018"
|
||||
#else
|
||||
#define EXPECTED_DISK_TRACE_PO_FILE_SIZE 133274
|
||||
#define EXPECTED_DISK_TRACE_PO_SHA "24665CA95D1B1D67FD2A558C71E29AF9999C8B2C"
|
||||
#define EXPECTED_DISK_TRACE_PO_FILE_SIZE 134292
|
||||
#define EXPECTED_DISK_TRACE_PO_SHA "9A6DDCB421B369A4BB7ACC5E40D24B0F38F98711"
|
||||
#endif
|
||||
TEST test_boot_disk_bytes_po() {
|
||||
test_setup_boot_disk(BLANK_PO, 0);
|
||||
@ -327,7 +327,7 @@ TEST test_savehello_po() {
|
||||
#define EXPECTED_DISKWRITE_TRACE_DSK_SHA "CFA1C3AB2CA4F245D291DFC8C277773C5275946C"
|
||||
#else
|
||||
#define EXPECTED_DISKWRITE_TRACE_DSK_FILE_SIZE 63676 // orly?
|
||||
#define EXPECTED_DISKWRITE_TRACE_DSK_SHA "BCD2F14CFED90E342FCA9736392DD4EA65819366"
|
||||
#define EXPECTED_DISKWRITE_TRACE_DSK_SHA "FA3792F09A5E96B906D3F2362C6701C0DFB2130C"
|
||||
#endif
|
||||
TEST test_disk_bytes_savehello_dsk() {
|
||||
test_setup_boot_disk(BLANK_DSK, 0);
|
||||
@ -462,7 +462,7 @@ TEST test_disk_bytes_savehello_nib() {
|
||||
#define EXPECTED_DISKWRITE_TRACE_PO_SHA "CFA1C3AB2CA4F245D291DFC8C277773C5275946C"
|
||||
#else
|
||||
#define EXPECTED_DISKWRITE_TRACE_PO_FILE_SIZE 63676 // orly?
|
||||
#define EXPECTED_DISKWRITE_TRACE_PO_SHA "BCD2F14CFED90E342FCA9736392DD4EA65819366"
|
||||
#define EXPECTED_DISKWRITE_TRACE_PO_SHA "FA3792F09A5E96B906D3F2362C6701C0DFB2130C"
|
||||
#endif
|
||||
TEST test_disk_bytes_savehello_po() {
|
||||
test_setup_boot_disk(BLANK_PO, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user