Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR cleans up more of the Apple IIc:
Before this PR,
mame [apple2c*, las128*] -listslotsshows:The compeyes and gizmo devices require annunciators; even if they are connected via an adaptor, they can't function on real hardware. This commit applies the existing
joystick_optionsfrom the tk3000 to the IIc (and other Laser clones without internal gameio ports.)These two commits remove 200+ lines of copy-paste. This exposed bugs with unconnected joysticks, Zip Chip registers, and RDIOUDIS/RDHIRES side-effect behaviors. I wrote unit tests, which fail in 0.281:
PDLTest_251019.zip
After this PR the side-effects match the behavior verified second-hand on IIc hardware:

(...but the main motivation for this cleanup is that a future PR is going to add 100 lines of Zip Chip emulation that I would rather not copy-paste.)
apple2e: fix IIc VBL behavior
It looks like this has been broken since MESS integration? The IIc Technical Ref has wrong information, but it was corrected in Apple IIc Technical Note #9.
apple2e: fix IIc C04x readback

The previous SWITCHES test now more closely matches results from IIc hardware:
apple2e: remove redundant m_cassette_out
This doesn't affect the IIc, but was noticed by inspection. Previously, mixing reads and writes to C020, or mixing writes to C020 and C02X would have behaved strangely on the IIe, because there were two sets of state tracked (and also
m_cassette_outwasn't in the save state.) Sanity testLOADviaapple2e -cass Choplifter.lo.wavcontinues to work.