few small cpu tag lookup changes (nw)

This commit is contained in:
Miodrag Milanovic 2013-04-16 06:49:30 +00:00
parent 0dc6c1536f
commit e4d5d8264f
3 changed files with 7 additions and 7 deletions

View File

@ -1961,7 +1961,7 @@ static void render_tri(running_machine &machine, bitmap_rgb32 &bitmap, texinfo *
static void render_to_accumulation_buffer(running_machine &machine,bitmap_rgb32 &bitmap,const rectangle &cliprect)
{
dc_state *state = machine.driver_data<dc_state>();
address_space &space = machine.device("maincpu")->memory().space(AS_PROGRAM);
address_space &space = state->m_maincpu->space(AS_PROGRAM);
int cs,rs,ns;
UINT32 c;
#if 0

View File

@ -115,7 +115,7 @@ WRITE16_MEMBER(micro3d_state::micro3d_clut_w)
WRITE16_MEMBER(micro3d_state::micro3d_creg_w)
{
if (~data & 0x80)
machine().device("vgb")->execute().set_input_line(0, CLEAR_LINE);
m_vgb->set_input_line(0, CLEAR_LINE);
m_creg = data;
}
@ -665,7 +665,7 @@ WRITE32_MEMBER(micro3d_state::micro3d_fifo_w)
{
UINT32 dpram_r_addr = (((data & 0x01ff) << 1) | m_dpram_bank);
m_pipe_data = m_draw_dpram[dpram_r_addr];
machine().device("drmath")->execute().set_input_line(AM29000_INTR1, ASSERT_LINE);
m_drmath->set_input_line(AM29000_INTR1, ASSERT_LINE);
break;
}
case 0x80:
@ -693,7 +693,7 @@ WRITE32_MEMBER(micro3d_state::micro3d_fifo_w)
/* TODO: We shouldn't need this extra buffer - is there some sort of sync missing? */
memcpy(m_frame_buffers[m_drawing_buffer], m_tmp_buffer, 512*1024*2);
m_drawing_buffer ^= 1;
machine().device("vgb")->execute().set_input_line(0, ASSERT_LINE);
m_vgb->set_input_line(0, ASSERT_LINE);
break;
}
default:
@ -746,7 +746,7 @@ WRITE32_MEMBER(micro3d_state::micro3d_alt_fifo_w)
READ32_MEMBER(micro3d_state::micro3d_pipe_r)
{
machine().device("drmath")->execute().set_input_line(AM29000_INTR1, CLEAR_LINE);
m_drmath->set_input_line(AM29000_INTR1, CLEAR_LINE);
return m_pipe_data;
}

View File

@ -679,9 +679,9 @@ static void zeus_register_update(running_machine &machine, offs_t offset)
we simply assert immediately if this is enabled. invasn needs this for proper
operations */
if (state->m_zeusbase[0x80] & 0x02000000)
machine.device("maincpu")->execute().set_input_line(2, ASSERT_LINE);
state->m_maincpu->set_input_line(2, ASSERT_LINE);
else
machine.device("maincpu")->execute().set_input_line(2, CLEAR_LINE);
state->m_maincpu->set_input_line(2, CLEAR_LINE);
break;
case 0x84: