src/mess/machine/mac.c
| r6123 | r6124 | |
| 2002 | 2002 | |
| 2003 | 2003 | mac_scanline_timer = timer_alloc(machine, mac_scanline_tick, NULL); |
| 2004 | 2004 | timer_adjust_oneshot(mac_scanline_timer, video_screen_get_time_until_pos(machine->primary_screen, 0, 0), 0); |
| 2005 | |
| 2006 | debug_cpu_set_dasm_override(cputag_get_cpu(machine, "maincpu"), CPU_DISASSEMBLE_NAME(mac_dasm_override)); |
| 2005 | 2007 | } |
| 2006 | 2008 | |
| 2007 | 2009 | |
| r6123 | r6124 | |
| 2088 | 2090 | |
| 2089 | 2091 | inquiry_timeout = timer_alloc(machine, inquiry_timeout_func, NULL); |
| 2090 | 2092 | |
| 2091 | | debug_cpu_set_dasm_override(cputag_get_cpu(machine, "maincpu"), CPU_DISASSEMBLE_NAME(mac_dasm_override)); |
| 2092 | | |
| 2093 | 2093 | /* save state stuff */ |
| 2094 | 2094 | state_save_register_global(machine, mac_overlay); |
| 2095 | 2095 | state_save_register_postload(machine, mac_state_load, NULL); |
| r6123 | r6124 | |
| 3117 | 3117 | unsigned result = 0; |
| 3118 | 3118 | const char *trap; |
| 3119 | 3119 | |
| 3120 | | opcode = *((UINT16 *) oprom); |
| 3120 | opcode = oprom[0]<<8 | oprom[1]; |
| 3121 | printf("%04x\n", opcode); |
| 3121 | 3122 | if ((opcode & 0xF000) == 0xA000) |
| 3122 | 3123 | { |
| 3123 | 3124 | trap = lookup_trap(opcode); |