mirror of
https://github.com/holub/mame
synced 2025-06-01 02:21:48 +03:00
ef9365: add side effects check at statusreg read
This commit is contained in:
parent
fbc8d66121
commit
f0de443968
@ -1170,34 +1170,27 @@ uint8_t ef9365_device::data_r(offs_t offset)
|
||||
m_state |= 0x04;
|
||||
|
||||
if ((m_overflow_mask_x & get_x_reg()) || (m_overflow_mask_y & get_y_reg()))
|
||||
{
|
||||
m_state |= 0x08;
|
||||
}
|
||||
|
||||
if (m_irq_vb || m_irq_lb || m_irq_rdy)
|
||||
{
|
||||
m_state |= 0x80;
|
||||
}
|
||||
|
||||
if (m_irq_lb)
|
||||
{
|
||||
m_state |= 0x10;
|
||||
m_irq_lb = 0;
|
||||
}
|
||||
|
||||
if (m_irq_vb)
|
||||
{
|
||||
m_state |= 0x20;
|
||||
m_irq_vb = 0;
|
||||
}
|
||||
|
||||
if (m_irq_rdy)
|
||||
{
|
||||
m_state |= 0x40;
|
||||
m_irq_rdy = 0;
|
||||
}
|
||||
|
||||
update_interrupts();
|
||||
if (!machine().side_effects_disabled())
|
||||
{
|
||||
m_irq_lb = 0;
|
||||
m_irq_vb = 0;
|
||||
m_irq_rdy = 0;
|
||||
update_interrupts();
|
||||
}
|
||||
|
||||
return_value = m_state;
|
||||
break;
|
||||
|
@ -14,7 +14,7 @@ Drawing with the same color as the picture outline is not allowed.
|
||||
|
||||
Hardware notes:
|
||||
- EF6805R2P @ 3.57Mhz (14.318MHz XTAL)
|
||||
- EF9367P @ 1.507MHz
|
||||
- EF9367P @ 1.507MHz, 128*208 resolution (internally 512*208), 16 colors
|
||||
- TSGB01019ACP unknown 48-pin DIP, interfaces with EF9367P and DRAM
|
||||
- 2*D41416C-15 (16Kbit*4) DRAM
|
||||
- 36-pin cartridge slot, 8KB or 16KB ROM
|
||||
|
Loading…
Reference in New Issue
Block a user