1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-10-03 18:54:44 +00:00

apple2: fixed LC c08x read

This commit is contained in:
Steven Hugg 2024-06-05 09:39:03 -05:00
parent d733a2cd27
commit a7f09dc2ce

View File

@ -309,7 +309,7 @@ export class AppleII extends BasicScanlineMachine implements AcceptsBIOS {
if (address < 0xc000) {
this.ram[address] = val;
this.grdirty[address>>7] = 1;
} else if (address < 0xc080) {
} else if (address < 0xc090) {
this.read(address); // strobe address, discard result
} else if (address < 0xc100) {
var slot = (address >> 4) & 0x0f;
@ -408,6 +408,7 @@ export class AppleII extends BasicScanlineMachine implements AcceptsBIOS {
}
doLanguageCardIO(address:number) {
// TODO: require two writes in a row for some things
switch (address & 0x0f) {
// Select aux RAM bank 2, write protected.
case 0x0: