[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: // Joystick commands/values



In article <37t9qq$59e@bbs.ausom.oz.au>,
Andrew Kingdom <agk@bbs.ausom.oz.au> wrote:
>
> [How to display joystick values from BASIC]
> 
> Here 'tis:
> 
> 10 ?PDL(0),PDL(1):RUN
> RUN

That is likely to have problems.  You are supposed to insert a short
delay between reading the two paddles, or the reading for the second
one may be inaccurate.  Similarly, you should delay after reading the
second one before reading the first one again.

You could also use GOTO 10 instead of RUN, which will be rather more
efficient.
-- 
David Empson
dempson@actrix.gen.nz
Snail mail: P.O. Box 27-103, Wellington, New Zealand