mirror of
https://github.com/pevans/erc-c.git
synced 2024-12-21 08:30:55 +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
|
||||
case 0xC008:
|
||||
apple2_set_bank_switch(mach,
|
||||
mach->bank_switch | BANK_ALTZP);
|
||||
mach->bank_switch & ~BANK_ALTZP);
|
||||
break;
|
||||
|
||||
// Disable auxiliary memory for zero page + stack
|
||||
case 0xC009:
|
||||
apple2_set_bank_switch(mach,
|
||||
mach->bank_switch & ~BANK_ALTZP);
|
||||
mach->bank_switch | BANK_ALTZP);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user