From 235b191d3198fec3be8fa02b0cabe718c94315f7 Mon Sep 17 00:00:00 2001 From: Wilbert Pol Date: Mon, 14 Jan 2013 19:35:30 +0000 Subject: [PATCH] tlcs900.c: Fake 'done serial sending' IRQ. Fixes SNK Gals' Fighter in the ngpc driver. (nw) --- src/emu/cpu/tlcs900/tlcs900.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/emu/cpu/tlcs900/tlcs900.c b/src/emu/cpu/tlcs900/tlcs900.c index 06f69f3fd42..01fd78966dd 100644 --- a/src/emu/cpu/tlcs900/tlcs900.c +++ b/src/emu/cpu/tlcs900/tlcs900.c @@ -8,7 +8,7 @@ Pocket emulation. The 900 and 900/M modes are not supported yet. TODO: - review cycle counts -- implement the remaining internal mcu features +- implement the remaining internal mcu features (serial transfer, etc) - add support for 900 and 900/M modes *******************************************************************/ @@ -1086,6 +1086,11 @@ static WRITE8_HANDLER( tlcs900_internal_w ) case TLCS900_MAMR1: break; + case TLCS900_SC0BUF: + // Fake finish sending data + cpustate->reg[TLCS900_INTES0] |= 0x80; + break; + case TLCS900_ADMOD: /* Preserve read-only bits */ data = ( cpustate->reg[TLCS900_ADMOD] & 0xc0 ) | ( data & 0x3f );