mirror of
https://github.com/holub/mame
synced 2025-04-16 05:24:54 +03:00
MT 07792: quartet, quarteta, quartet2, quartet2a: The moving floors that appear after the 15th stage are not displayed.
This commit is contained in:
parent
b3c4e02d7c
commit
65238350c7
@ -490,7 +490,9 @@ void segas16a_state::mcu_io_w(offs_t offset, uint8_t data)
|
||||
|
||||
// access text RAM
|
||||
case 1:
|
||||
if (offset >= 0x8000 && offset < 0x9000)
|
||||
if (offset < 0x8000)
|
||||
m_maincpu->space(AS_PROGRAM).write_byte(0x400001 ^ (offset & 0x7fff), data);
|
||||
else if (offset < 0x9000)
|
||||
m_maincpu->space(AS_PROGRAM).write_byte(0x410001 ^ (offset & 0xfff), data);
|
||||
else
|
||||
logerror("%03X: MCU movx write mode %02X offset %04X = %02X\n", m_mcu->pc(), m_mcu_control, offset, data);
|
||||
@ -540,8 +542,11 @@ uint8_t segas16a_state::mcu_io_r(address_space &space, offs_t offset)
|
||||
|
||||
// access text RAM
|
||||
case 1:
|
||||
if (offset >= 0x8000 && offset < 0x9000)
|
||||
if (offset < 0x8000)
|
||||
return m_maincpu->space(AS_PROGRAM).read_byte(0x400001 ^ (offset & 0x7fff));
|
||||
else if (offset < 0x9000)
|
||||
return m_maincpu->space(AS_PROGRAM).read_byte(0x410001 ^ (offset & 0xfff));
|
||||
|
||||
logerror("%03X: MCU movx read mode %02X offset %04X\n", m_mcu->pc(), m_mcu_control, offset);
|
||||
return 0xff;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user