If you *LOAD QWAKDAT at the default &1400, you'll findWhat I'd love to do is to be able to offer alternate keys for gameplay, as CAPS and CTRL for left and right does not suit PC keyboards. I did poke around in the code and thought I'd found the values to change but they didn't seem to have any effect. Might have another look at it but, if there's any code nerds out there that can figure it out for me, I'd be most appreciative!
Code:
31A9 LDX #&C031AB LDA #&7931AD JSR OSBYTE31B0 CPX #&C0
Changing 31AA and 31B1 to &E1 will check for Z (internal key number &61)
Likewise
Code:
31B6 LDX #&8131B8 LDA #&7931BA JSR OSBYTE31BD CPX #&81
Changing 31B7 and 31BE to &C2 will check for X (internal key number &42)
The checks for SHIFT and RETURN are located around 3187 and 32DC respectively

-&1000 for the relocated code when the game is running
Statistics: Posted by billcarr2005 — Sun Nov 24, 2024 4:49 am