mirror of
https://github.com/holub/mame
synced 2025-07-03 17:08:39 +03:00
tlcs900.c: Fake 'done serial sending' IRQ. Fixes SNK Gals' Fighter in the ngpc driver. (nw)
This commit is contained in:
parent
a9c1da60de
commit
235b191d31
@ -8,7 +8,7 @@ Pocket emulation. The 900 and 900/M modes are not supported yet.
|
|||||||
|
|
||||||
TODO:
|
TODO:
|
||||||
- review cycle counts
|
- 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
|
- add support for 900 and 900/M modes
|
||||||
|
|
||||||
*******************************************************************/
|
*******************************************************************/
|
||||||
@ -1086,6 +1086,11 @@ static WRITE8_HANDLER( tlcs900_internal_w )
|
|||||||
case TLCS900_MAMR1:
|
case TLCS900_MAMR1:
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case TLCS900_SC0BUF:
|
||||||
|
// Fake finish sending data
|
||||||
|
cpustate->reg[TLCS900_INTES0] |= 0x80;
|
||||||
|
break;
|
||||||
|
|
||||||
case TLCS900_ADMOD:
|
case TLCS900_ADMOD:
|
||||||
/* Preserve read-only bits */
|
/* Preserve read-only bits */
|
||||||
data = ( cpustate->reg[TLCS900_ADMOD] & 0xc0 ) | ( data & 0x3f );
|
data = ( cpustate->reg[TLCS900_ADMOD] & 0xc0 ) | ( data & 0x3f );
|
||||||
|
Loading…
Reference in New Issue
Block a user