diff --git a/Changes.txt b/Changes.txt index 9f23c2a33..737a4b89c 100644 --- a/Changes.txt +++ b/Changes.txt @@ -23,6 +23,9 @@ Because of this, the 32-bit version is also discontinued, as 10.7 is 64-bit Intel only. + * The debugger 'reset' command now does a complete system reset, + instead of simply setting the PC to the reset vector address. + * Updated included PNG library to latest stable version. -Have fun! diff --git a/src/debugger/Debugger.cxx b/src/debugger/Debugger.cxx index 63f703c7d..6ae45f552 100644 --- a/src/debugger/Debugger.cxx +++ b/src/debugger/Debugger.cxx @@ -260,7 +260,7 @@ const string Debugger::invIfChanged(int reg, int oldReg) // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - void Debugger::reset() { - myCpuDebug->setPC(dpeek(0xfffc)); + mySystem.reset(); } // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/debugger/DebuggerParser.cxx b/src/debugger/DebuggerParser.cxx index 45ddf2036..110925afc 100644 --- a/src/debugger/DebuggerParser.cxx +++ b/src/debugger/DebuggerParser.cxx @@ -1192,7 +1192,7 @@ void DebuggerParser::executeReset() { debugger.reset(); debugger.rom().invalidate(); - commandResult << "reset CPU"; + commandResult << "reset system"; } // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -