mame
mame copied to clipboard
apple/apple2e.cpp: reset IOU softswitches
Some IOU softswitches are not being reset when the system is reset. This can leave the display and annunciators in an incorrect state after a reset.
From a fresh start, enter the following into the monitor to enable 80-column video and then press RESET. Note the 80-column video remains enabled which is not correct.
*C00D:1
From a fresh start, enter the following into the monitor to draw MouseText characters to the screen and then press RESET. Note the MouseText characters remain enabled which is not correct.
*C00F:1 N 428:40 41 42 43 44 45
This patch corrects these issues by adding reset handling for the missing IOU softswitches:
- 80COL
- ALTCHR
- AN0
- AN1
- AN2
- AN3
In addition, reset code related to MMU, IOU, and LC softswitches has been reorganized into logical groups.