-[NEW] Next (step over) implemented
This commit is contained in:
8
main.cpp
8
main.cpp
@@ -72,6 +72,12 @@ int main(int argc, char *argv[])
|
||||
if (t>=69888) { t=0; z80::interrupt(); }
|
||||
z80debug::refresh();
|
||||
zxscreen::refresh();
|
||||
} else if (e.key.keysym.scancode==SDL_SCANCODE_F11) {
|
||||
z80debug::next();
|
||||
//t += z80::step();
|
||||
fps=0;
|
||||
fps_time = SDL_GetTicks();
|
||||
zxscreen::refresh();
|
||||
} else if (e.key.keysym.scancode==SDL_SCANCODE_F5) {
|
||||
z80::step();
|
||||
z80debug::cont();
|
||||
@@ -97,7 +103,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
}
|
||||
if (!z80debug::debugging()) {
|
||||
if (z80debug::isbreak(z80::getPC())) {
|
||||
if (z80debug::isbreak(z80::getPC(), 9)) {
|
||||
z80debug::stop();
|
||||
zxscreen::refresh();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user