Previous 15994 Revisions Next

r6124 Sunday 18th October, 2009 at 05:02:39 UTC by R. Belmont
[MAC] Fix disassembly override so Toolbox A-line traps are shown.
[src/mess/machine]mac.c

src/mess/machine/mac.c
r6123r6124
20022002
20032003   mac_scanline_timer = timer_alloc(machine, mac_scanline_tick, NULL);
20042004   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));
20052007}
20062008
20072009
r6123r6124
20882090
20892091   inquiry_timeout = timer_alloc(machine, inquiry_timeout_func, NULL);
20902092
2091   debug_cpu_set_dasm_override(cputag_get_cpu(machine, "maincpu"), CPU_DISASSEMBLE_NAME(mac_dasm_override));
2092
20932093   /* save state stuff */
20942094   state_save_register_global(machine, mac_overlay);
20952095   state_save_register_postload(machine, mac_state_load, NULL);
r6123r6124
31173117   unsigned result = 0;
31183118   const char *trap;
31193119
3120   opcode = *((UINT16 *) oprom);
3120   opcode = oprom[0]<<8 | oprom[1];
3121   printf("%04x\n", opcode);
31213122   if ((opcode & 0xF000) == 0xA000)
31223123   {
31233124      trap = lookup_trap(opcode);

Previous 15994 Revisions Next


© 1998-2018 The MESS Team