Previous 199869 Revisions Next

r21041 Wednesday 13th February, 2013 at 19:24:58 UTC by Wilbert Pol
(MESS) intv.c: Missed these (nw)
[src/mess/machine]intv.c

trunk/src/mess/machine/intv.c
r21040r21041
1616   COMBINE_DATA(&m_intvkbd_dualport_ram[offset]);
1717
1818   /* copy the LSB over to the 6502 OP RAM, in case they are opcodes */
19   RAM  = memregion("keyboard")->base();
19   RAM  = m_region_keyboard->base();
2020   RAM[offset] = (UINT8) (data >> 0);
2121}
2222
r21040r21041
3333   m_intvkbd_dualport_ram[offset] |= ((UINT16) data) << 0;
3434
3535   /* copy over to the 6502 OP RAM, in case they are opcodes */
36   RAM  = memregion("keyboard")->base();
36   RAM  = m_region_keyboard->base();
3737   RAM[offset] = data;
3838}
3939
r21040r21041
657657{
658658   UINT8 column;
659659   UINT8 row = m_backtab_row;
660   //machine().device("maincpu")->execute().adjust_icount(-STIC_ROW_FETCH);
660   //m_maincpu->adjust_icount(-STIC_ROW_FETCH);
661661   for(column=0; column < STIC_BACKTAB_WIDTH; column++)
662662   {
663663      m_backtab_buffer[row][column] = m_ram16[column + row * STIC_BACKTAB_WIDTH];
r21040r21041
674674   m_backtab_row = 0;
675675   UINT8 row;
676676   m_maincpu->adjust_icount(-(12*STIC_ROW_BUSRQ+STIC_FRAME_BUSRQ)); // Account for stic cycle stealing
677   machine().scheduler().timer_set(machine().device<cpu_device>("maincpu")
678      ->cycles_to_attotime(STIC_VBLANK_END), timer_expired_delegate(FUNC(intv_state::intv_interrupt_complete),this));
677   machine().scheduler().timer_set(m_maincpu->cycles_to_attotime(STIC_VBLANK_END), timer_expired_delegate(FUNC(intv_state::intv_interrupt_complete),this));
679678   for (row=0; row < STIC_BACKTAB_HEIGHT; row++)
680679   {
681680      machine().scheduler().timer_set(m_maincpu

Previous 199869 Revisions Next


© 1997-2024 The MAME Team