mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
macse30: make Sigma Designs L-View SE/30 PDS card work and eliminate deprecated device lookup [R. Belmont]
This commit is contained in:
parent
613485c425
commit
81efea6823
@ -163,9 +163,9 @@ READ32_MEMBER( nubus_lview_device::lview_r )
|
||||
{
|
||||
uint32_t rv = 0;
|
||||
|
||||
// printf("%s prot_r: @ %x, mask %08x [state %d]\n", machine().describe_context().c_str(), offset, mem_mask, m_protstate);
|
||||
// printf("%s prot_r: @ %x, mask %08x [state %d] [PC=%x]\n", machine().describe_context().c_str(), offset, mem_mask, m_protstate, machine().device<cpu_device>("maincpu")->pc());
|
||||
|
||||
if ((m_protstate == 1) || (m_protstate == 10) || (machine().device<cpu_device>("maincpu")->pc() == 0x5aac))
|
||||
if ((m_protstate == 1) || (m_protstate == 10) || (m_protstate == 17) || (m_protstate == 20) || (m_protstate == 22))
|
||||
{
|
||||
rv = 0x02020202;
|
||||
}
|
||||
@ -185,7 +185,7 @@ WRITE32_MEMBER( nubus_lview_device::lview_w )
|
||||
|
||||
if (offset == 0x7a)
|
||||
{
|
||||
if (data == 1)
|
||||
if (data != 1)
|
||||
{
|
||||
m_vbl_disable = 0;
|
||||
lower_slot_irq();
|
||||
|
Loading…
Reference in New Issue
Block a user