Fix target joystick calibration arguments and scene transitions

Avoid a demonstrated CMOC -O2 removed-index-reload error with independent calibration and position pointers. Keep established joystick readiness across menus, stabilize shared fire/keyboard scans, and protect input sampling from IRQ interference.

Ship pristine QUADPSL04.DSK. Native right-port emulated analog/button checks pass for both directions, four lasting T-piece turns, and steering after keyboard resume. Host input/store/rules/video regressions and unchanged memory guards pass. Preserve personal score disks and record physical/128 KB/audio limits.
This commit is contained in:
Brian Holman committed 2026-11-11 14:26:06 -07:00
1 parent 2e163049d1
commit a07c41555a
22 files changed
+446 -100

No files matched your search

+12 -7
View File
@@ -74,15 +74,15 @@ ROM, emulator implementation, or third-party sound payload is included.
## Run the current CoCo 3 disk
Mount a writable copy of [QUADPSL02.DSK](QUADPSL02.DSK) in drive 0 and type
Mount a writable copy of [QUADPSL04.DSK](QUADPSL04.DSK) in drive 0 and type
`DOS`. Keep the downloaded original pristine. The current build targets the
CoCo 3; CoCo 2 adaptation is deferred. Allow disk loading and explicit saves to
finish before the next action. High scores/settings use QPSAVE0.DAT and
QPSAVE1.DAT; QPTEXT.DAT contains read-only menu text.
Each numbered build starts with empty high scores and default preferences.
Existing personal score disks remain untouched; scores are not copied into the
new build. The current delivery is **build 02**; the next changed delivery will
be build 03. See [build records](docs/BUILDS.md). The official recipe still uses
new build. The current delivery is **build 04**; the next changed delivery will
be build 05. See [build records](docs/BUILDS.md). The official recipe still uses
Quadrapassel.DSK as its clean staging artifact.
The separately verified manual fallback on the 512 KB test machine is:
@@ -112,7 +112,12 @@ changes the next game and defaults to keeping existing high scores. Both
formulas match the supplied Mac source. The reported normal-window buzz remains
unconfirmed fixed; isolated audio is quiet between effects.
Build 02 corrects joystick fire being mistaken for keyboard actions and allows
horizontal movement when only X has centered. Host regressions and official
keyboard smoke checks pass; actual joystick confirmation remains pending.
See [joystick correction](docs/JOYSTICK_FIX.md).
Build 04 corrects a bundled CMOC optimizer error that supplied the wrong
horizontal calibration byte, causing constant right movement. It also includes
stable button sampling and preserves joystick readiness across keyboard-confirmed
scene changes. Native right-port emulated joystick checks pass for left/right,
four lasting T-piece turns, and steering after keyboard pause/resume. Actual
physical controller/CoCo and left-port retests remain pending. CoCoMan was a
read-only reference; its assembly and VCC-specific APIs were not imported.
See [the target diagnosis](docs/CMOC_JOYSTICK_ARGUMENTS.md) and
[joystick validation](docs/JOYSTICK_FIX.md).