trunk/src/mess/drivers/apollo.c
| r23932 | r23933 | |
| 219 | 219 | int apollo_instruction_hook(m68000_base_device *device, offs_t curpc) |
| 220 | 220 | { |
| 221 | 221 | m68000_base_device *m68k = device; |
| 222 | | //m68000_base_device *m68k = (m68000_base_device *) downcast<legacy_cpu_device *> (device)->token(); |
| 223 | 222 | |
| 224 | 223 | static UINT16 idle_counter = 0; |
| 225 | 224 | |
| r23932 | r23933 | |
| 513 | 512 | { |
| 514 | 513 | offs_t address = offset * 4; |
| 515 | 514 | |
| 516 | | m68000_base_device *m68k = (m68000_base_device *) downcast<legacy_cpu_device *>(&space.device())->token(); |
| 515 | m68000_base_device *m68k = m_maincpu; |
| 517 | 516 | |
| 518 | 517 | if ((address & 0xfff00000) == 0xfa800000 && VERBOSE < 2) { |
| 519 | 518 | // ? |
trunk/src/mess/machine/apollo_dbg.c
| r23932 | r23933 | |
| 1100 | 1100 | // before executing each instruction |
| 1101 | 1101 | //------------------------------------------------- |
| 1102 | 1102 | |
| 1103 | | int apollo_debug_instruction_hook(device_t *device, offs_t curpc) |
| 1103 | int apollo_debug_instruction_hook(m68000_base_device *device, offs_t curpc) |
| 1104 | 1104 | { |
| 1105 | 1105 | // trap data remembered for next rte |
| 1106 | 1106 | static struct { |
| r23932 | r23933 | |
| 1114 | 1114 | { |
| 1115 | 1115 | UINT32 ppc_save; |
| 1116 | 1116 | UINT16 ir; |
| 1117 | | m68000_base_device *m68k = (m68000_base_device *) downcast<legacy_cpu_device *> (device)->token(); |
| 1117 | m68000_base_device *m68k = device; |
| 1118 | 1118 | m68k->mmu_tmp_buserror_occurred = 0; |
| 1119 | 1119 | |
| 1120 | 1120 | /* Read next instruction */ |