Re: Joysticks typical polling freq.

From: silverdr_at_wfmh.org.pl
Date: Thu, 12 Dec 2019 17:44:28 +0100
Message-Id: <2F093D21-B803-4393-B631-401A1E8E47EC_at_wfmh.org.pl>
> On 2019-12-12, at 12:22, Baltissen, GJPAA (Ruud) <ruud.baltissen_at_apg.nl> wrote:
> 
>> How frequently would the C64 in a typical ML game would poll or would be able to poll
>> considering the game logic, music and video, the Joysticks ? 250Hz, 1000Hz, faster ?
> 
> I would make use of the already available interrupt that is fired at 50 Hz for PAL and 60 Hz for NTSC machines. If the used frequency is good enough for scanning the keyboard (you just close a switch for a fraction of a second) then it should be more than good enough for scanning a few switches that most of the time are closed much longer.

... unless we talk about auto-fire type of quasi switch. Even then it would be OK for some 25/30 bullet series per second ;-)

-- 
SD! 
Received on 2020-05-29 23:53:50

Archive generated by hypermail 2.3.0.