mirror of
https://github.com/pevans/erc-c.git
synced 2025-08-08 05:25:01 +00:00
Set the reset vector to the applesoft interpreter address
This commit is contained in:
@@ -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)) {
|
if (option_flag(OPTION_FLASH)) {
|
||||||
mos6502_flash_memory(mach->cpu, mach->drive1->data);
|
mos6502_flash_memory(mach->cpu, mach->drive1->data);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user