| 1465 | } |
| 1466 | |
| 1467 | void exception2_read(uae_u32 opcode, uaecptr addr, int size, int fc) |
| 1468 | { |
| 1469 | test_exception = 2; |
| 1470 | test_exception_3_w = 0; |
| 1471 | test_exception_addr = addr; |
| 1472 | test_exception_opcode = opcode; |
| 1473 | test_exception_3_fc = fc; |
| 1474 | test_exception_3_size = size & 15; |
| 1475 | test_exception_3_di = 1; |
| 1476 | |
| 1477 | if (currprefs.cpu_model == 68000) { |
| 1478 | if (generates_group1_exception(regs.ir) && !(opcode & 0x20000)) { |
| 1479 | test_exception_3_fc |= 8; // set N/I |
| 1480 | } |
| 1481 | if (opcode & 0x10000) |
| 1482 | test_exception_3_fc |= 8; |
| 1483 | if (!(opcode & 0x20000)) |
| 1484 | test_exception_opcode = regs.ir; |
| 1485 | } |
| 1486 | |
| 1487 | doexcstack(); |
| 1488 | } |
| 1489 | |
| 1490 | void exception2_write(uae_u32 opcode, uaecptr addr, int size, uae_u32 val, int fc) |
| 1491 | { |
nothing calls this directly
no test coverage detected