mirror of
https://github.com/holub/mame
synced 2025-04-20 15:32:45 +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:
|
||||
- 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 );
|
||||
|
Loading…
Reference in New Issue
Block a user