Add secondary joystick hard drop and deliver build 05

This commit is contained in:
Brian Holman committed 2026-11-11 15:35:49 -07:00
1 parent a07c41555a
commit 49bc78158a
21 files changed
+230 -35

No files matched your search

+25 -2
View File
@@ -2,7 +2,7 @@
Brian requested this delivery convention on November 11, 2026:
`QUADPSLxx.DSK`, with a two-digit build number and fresh high scores for each
new delivered build. Begin at 01. The current delivery is 04; the next changed delivery is 05. This number
new delivered build. Begin at 01. The current delivery is 05; the next changed delivery is 06. This number
identifies the game disk, independently of the VCC Plus application build.
| Build | Date | Filename | Contents / validation |
@@ -11,6 +11,7 @@ identifies the game disk, independently of the VCC Plus application build.
| 02 | 2026-11-11 | QUADPSL02.DSK | Initial shared-row/axis fix; Brian reported actual joystick failure after DOS load |
| 03 | 2026-11-11 | QUADPSL03.DSK | Internal candidate; native test exposed target calibration argument error; withdrawn |
| 04 | 2026-11-11 | QUADPSL04.DSK | Correct target argument loads, stable fire, scene readiness; native emulated joystick checks pass |
| 05 | 2026-11-11 | QUADPSL05.DSK | Fire 2 hard drop once per press; actual standard right-port press/held/repress and input regression checks pass on official build54 |
Build 01 is 161,280 bytes, SHA-256:
`4ac171e87c51dfd99b302b9e035a91a59c030144e5ae0661a6d2dfc84ba3a63f`.
@@ -58,7 +59,7 @@ $13FD; the 1024-byte stack reserve is unchanged. The writable build-02 file is
preserved locally and backed up byte-identically under ignored personal media;
it is retired from tracking rather than resetting its saved contents.
Build 04 is the current clean delivery, SHA-256:
Build 04 is the preceding clean delivery, SHA-256:
`1cddb6bdf17857b915e96a6929e14181bad05cfae73278a4919add26fea0ba45`.
QUAD.bin is 26,581 bytes, SHA-256:
`f79dd5b4ba32ab592bd2b1cb21bea2847b58bd88a1343a9507e1e72e26fe6767`.
@@ -71,3 +72,25 @@ Pristine QUADPSL04.DSK contains only QUAD.BIN, WORDS.DAT, QPTEXT.DAT and the DOS
launcher; empty scores/default settings. The app mounted a separate working copy.
Withdrawn pristine build03 and unmounted test scratch are removed during cleanup;
personal build01/build02 images and backups are retained unchanged.
Build 05 is the current clean delivery (161,280 bytes), SHA-256:
`d05ab25fd90171b048cce54f3af18ca6d0bd81335e138044ff05315e99cbf582`.
QUAD.bin is 26,623 bytes, SHA-256:
`ed5460993770f80bd1560001892ef34d4845ddf9eafe40fc732d1033a9c84290`.
Official build54 project 273E195B-8BFC-495F-A1F8-E1469759B910 revision0,
Release build CC51E81E-B5E2-4670-B8FA-15785BAFEB51, artifact
F137D778-646A-43AE-9CF1-92A658464FF3, zero diagnostics. Its outputs exactly
match the earlier native build53 C671F741 candidate; the compiler workaround
remains. Code/const end $7AFE, static end $13FD, original 1024-byte stack reserve.
The directory contains QUAD.BIN, WORDS.DAT and QPTEXT.DAT plus DOS launcher;
50 free granules, no QPSAVE files. The numbered copy was created exclusively
and its hash checked after the owned run stopped.
Actual MC6809/512 KB standard right-port joystick tests passed Fire 2 held for
180 fields (one lock), neutral then press (second lock), both horizontal walls,
lasting primary release rotation, Up hard drop, keyboard pause/resume then
joystick LEFT. Input traces confirm actual analog/button states and neutral
release, not guest keyboard aliases. The owned run stopped with disk retained,
zero writes and unchanged pristine hash. Details and qualification limits:
SECONDARY_BUTTON.md. The old build04 file and byte-identical backup remain
locally, retired from tracking; personal build01/build02 and backups are untouched.
+17 -2
View File
@@ -4,7 +4,21 @@ The current disk contains a playable CoCo 3 game with standard CMOC sound,
settings and disk-backed high scores. Actual 128 KB qualification remains
pending; CoCo 2 adaptation is deferred at Brian's direction.
## Current joystick correction — build 04
## Current secondary-button addition — build 05
QUADPSL05.DSK adds Fire 2 hard drop once per press; Up and Fire 1 remain.
Official installed VCC Plus 3.6.1 (54) Release and disposable MC6809/512 KB
standard right-port joystick tests pass held/released/repressed drops,
left/right, lasting rotation, Up drop and keyboard pause/resume then joystick
movement. Host adapter tests cover both ports; rules, persistence and video
checks pass. Code/const end $7AFE, static end $13FD, stack reserve1024.
Disk SHA-256:
`d05ab25fd90171b048cce54f3af18ca6d0bd81335e138044ff05315e99cbf582`.
Run stopped with its disk retained and zero writes; personal media unchanged.
Physical controller/CoCo, guest left port, this candidate's HD6309 and 128 KB
remain pending; normal-window buzz remains open. See SECONDARY_BUTTON.md.
## Previous joystick correction — build 04
QUADPSL04.DSK works around a demonstrated bundled CMOC -O2 calibration-argument
load error. Official native build53 Release and right-port emulated joystick
@@ -123,7 +137,8 @@ Actual 128 KB and physical joystick qualification remain pending.
- Modern/Classic 32-bit saturating scoring, level transitions and Relaxed mode.
- Version-1 xorshift32 seeded stream, inverse-square balancing, prefill and
Difficult Pieces metric/selection. Difficult search is currently synchronous.
- Keyboard controls and a one-button joystick input state machine, settings,
- Keyboard controls, a complete one-button joystick input state machine with
optional Fire 2 hard drop, settings,
seed editor, pause/actions/confirmation screens, score browser and initials.
- Code-drawn title and cached tiles; menu focus updates without full redraws.
Scene text is a bounded, checksummed disk asset sharing the display cache.
+11
View File
@@ -85,3 +85,14 @@ workflow after the grant ended. Native builds FC462D93 / A7A18927 succeeded.
Launch Disk mounted a separate working copy; explicit cold restart plus DOS was
required because the prior graphics game was still in RAM. A new mounted filename
or C workspace's latest-build badge alone does not prove the guest reloaded it.
Build05 final checks use official build54's newly exported native connection,
project273E195B-8BFC-495F-A1F8-E1469759B910 revision0. Discovery returned29 tools,
playtest_joystick_input and input_diagnostics; actual standard port/axis/fire2
steps and get_playtest_input were used successfully. The official local helper
required local-service execution permission; without that permission it returned
host_unavailable despite local tools/list succeeding. This was resolved without
replacing the grant or changing the emulator. All owned runs stopped; the native
workspace was released to Core for the next project's scoped connection. Private
grant files remain outside Git. See SECONDARY_BUTTON.md for exact evidence.
+6
View File
@@ -65,3 +65,9 @@ Final build04's independent calibration/position pointers avoid the target
compiler indexing defect. Code/const end $7AD4 (44 bytes free), static end
$13FD (3 bytes free). The original MMU window, section limits and 1024-byte
stack reserve are unchanged. Memory qualification remains actual-128-KB pending.
Build05 maps Fire 2 into the existing hard-drop edge path: code/const end $7AFE
(2 bytes free), static end $13FD (3 bytes free), unchanged 1024-byte stack reserve.
Official build54 reproduces these exact bounds and passes MC6809/512 KB standard
right-port tests. Further code/data growth requires compaction first; 128 KB and
full stack qualification remain pending.
+80
View File
@@ -0,0 +1,80 @@
# Secondary joystick hard drop — November 11, 2026
Brian requested Fire 2 hard drop, equivalent to Space. The game uses the selected
right/left joystick's named standard CMOC secondary mask (right 0x04, left 0x08)
from the same stable button snapshot used to filter keyboard rows. In gameplay,
it joins the existing Q_HARD held action before edge detection: one drop on press,
no repeat while held, and no rotation on release. Space and Fire 2 share the same
logical edge, preventing a second drop while either alias stays down.
The secondary button is ignored in menus and with Joystick Off. A held button
across scene transitions must be released before input is rearmed. Joystick Up
hard drop, Down soft drop and primary short/long-press actions remain. Both port
mappings are covered by hardware-mock adapter tests with real q_input_step/q_drop;
held samples leave exactly four settled cells, and another released/repressed
button locks a second piece. Wrong port, Off, menu and transition cases pass.
All four shared keyboard rows continue to be filtered. The Controls page now
lists Up/Fire 2 hard drop and Fire 1 rotation/actions.
Build05 was first built using official VCC Plus 3.6.1 (53), then rebuilt and
qualified with installed 3.6.1 (54), CMOC 0.1.100 Release. The two builds produce
identical binary/disk bytes. The game-side calibration-pointer compiler workaround
remains despite the general compiler fix now included in the installed app. Code/const
end $7AFE, static end $13FD, original 1024-byte stack reserve. No persistent state,
score formula or save schema changed. Native qualification follows; host simulation alone does not prove physical
joystick behavior.
## Final installed-app check
Brian authorized the final installed VCC Plus check after Core installed build54.
The fresh native project grant identified project
273E195B-8BFC-495F-A1F8-E1469759B910 revision0 and advertised joystick injection
and diagnostics. Source hashes matched main.c, keyboard.c/h, menu asset and
Makefile. The official Release build CC51E81E-B5E2-4670-B8FA-15785BAFEB51
succeeded without diagnostics; artifact F137D778-646A-43AE-9CF1-92A658464FF3.
See BUILDS.md for binary/disk hashes and exact memory bounds.
Disposable run C3EAFAD1-3CB6-435F-9B40-03E55C6CB534 used MC6809 and 512 KB,
booted from that exact artifact. Score loading and initial drawing were allowed
to finish before controls were evaluated. Public playtest_input steps used
standard right-port X/Y snapshots (0..16383, center8191) and named fire1/fire2;
get_playtest_input and input_trace confirmed the actual states and release.
No emulator internals or guest memory/register writes were used.
- Fire 2 on the title did not start a game.
- Empty-board baseline had no settled cells. Fire 2 was held 180 fields, then
released 60 fields: four green settled cells and the next purple piece still
falling. There was no repeat or release rotation.
- Fire 2 pressed again for 12 fields, then released 120: eight settled cells
(green + purple), with the yellow piece falling. Exactly one additional lock.
- Actual analog X=0 and X=16383 moved the yellow piece to the respective walls.
- Primary held 8 fields/released 90 rotated the yellow piece vertically and
left it rotated. Up (Y=0) still hard-dropped it.
- Keyboard P/Enter pause/resume followed by actual joystick LEFT moved the next
gray piece to the left wall. Keyboard confirmation did not disable the stick.
- A 120-field idle audio capture had PCM peak0 in both channels. This isolated
silence does not establish that Brian's normal-window buzzing is fixed.
The run stopped normally at field5806, with zero disk writes. Its writable test
disk was retained with the same pristine hash. The normal paused session,
DualSense assignments, stopped tape and personal score media were preserved.
Both secondary port masks pass host adapter/gameplay fixtures; this guest run
qualifies the right port only. Actual left port, physical controller/CoCo,
HD6309 on this candidate and 128 KB remain unqualified. No save schema or scoring
formula changed. Host input/store/keyboard, rules and video suites pass with
AddressSanitizer/UndefinedBehaviorSanitizer.
![One settled piece after holding Fire 2](screenshots/build05-fire2-held.png)
![Two settled pieces after release and another press](screenshots/build05-fire2-repress.png)
![Joystick LEFT after keyboard resume](screenshots/build05-after-keyboard-resume.png)
## Brian's acceptance test
Use a writable copy of QUADPSL05.DSK, type DOS to load it, and select Right
joystick (the default). Confirm left/right movement; primary tap/release rotation
that stays rotated; secondary hard drop once per press even while held; another
drop after release/repress; and joystick movement after keyboard pause/resume.
Up remains another hard drop and Down soft drop. Old disks keep their scores;
build05 starts fresh. Note machine RAM and whether buzzing occurs at the title.
+3 -2
View File
@@ -2,8 +2,9 @@
## Required installed app
Use `/Applications/VCC Plus.app`, **version 3.6.1, build 53**, explicitly approved by Brian
on November 11, 2026 for the joystick investigation, reconnection and isolated build/playtest. The installed
Use `/Applications/VCC Plus.app`, **version 3.6.1, build 54**. Brian requested the final
Quadrapassel test after Core installed it on November 11, 2026. Earlier build53
checks remain historical. The installed
Info.plist was verified. Earlier build-48 evidence remains historical.
Verify again at implementation start.
If the app differs, report it and wait for Brian to approve a different version.
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB