1
0
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:
Peter Evans 2018-01-04 20:09:53 -06:00
parent 3f0a091520
commit 2da613f7aa

View File

@ -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;
}