View Single Post
Old 30 September 2015, 16:37   #2
Toni Wilen
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 20,471
Originally Posted by meynaf View Post
This is a bug report. Yes, sorry.

The CAS2 instruction isn't implemented properly.
So, as an example, if we execute :
 CAS2.W D3:D4,D1:D2,(A0):(A1)
and the comparison fails, then instead of changing the compare operands (D3 and D4) it will modify the update operands (D1 and D2).
You probably are the first ever using CAS2
Will be fixed.

I also noticed that, while illegal on the whole mc68k family, opcode 083C is actually executed under emulation.
I can't duplicate. "Illegal instruction: 083c at 00000100" (and there is no matching cpuemu function for 083c either)

Oh, and while i'm here. The trace mode sometimes refuses to trace an instruction if the jit is active - the trace exception happens without the instruction being executed. Quite annoying while debugging programs...
JIT + Trace is not supported. It can't be supported. Don't use JIT when debugging is the only option.
Toni Wilen is online now  
Page generated in 0.14292 seconds with 9 queries