m6800.c: Workaround for Coleco Adam not booting. The free-running counter values are unacceptable, so let it read from the output compare register instead. To be fixed properly later. [Curt Coder]

This commit is contained in:
Curt Coder 2012-11-06 19:32:01 +00:00
parent bbaa0c2544
commit d74ad8def0

View File

@ -1491,7 +1491,7 @@ READ8_HANDLER( m6801_io_r )
case IO_CL:
data = cpustate->counter.b.l;
break;
// HACK there should be a break here, but Coleco Adam won't boot with it present, proper fix required to the free-running counter
case IO_OCRH:
if(!(cpustate->pending_tcsr&TCSR_OCF) && !space.debugger_access())