Prev: 33862 Up: Map Next: 34640
34636: ScanInput — read the selected input device
Per-frame input shim: calls whichever device scanner OptionsScreen selected (the CALL operand at $874D is patched from the vector table at $A405) to pack the active directional / fire controls into 33682. Bit 4 = fire/action, bit 3 = right (key 8), bit 2 = left (key 5), bit 1 = up (key 6), bit 0 = down (key 7). Used by the routine at HandleInput.
34636 CALL 34640 scan into AlienFlags via the selected device's
34639 RET scanner (the CALL operand at $874D is patched from InputScannerTable by OptionsScreen)
Prev: 33862 Up: Map Next: 34640