comparison lc8951.c @ 2515:0775f5e0c468 default tip

Clear EDT on DTTRG. Fixes Cliffhanger and OrionNavattan's Mode 1 demo
author Michael Pavone <pavone@retrodev.com>
date Thu, 05 Sep 2024 23:44:01 -0700
parents 0871f555eff6
children
comparison
equal deleted inserted replaced
2514:50cff4c9286e 2515:0775f5e0c468
482 context->ar = load_int8(buf); 482 context->ar = load_int8(buf);
483 context->ar_mask = load_int8(buf); 483 context->ar_mask = load_int8(buf);
484 context->triggered = load_int8(buf); 484 context->triggered = load_int8(buf);
485 context->sync_counter = load_int8(buf); 485 context->sync_counter = load_int8(buf);
486 } 486 }
487
488 uint8_t lc8951_dtbsy_state(lc8951 *context)
489 {
490 return (context->regs[IFSTAT] & BIT_DTBSY) ? 1 : 0;
491 }