Joystick position: Difference between revisions
→{{header|ZX Spectrum Basic}}: requires a bit more than that, alas - Kempston returns 000FUDLR on port 31, Sinclair IF2 returns 111lrduf on port 61438 (yes, that's a 1 if off)...
Thundergnat (talk | contribs) m (syntax highlighting fixup automation) |
Kinitawowi (talk | contribs) (→{{header|ZX Spectrum Basic}}: requires a bit more than that, alas - Kempston returns 000FUDLR on port 31, Sinclair IF2 returns 111lrduf on port 61438 (yes, that's a 1 if off)...) |
||
Line 1,662:
=={{header|ZX Spectrum Basic}}==
Assuming a Kempston joystick interface, fairly standard at the time
<syntaxhighlight lang="zxbasic">10 DIM o$(5)
|