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 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> References: 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: Xref: x330-a1.tempe.blueboxinc.net comp.sys.apple2.programmer:54 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