From d74ad8def08db4ba8694bb137b41b8752c770aa0 Mon Sep 17 00:00:00 2001 From: Curt Coder Date: Tue, 6 Nov 2012 19:32:01 +0000 Subject: [PATCH] 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] --- src/emu/cpu/m6800/m6800.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emu/cpu/m6800/m6800.c b/src/emu/cpu/m6800/m6800.c index b5286ccf3f6..1fc105b7081 100644 --- a/src/emu/cpu/m6800/m6800.c +++ b/src/emu/cpu/m6800/m6800.c @@ -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())