diff options
Diffstat (limited to 'src/devices/cpu/m68000/m68kops.cpp')
-rw-r--r-- | src/devices/cpu/m68000/m68kops.cpp | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/src/devices/cpu/m68000/m68kops.cpp b/src/devices/cpu/m68000/m68kops.cpp index e630aa065ca..f33e3fe6816 100644 --- a/src/devices/cpu/m68000/m68kops.cpp +++ b/src/devices/cpu/m68000/m68kops.cpp @@ -23820,6 +23820,12 @@ void m68000_base_device::x4e71_nop_071234fc() } +void m68000_base_device::x4e7d_nophb_071234fc() +{ + m68ki_trace_t0(); /* auto-disable (see m68kcpu.h) */ + + +} void m68000_base_device::x4600_not_b_071234fc() { u32* r_dst = &DY(); @@ -26735,6 +26741,13 @@ void m68000_base_device::x4e75_rts_l_071234fc() } +void m68000_base_device::x4e7c_rtshb_l_071234fc() +{ + m68ki_trace_t0(); /* auto-disable (see m68kcpu.h) */ + m68ki_jump(m68ki_pull_32()); + + +} void m68000_base_device::x8100_sbcd_b_071234fc() { u32* r_dst = &DX(); @@ -26742,7 +26755,9 @@ void m68000_base_device::x8100_sbcd_b_071234fc() u32 dst = *r_dst; u32 res = LOW_NIBBLE(dst) - LOW_NIBBLE(src) - XFLAG_1(); u32 corf = 0; - +//std::string st = machine().describe_context(); // HBMAME +//if (st != "':maincpu' (C1180E)") +//printf("%s\n",st.c_str()); if(res > 0xf) corf = 6; res += HIGH_NIBBLE(dst) - HIGH_NIBBLE(src); @@ -33133,6 +33148,8 @@ const m68000_base_device::opcode_handler_ptr m68000_base_device::m68k_handler_ta &m68000_base_device::x4e7b_movec_l_3, &m68000_base_device::x4e7b_movec_l_4, &m68000_base_device::x4e7b_movec_l_c, + &m68000_base_device::x4e7c_rtshb_l_071234fc, + &m68000_base_device::x4e7d_nophb_071234fc, &m68000_base_device::x4eb8_jsr_l_aw_071234fc, &m68000_base_device::x4eb9_jsr_l_al_071234fc, &m68000_base_device::x4eba_jsr_l_pcdi_071234fc, @@ -35190,6 +35207,8 @@ const m68000_base_device::opcode_handler_struct m68000_base_device::m68k_opcode_ { 0x4e7b, 0xffff, {255, 255, 255, 255, 12, 255, 255, 255}}, { 0x4e7b, 0xffff, {255, 255, 255, 255, 255, 12, 255, 255}}, { 0x4e7b, 0xffff, {255, 255, 255, 255, 255, 255, 255, 12}}, + { 0x4e7c, 0xffff, { 16, 16, 16, 10, 10, 10, 10, 10}}, // HBMAME (GSC) + { 0x4e7d, 0xffff, { 4, 4, 4, 2, 2, 2, 2, 2}}, // HBMAME (GSC) { 0x4eb8, 0xffff, { 18, 24, 18, 4, 4, 4, 4, 0}}, { 0x4eb9, 0xffff, { 20, 26, 20, 4, 4, 4, 4, 0}}, { 0x4eba, 0xffff, { 18, 24, 18, 5, 5, 5, 5, 0}}, |