1
0
mirror of https://github.com/pevans/erc-c.git synced 2025-04-05 06:37:42 +00:00

Set the reset vector to the applesoft interpreter address

This commit is contained in:
Peter Evans 2018-01-10 16:47:18 -06:00
parent cb53c70cda
commit aa486656b3

View File

@ -190,6 +190,11 @@ apple2_boot(apple2 *mach)
}
}
// To begin with, we need to set the reset vector to the Applesoft
// interpeter.
vm_segment_set16(mach->memory, APPLE2_RESET_VECTOR,
APPLE2_APPLESOFT_MAIN);
if (option_flag(OPTION_FLASH)) {
mos6502_flash_memory(mach->cpu, mach->drive1->data);
}