mirror of
https://github.com/pevans/erc-c.git
synced 2025-02-17 07:32:05 +00:00
Provisional state upon reboot
This commit is contained in:
parent
3f0a091520
commit
2da613f7aa
@ -184,6 +184,10 @@ apple2_boot(apple2 *mach)
|
||||
mos6502_dis_scan(mach->cpu, stdout, 0, mach->cpu->memory->size);
|
||||
}
|
||||
|
||||
cpu->P = INTERRUPT;
|
||||
cpu->PC = (vm_16bit)vm_segment_get(mach->memory, 0xFFFC);
|
||||
cpu->S = 0;
|
||||
|
||||
return OK;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user