Re: [hatari-devel] MEMWATCH freezes Hatari |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
>> In that case, ps=00003f00 oc=00004211 and mmu030_opcode=4211
>
> This looks perfectly fine. 4211 = CLR.B (A1) which is the instruction
> that was supposed to be retried.
To make this clearer:
if mmu030_opcode=-1: instruction opcode fetch caused fault and whole
instruction fetch needs to be retried, including nasty opcode stagea/b
prefetch stuff if more compatible.
if mmu030_opcode>=0: value equals opcode that caused data fault. Retry
by jumping back to "regs.opcode = regs.irc = mmu030_opcode;". (Not using
complete fetch retry that -1 case uses).