1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-06-11 05:29:33 +00:00

Show current opcode

This commit is contained in:
Peter Evans 2018-02-25 15:52:37 -06:00
parent e50fda62be
commit 67c7790a1a

View File

@ -357,6 +357,16 @@ apple2_run_loop(apple2 *mach)
// If we're paused, then just re-loop until we're not
if (mach->paused) {
if (mach->selected_drive) {
mach->selected_drive->locked = true;
}
mos6502_dis_opcode(mach->cpu, out, mach->cpu->PC);
if (mach->selected_drive) {
mach->selected_drive->locked = false;
}
char *input = vm_debug_prompt();
if (input != NULL) {