1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-06-07 17:29:31 +00:00

apple2: force hard resets, fixing loadROM

This commit is contained in:
Micah Cowan 2022-01-27 19:43:52 -08:00
parent c58d999ee4
commit 7071f70bb2

View File

@ -182,6 +182,8 @@ export class AppleII extends BasicScanlineMachine implements AcceptsBIOS {
this.auxRAMselected = false;
this.auxRAMbank = 1;
this.writeinhibit = true;
this.ram.fill(0, 0x300, 0x400); // Clear soft-reset vector
// (force hard reset)
this.skipboot();
}
skipboot() {