mirror of
https://github.com/holub/mame
synced 2025-06-05 04:16:28 +03:00
Hooked up revx dcs reset line.
Signaled IRQ on correct CPU when DCS sends data back (duh) Fixes dcs057ora (all other games have been subsequently fixed)
This commit is contained in:
parent
120a6070e8
commit
41c8fd0d37
@ -160,11 +160,16 @@ WRITE16_HANDLER( midxunit_io_w )
|
||||
WRITE16_HANDLER( midxunit_unknown_w )
|
||||
{
|
||||
int offs = offset / 0x40000;
|
||||
|
||||
if (offs == 1 && ACCESSING_LSB)
|
||||
dcs_reset_w(data & 2);
|
||||
|
||||
if (ACCESSING_LSB && offset % 0x40000 == 0)
|
||||
logerror("%08X:midxunit_unknown_w @ %d = %02X\n", activecpu_get_pc(), offs, data & 0xff);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*************************************
|
||||
*
|
||||
* General I/O reads
|
||||
@ -246,7 +251,7 @@ void midxunit_dcs_output_full(int state)
|
||||
{
|
||||
/* only signal if not in loopback state */
|
||||
if (uart[1] != 0x66)
|
||||
cpunum_set_input_line(1, 1, state ? ASSERT_LINE : CLEAR_LINE);
|
||||
cpunum_set_input_line(0, 1, state ? ASSERT_LINE : CLEAR_LINE);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user