I have just tried to use the WinUAE debugger to find some SMC and it doesn't appear to work for me. I made some simple test code and the debugger didn't break with "smc 1". I have used the following code for testing (using a standard 68000/A500 config):
Code:
START lea SMC(pc),a0
.LMB btst #6,$bfe001
bne.b .LMB
move.w #$4e71,(a0)
;rts
tst.w d0
clr.w d1
SMC rts
rts
I have added the bogus tst/clr dx instructions after the first test to make sure the short distance to the modified instruction isn't the problem but it didn't change anything.
What am I missing here?