Fix inherited secondary joystick buttons crossed between CoCo ports

This commit is contained in:
bholman committed 2026-11-21 22:40:49 -07:00
1 parent 961f586d06
commit bf36c0569a
8 files changed
+285 -131

No files matched your search

+15
View File
@@ -6,6 +6,21 @@ logic from new features and defects found while integrating those features.
The checks below establish their stated scopes; they do not turn source
inspection into a claim of a reproduced field failure.
## Inherited secondary joystick-button routing, 2026-11-21
The MiSTer top-level binding crossed the two joystick secondary buttons while
primary buttons and axes stayed with their selected ports. This wiring is
already present in upstream first commit f00b53c (2021-12-21), not introduced by
Plus. Correct only the P_SWITCH binding and its misleading secondary-row comments.
The Tandy 26-3334 service manual, printed page9, assigns PIA0 PA0=right primary,
PA1=left primary, PA2=right secondary and PA3=left secondary.
The extracted actual-RTL regression fails on unchanged wiring and passes524288
cases on the correction: both port-swap positions, all16 button combinations,
mouse states, keyboard column masks and keyboard-row patterns. It is included in
scripts/run_regressions.py. This is a simulation result, not a physical-controller
or CocoMan firing pass. Native fit, timing and hardware checks are pending here.
## Inherited clock, reset and memory paths
| Area and problem | Change and relevant source | Verification and limits |
+11
View File
@@ -1,5 +1,16 @@
# Validation and acceptance scope
## Secondary joystick correction, 2026-11-21
Source and extracted-RTL evidence identifies crossed secondary buttons in the
inherited MiSTer wrapper. The service-manual PIA oracle fails on the unchanged
binding and passes524288 combinations after correction, including both port
swaps, simultaneous button presses, mouse primary-button gating and keyboard
row sharing. No new core has been installed or tested with CocoMan yet. Full
functional suite, native Quartus fit and detailed timing are being run separately;
prior 1.0.0 hardware and fitted results below do not qualify the changed RBF.
## Source-tree hygiene, 2026-11-18
Removed the inherited 162-byte Word owner/lock file `docs/~$Co3FPGA.docx`