mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2024-12-21 06:29:48 +00:00
apple2: fixed LC c08x read
This commit is contained in:
parent
d733a2cd27
commit
a7f09dc2ce
@ -309,7 +309,7 @@ export class AppleII extends BasicScanlineMachine implements AcceptsBIOS {
|
|||||||
if (address < 0xc000) {
|
if (address < 0xc000) {
|
||||||
this.ram[address] = val;
|
this.ram[address] = val;
|
||||||
this.grdirty[address>>7] = 1;
|
this.grdirty[address>>7] = 1;
|
||||||
} else if (address < 0xc080) {
|
} else if (address < 0xc090) {
|
||||||
this.read(address); // strobe address, discard result
|
this.read(address); // strobe address, discard result
|
||||||
} else if (address < 0xc100) {
|
} else if (address < 0xc100) {
|
||||||
var slot = (address >> 4) & 0x0f;
|
var slot = (address >> 4) & 0x0f;
|
||||||
@ -408,6 +408,7 @@ export class AppleII extends BasicScanlineMachine implements AcceptsBIOS {
|
|||||||
}
|
}
|
||||||
|
|
||||||
doLanguageCardIO(address:number) {
|
doLanguageCardIO(address:number) {
|
||||||
|
// TODO: require two writes in a row for some things
|
||||||
switch (address & 0x0f) {
|
switch (address & 0x0f) {
|
||||||
// Select aux RAM bank 2, write protected.
|
// Select aux RAM bank 2, write protected.
|
||||||
case 0x0:
|
case 0x0:
|
||||||
|
Loading…
Reference in New Issue
Block a user