Welcome, Guest. Please login or register.

Author Topic: PC joystick slower than Amiga?  (Read 1624 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline ElPolloDiablTopic starter

  • Hero Member
  • *****
  • Join Date: May 2009
  • Posts: 1702
    • Show only replies by ElPolloDiabl
PC joystick slower than Amiga?
« on: July 05, 2013, 02:19:46 PM »
A couple years back there was quite a long argument about joystick polling speed.
I have found an answer at: http://pinouts.ru/Inputs/GameportPC_pinout.shtml

If you read paragraph two: The joystick interface card was designed to be as simple and cheap as possible. The card consisted only of bus interface electronics and four monostable multivibrators (all in on 558 chip). Those monostable multivibrators were simple timer circuits which put out a pulse with width directly proportional to the joystick resistance value. The pulse width was then measured using software loop. This has caused anormous amounts of problems to game programmers when computers have become faster and faster all the time. On faster machines, the joystick routine in the software does not read the joystick signal properly resulting in a timing problems. Some dedicated joystick cards are designed to vary the joystick signal so the software can properly detect the joystick and process the data.

Whereas the Atari/Amiga style is a fairly simple design and wouldn't get any timing issues.
Link here: http://old.pinouts.ru/Inputs/JoystickAtari2600_pinout.shtml

Obviously some people would be getting buggy PC joystick behaviour.
It clears it up for me too.
Go Go Gadget Signature!
 

Offline ElPolloDiablTopic starter

  • Hero Member
  • *****
  • Join Date: May 2009
  • Posts: 1702
    • Show only replies by ElPolloDiabl
Re: PC joystick slower than Amiga?
« Reply #1 on: July 05, 2013, 08:40:30 PM »
You can get PC joystick that are digital. I'm not sure if it has problems with the software timing loop however.
Go Go Gadget Signature!
 

Offline Speelgoedmannetje

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 9656
    • Show only replies by Speelgoedmannetje
Re: PC joystick slower than Amiga?
« Reply #2 on: July 05, 2013, 09:27:28 PM »
USB joysticks can be slower if there's other traffick the USB controller has to handle. Old fashioned PC joystick are being dealt with the interrupt request of the sound card, which means the CPU is interrupts it's tasks immediately to do the sound card tasks (among sound, the reading of the joystick status). That is, if we're talking DOS, not Windows as the latter has an hardware abstraction layer, and I don't know much about the implementation of that.
With the Amiga, not the CPU, but one of the custom chips (was it Paula?) is being interrupted to do the joystick handling. So, strictly spoken, it should be faster, yes.

But whether you'll notice in reality, it depends on what kind of pc you have and what kind of software you're running.
« Last Edit: July 05, 2013, 09:31:12 PM by Speelgoedmannetje »
And the canary said: \'chirp\'
 

Offline Art

  • Jr. Member
  • **
  • Join Date: Jun 2013
  • Posts: 50
    • Show only replies by Art
Re: PC joystick slower than Amiga?
« Reply #3 on: July 10, 2013, 03:29:43 AM »
Quote
Those monostable multivibrators were simple timer circuits which put  out a pulse with width directly proportional to the joystick resistance  value
Does anyone have an analogue joystick for the PC anymore?

[/I]