mirror of
https://github.com/pevans/erc-c.git
synced 2025-02-25 14:29:13 +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 we're paused, then just re-loop until we're not
|
||||||
if (mach->paused) {
|
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();
|
char *input = vm_debug_prompt();
|
||||||
|
|
||||||
if (input != NULL) {
|
if (input != NULL) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user