Joystick position: Difference between revisions
→{{Header|ZX Spectrum Basic}}: i'll get this right in a minute - it'd be so much easier if the spectrum's BIN function was reversible
Kinitawowi (talk | contribs) No edit summary |
Kinitawowi (talk | contribs) (→{{Header|ZX Spectrum Basic}}: i'll get this right in a minute - it'd be so much easier if the spectrum's BIN function was reversible) |
||
Line 722:
=={{Header|ZX Spectrum Basic}}==
Assuming a Kempston joystick interface, fairly standard at the time. Rewriting for the Sinclair Interface 2 involves changing line 80 to 80 LET t=IN 61438, replacing all numbers in the next five lines with
<lang zxbasic>10 DIM o$(5)
|