mirror of
https://github.com/mauiaaron/apple2.git
synced 2025-01-12 06:29:58 +00:00
Slowpath debugging interface
This commit is contained in:
parent
fe714af37c
commit
412fb06011
@ -318,12 +318,12 @@ cpu_runloop:
|
|||||||
}
|
}
|
||||||
|
|
||||||
MB_StartOfCpuExecute();
|
MB_StartOfCpuExecute();
|
||||||
if (is_debugging) {
|
if (UNLIKELY(is_debugging)) {
|
||||||
debugging_cycles = run_args.cpu65_cycles_to_execute;
|
debugging_cycles = run_args.cpu65_cycles_to_execute;
|
||||||
}
|
}
|
||||||
|
|
||||||
do {
|
do {
|
||||||
if (is_debugging) {
|
if (UNLIKELY(is_debugging)) {
|
||||||
run_args.cpu65_cycles_to_execute = 1;
|
run_args.cpu65_cycles_to_execute = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -336,7 +336,7 @@ cpu_runloop:
|
|||||||
dbg_cycles_executed += run_args.cpu65_cycle_count;
|
dbg_cycles_executed += run_args.cpu65_cycle_count;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (is_debugging) {
|
if (UNLIKELY(is_debugging)) {
|
||||||
debugging_cycles -= run_args.cpu65_cycle_count;
|
debugging_cycles -= run_args.cpu65_cycle_count;
|
||||||
timing_checkpointCycles();
|
timing_checkpointCycles();
|
||||||
|
|
||||||
@ -358,7 +358,7 @@ cpu_runloop:
|
|||||||
goto cpu_runloop;
|
goto cpu_runloop;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} while (is_debugging);
|
} while (UNLIKELY(is_debugging));
|
||||||
|
|
||||||
MB_UpdateCycles();
|
MB_UpdateCycles();
|
||||||
// TODO : modularize MB and other peripheral card cycles/interrupts ...
|
// TODO : modularize MB and other peripheral card cycles/interrupts ...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user