comparison lc8951.c @ 2147:4cd60eecb0b1

Fix LC8951 cycle adjustment for data transfer next byte tracking
author Michael Pavone <pavone@retrodev.com>
date Sat, 26 Mar 2022 20:10:51 -0700
parents 10e4439d8f13
children 8a30e44e8223
comparison
equal deleted inserted replaced
2146:0c0d4233d826 2147:4cd60eecb0b1
417 context->decode_end -= deduction; 417 context->decode_end -= deduction;
418 } 418 }
419 if (context->transfer_end != CYCLE_NEVER) { 419 if (context->transfer_end != CYCLE_NEVER) {
420 context->transfer_end -= deduction; 420 context->transfer_end -= deduction;
421 } 421 }
422 if (context->next_byte_cycle != CYCLE_NEVER) {
423 context->next_byte_cycle -= deduction;
424 }
422 printf("cycle is now %u, decode_end %u, transfer_end %u\n", context->cycle, context->decode_end, context->transfer_end); 425 printf("cycle is now %u, decode_end %u, transfer_end %u\n", context->cycle, context->decode_end, context->transfer_end);
423 } 426 }