1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-09-29 11:55:01 +00:00

Actually execute some opcodes

This commit is contained in:
Peter Evans 2018-01-05 14:55:33 -06:00
parent fd8f36b34e
commit d5b6205713

View File

@ -294,6 +294,9 @@ apple2_run_loop(apple2 *mach)
}
while (vm_screen_active(mach->screen)) {
mos6502_dis_opcode(mach->cpu, stdout, mach->cpu->PC);
mos6502_execute(mach->cpu,
vm_segment_get(mach->memory, mach->cpu->PC));
vm_screen_refresh(mach->screen);
}
}