Groups | Search | Server Info | Login | Register


Groups > comp.sys.apple2.programmer > #54

Re: Simultaneous Paddle Readings

From Patrick Schaefer <pa.schaefer@web.de>
Newsgroups comp.sys.apple2.programmer
Subject Re: Simultaneous Paddle Readings
Date 2011-07-27 15:05 +0200
Message-ID <99agphFrksU1@mid.individual.net> (permalink)
References <dog_cow-1311728175@macgui.com>

Show all headers | View raw


Am 27.07.2011 02:56 schrieb dog_cow@macgui.com (D Finnigan):

> It is true. Set paddle 1 to 255 ($FF) and then move paddle 0. You will see
> both values on screen change.

What you do is the following:

* start all four paddle timers
* wait until the first expires
* start all four timers again, even if one or more did not expire yet
* get wrong readings

What you have to do is:

* start all four paddle timers
* check all four timers at the same time and record expiration time or 
each one

So your reading loop will last until the last timer expired, and 
resolution may be worse because checking four lines takes more time than 
just one..


Patrick

Back to comp.sys.apple2.programmer | Previous | NextPrevious in thread | Find similar


Thread

Simultaneous Paddle Readings dog_cow@macgui.com (D Finnigan) - 2011-07-27 00:56 +0000
  Re: Simultaneous Paddle Readings Michael J. Mahon <mjmahon@aol.com> - 2011-07-27 02:27 -0500
  Re: Simultaneous Paddle Readings Patrick Schaefer <pa.schaefer@web.de> - 2011-07-27 15:05 +0200

csiph-web