12587603 has bclr/bset, FFFF0000 disassembly is bset/bclr.
Have not ripped the bin posted by darkman5001 apart yet ... However if someone that has, searches for $AAAA and finds,
Code: Select all
move.w #$AAAA,(a4)
move.w #$5555,(a5)
move.w #$A0A0,(a4)
Just below that a little should be the COPs.
What it looks like In 12587603,
Code: Select all
move.b #$55,($FFFFFA27).w ; 'U' ; COPA
move.b #$AA,($FFFFFA27).w ; COPA
bclr #7,($FFFFD006).w ; COPB
bset #7,($FFFFD006).w ; COPB
What order is it ... bset/bclr or bclr/bset.
I'll take odds 10 to 1 on a beer that it dies, just like the simplest C with COPs.
What is expected, how will we (or the tester) know what's happened ... It does not complete, therefor there is no completion ack sent.
Wouldn't it be better to have a loop that lives longer then the COP timeout, but not to long, then exit, thus returning an ack, thus we know the scratch is working.