| 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 |
| r245161 | r245162 | |
|---|---|---|
| 557 | 557 | |
| 558 | 558 | // LPU is handled 1 cycle later |
| 559 | 559 | 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 | ||
| 564 | 560 | m_pc = ((m_page << 6) | (m_pc & 0x3f)) & m_pcmask; |
| 565 | } | |
| 566 | 561 | |
| 567 | 562 | // check/handle interrupt, but not in the middle of a long jump |
| 568 | 563 | if (m_ie && (m_iri || m_irt) && (m_op & 0x3e0) != 0x340) |
| https://github.com/mamedev/mame/commit/3ef90cbc2d4b61508e2ccb8c87ce31674aa3ad4f |
| Previous | 199869 Revisions | Next |