Groups | Search | Server Info | Login | Register


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

Re: Simultaneous Paddle Readings

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!newsfeed.kamp.net!newsfeed.kamp.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Patrick Schaefer <pa.schaefer@web.de>
Newsgroups comp.sys.apple2.programmer
Subject Re: Simultaneous Paddle Readings
Date Wed, 27 Jul 2011 15:05:52 +0200
Lines 25
Message-ID <99agphFrksU1@mid.individual.net> (permalink)
References <dog_cow-1311728175@macgui.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Trace individual.net brbaiQcp1FoikrahqUYhAAmVeol0L7zCn788AMjE7XzQ6Eztg=
Cancel-Lock sha1:0AEoRNANS3sesb3pAkwolKPESp0=
User-Agent Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20110624 Thunderbird/5.0
In-Reply-To <dog_cow-1311728175@macgui.com>
Xref x330-a1.tempe.blueboxinc.net comp.sys.apple2.programmer:54

Show key headers only | 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