mirror of
https://github.com/pevans/erc-c.git
synced 2024-11-27 20:51:17 +00:00
Show current opcode
This commit is contained in:
parent
e50fda62be
commit
67c7790a1a
10
src/apple2.c
10
src/apple2.c
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user