| 3510 | } |
| 3511 | |
| 3512 | void REGPARAM2 Exception_cpu_oldpc(int nr, uaecptr oldpc) |
| 3513 | { |
| 3514 | bool t0 = currprefs.cpu_model >= 68020 && regs.t0 && !regs.t1; |
| 3515 | ExceptionX(nr, 0xffffffff, oldpc); |
| 3516 | // Check T0 trace |
| 3517 | // RTE format error ignores T0 trace |
| 3518 | if (nr != 14) { |
| 3519 | if (currprefs.cpu_model >= 68040 && internalexception(nr)) { |
| 3520 | t0 = false; |
| 3521 | } |
| 3522 | if (t0) { |
| 3523 | activate_trace(); |
| 3524 | } |
| 3525 | } |
| 3526 | } |
| 3527 | void REGPARAM2 Exception_cpu(int nr) |
| 3528 | { |
| 3529 | Exception_cpu_oldpc(nr, 0xffffffff); |
no test coverage detected