mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
cyclone_debug improvements
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@182 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
03c5768cb5
commit
aa15fda82c
4 changed files with 111 additions and 70 deletions
|
@ -8701,6 +8701,7 @@ M68KMAKE_OP(rol, 32, r, .)
|
|||
*r_dst = res;
|
||||
|
||||
FLAG_C = (src >> (32 - shift)) << 8;
|
||||
if (shift == 0) FLAG_C = src << 8; // notaz
|
||||
FLAG_N = NFLAG_32(res);
|
||||
FLAG_Z = res;
|
||||
FLAG_V = VFLAG_CLEAR;
|
||||
|
|
|
@ -1955,7 +1955,10 @@ void m68ki_exception_interrupt(uint int_level)
|
|||
|
||||
/* If we are halted, don't do anything */
|
||||
if(CPU_STOPPED)
|
||||
{
|
||||
printf("mu stopped! (%x)\n", CPU_STOPPED);
|
||||
return;
|
||||
}
|
||||
|
||||
/* Acknowledge the interrupt */
|
||||
vector = m68ki_int_ack(int_level);
|
||||
|
@ -2012,6 +2015,7 @@ void m68ki_exception_interrupt(uint int_level)
|
|||
/* ASG: Check for interrupts */
|
||||
INLINE void m68ki_check_interrupts(void)
|
||||
{
|
||||
//printf("mu level, mask: %04x %04x\n", CPU_INT_LEVEL, FLAG_INT_MASK);
|
||||
if(CPU_INT_LEVEL > FLAG_INT_MASK)
|
||||
m68ki_exception_interrupt(CPU_INT_LEVEL>>8);
|
||||
}
|
||||
|
|
|
@ -3181,6 +3181,7 @@ void m68k_op_rol_32_r(void)
|
|||
*r_dst = res;
|
||||
|
||||
FLAG_C = (src >> (32 - shift)) << 8;
|
||||
if (shift == 0) FLAG_C = src << 8; // notaz
|
||||
FLAG_N = NFLAG_32(res);
|
||||
FLAG_Z = res;
|
||||
FLAG_V = VFLAG_CLEAR;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue