comparison m68k_core_x86.c @ 2396:bf4f1a8d1d48

Implement 68K watchpoints in internal debugger
author Michael Pavone <pavone@retrodev.com>
date Sat, 23 Dec 2023 17:37:57 -0800
parents f8b5142c06aa
children 1fba97414ba6
comparison
equal deleted inserted replaced
2395:ebca8ab02701 2396:bf4f1a8d1d48
2593 opts->gen.address_mask = 0xFFFFFF; 2593 opts->gen.address_mask = 0xFFFFFF;
2594 opts->gen.byte_swap = 1; 2594 opts->gen.byte_swap = 1;
2595 opts->gen.max_address = 0x1000000; 2595 opts->gen.max_address = 0x1000000;
2596 opts->gen.bus_cycles = BUS; 2596 opts->gen.bus_cycles = BUS;
2597 opts->gen.clock_divider = clock_divider; 2597 opts->gen.clock_divider = clock_divider;
2598 opts->gen.watchpoint_range_off = offsetof(m68k_context, watchpoint_min);
2598 opts->gen.mem_ptr_off = offsetof(m68k_context, mem_pointers); 2599 opts->gen.mem_ptr_off = offsetof(m68k_context, mem_pointers);
2599 opts->gen.ram_flags_off = offsetof(m68k_context, ram_code_flags); 2600 opts->gen.ram_flags_off = offsetof(m68k_context, ram_code_flags);
2600 opts->gen.ram_flags_shift = 11; 2601 opts->gen.ram_flags_shift = 11;
2601 for (int i = 0; i < 8; i++) 2602 for (int i = 0; i < 8; i++)
2602 { 2603 {