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:
1 parent
2e163049d1
commit
a07c41555a
22 files changed
+446
-100
No files matched your search
@@ -36,4 +36,14 @@ int main(void){QActions a;
|
||||
q_input_reset(&s);step(0,0,0,0,1,1);
|
||||
a=step(0,0,63,0,1,1);assert(!a.repeats); /* no X neutral observed yet */
|
||||
step(0,0,31,0,1,1);a=step(0,0,63,0,1,1);assert(a.move==1);
|
||||
/* A keyboard-confirmed scene transition retains established X readiness. */
|
||||
reset();step(0,0,0,31,1,0);q_input_release(&s);
|
||||
a=step(Q_CONFIRM,0,0,31,1,1);assert(!a.repeats); /* held confirm guard */
|
||||
a=step(0,0,0,31,1,1);assert(!a.repeats);
|
||||
a=step(0,0,0,31,1,1);assert(a.move==-1&&a.repeats==1);
|
||||
a=step(0,0,63,31,1,1);assert(a.move==1&&a.repeats==1);
|
||||
/* Opening Actions with fire held cannot rotate on release in the next scene. */
|
||||
reset();step(0,1,31,31,400,1);q_input_release(&s);
|
||||
step(0,1,31,31,1,0);a=step(0,0,31,31,1,0);assert(!a.pressed);
|
||||
a=step(0,0,31,31,1,0);assert(!a.pressed);
|
||||
puts("PASS: input repeat, conflicting directions, edges, one-button timing, hysteresis, diagonal guard, disconnected-stick keyboard");return 0;}
|
||||
Reference in new issue
Block a user