Previous 199869 Revisions Next

r36650 Thursday 26th March, 2015 at 00:23:26 UTC by hap
lpu without br/call works as expected
[src/emu/cpu/hmcs40]hmcs40.c

trunk/src/emu/cpu/hmcs40/hmcs40.c
r245161r245162
557557
558558      // LPU is handled 1 cycle later
559559      if ((m_prev_op & 0x3e0) == 0x340)
560      {
561         if ((m_op & 0x1c0) != 0x1c0)
562            logerror("%s LPU without BR/CAL at $%04X\n", tag(), m_prev_pc);
563
564560         m_pc = ((m_page << 6) | (m_pc & 0x3f)) & m_pcmask;
565      }
566561
567562      // check/handle interrupt, but not in the middle of a long jump
568563      if (m_ie && (m_iri || m_irt) && (m_op & 0x3e0) != 0x340)


Previous 199869 Revisions Next


© 1997-2024 The MAME Team