mirror of
https://github.com/pevans/erc-c.git
synced 2025-01-02 09:29:58 +00:00
The on/off switch for BANK_ALTZP was mixed up
This commit is contained in:
parent
573a276948
commit
9ac85cb30b
@ -245,13 +245,13 @@ SEGMENT_WRITER(apple2_bank_switch_write)
|
|||||||
// Turn on auxiliary memory for zero page + stack
|
// Turn on auxiliary memory for zero page + stack
|
||||||
case 0xC008:
|
case 0xC008:
|
||||||
apple2_set_bank_switch(mach,
|
apple2_set_bank_switch(mach,
|
||||||
mach->bank_switch | BANK_ALTZP);
|
mach->bank_switch & ~BANK_ALTZP);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
// Disable auxiliary memory for zero page + stack
|
// Disable auxiliary memory for zero page + stack
|
||||||
case 0xC009:
|
case 0xC009:
|
||||||
apple2_set_bank_switch(mach,
|
apple2_set_bank_switch(mach,
|
||||||
mach->bank_switch & ~BANK_ALTZP);
|
mach->bank_switch | BANK_ALTZP);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user