Support for #384:

. Debug 'G(o)' cmd now defaults to normal speed (and precise video updates)
. New debug 'GG' cmd enables full speed (and periodic video updates)
. Single-stepping (normal or full speed) now routed through ContinueExecution()
. Removed Cpu6502()/Cpu65C02() check for debug breakpoints
. Removed the (undocumented) SHIFT+F7 feature to exit debugger for 'normal speed breakpoints'
. Removed the g_bDebugNormalSpeedBreakpoints variable
This commit is contained in:
tomcw
2017-02-25 22:32:46 +00:00
parent 1193cfd10f
commit 0b6c5bbb91
17 changed files with 204 additions and 201 deletions
+3 -3
View File
@@ -711,7 +711,7 @@ void VideoBenchmark () {
milliseconds = GetTickCount();
cycle = 0;
do {
CpuExecute(100000);
CpuExecute(100000, true);
totalmhz10++;
} while (GetTickCount() - milliseconds < 1000);
@@ -729,7 +729,7 @@ void VideoBenchmark () {
int loop = 0;
while ((loop < 10000) && !error) {
CpuSetupBenchmark();
CpuExecute(loop);
CpuExecute(loop, true);
if ((regs.pc < 0x300) || (regs.pc > 0x400))
error = 1;
else {
@@ -777,7 +777,7 @@ void VideoBenchmark () {
if (realisticfps < 10) {
int cycles = 100000;
while (cycles > 0) {
DWORD executedcycles = CpuExecute(103);
DWORD executedcycles = CpuExecute(103, true);
cycles -= executedcycles;
DiskUpdatePosition(executedcycles);
JoyUpdateButtonLatch(executedcycles);