Previous 199869 Revisions Next

r21895 Saturday 16th March, 2013 at 20:42:51 UTC by hap
looked through m6809 ops and fixed what i noticed (improves rollerg)
[src/emu/cpu/m6809]base6x09.ops konami.ops

trunk/src/emu/cpu/m6809/konami.ops
r21894r21895
517517      else
518518         m_cc &= ~CC_C;
519519
520      m_d.w = set_flags<UINT16>(CC_NZ, safe_shift_right<INT16>(m_d.w, m_temp.b.l));
520      m_d.w = set_flags<UINT16>(CC_NZ, safe_shift_right<UINT16>(m_d.w, m_temp.b.l));
521521   }
522522   eat(1);
523523   return;
r21894r21895
582582ABS16:
583583   @m_temp.b.h = read_operand(0);
584584   @m_temp.b.l = read_operand(1);
585   m_temp.w = set_flags<UINT16>(CC_NZVC, 0, m_temp.w, ((INT8) m_temp.w) >= 0 ? m_temp.w : -m_temp.w);
585   m_temp.w = set_flags<UINT16>(CC_NZVC, 0, m_temp.w, ((INT16) m_temp.w) >= 0 ? m_temp.w : -m_temp.w);
586586   @eat(1);
587587   @write_operand(0, m_temp.b.h);
588588   write_operand(1, m_temp.b.l);
trunk/src/emu/cpu/m6809/base6x09.ops
r21894r21895
165165   @m_temp.b.l = read_operand(1);
166166   m_cc &= ~CC_NZC;
167167   m_cc |= (m_temp.b.l & 1) ? CC_C : 0;
168   m_temp.w = set_flags<UINT16>(CC_NZ, ((INT16) m_temp.b.l) >> 1);
168   m_temp.w = set_flags<UINT16>(CC_NZ, ((INT16) m_temp.w) >> 1);
169169   @eat(hd6309_native_mode() ? 0 : 1);
170170   @write_operand(0, m_temp.b.h);
171171   write_operand(1, m_temp.b.l);

Previous 199869 Revisions Next


© 1997-2024 The MAME Team