🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: sci.electronics
Article #16911

Re: Pinouts for 15-pin IBM GamePort?

#16911
From: Alan Mimms
Date: Thu, 28 Jan 1993 00:22
54 lines
2379 bytes
In article <jeremym.727842907@sfu.ca>, jeremym@fraser.sfu.ca (Jeremy Thomas McDonald) writes:
> 
> Does anyone have the pinouts for the IBM-compatible 15-pin GamePort?
> What is the current rating on the +5v pin, if there is a +5v pin?
> Thanks in advance.
> 
> email to: jeremym@fraser.sfu.ca
> -------------------------------
> yes, a lowly university student
> 

I am looking at a thing called "Interfacing to the IBM Personal Computer"
(second edition -- ISBN 0-672-22722-3) which gives the following information:

An OUT instruction (any data) to port 0x201 starts four one-shot timers
whose time value is dependent on the value of four external resistors
(presumably pots attached to a joystick).  IN instructions from that
same port show the state of the one-shots and the game port switches
(there are four).

Bit     Description        Pin

 0      One shot output    n/a
 1      One shot output    n/a
 2      One shot output    n/a
 3      One shot output    n/a
 4      Switch #1 in        2
 5      Switch #2 in        7
 6      Switch #3 in       10
 7      Switch #4 in       14

The pinout is as follows

Pin #1 is +5V
Pin #2 is switch 1 (ground to turn ON, I think)
Pin #3 is the wiper of potentiometer #1 (other end should be on +5V)
Pin #4 is ground
Pin #5 is ground
Pin #6 is the wiper of potentiometer #2 (other end should be on +5V)
Pin #7 is switch 2 (ground to turn ON, I think)
Pin #8 is +5V
Pin #9 is +5V
Pin #10 is switch 3 (ground to turn ON, I think)
Pin #11 is the wiper of potentiometer #3 (other end should be on +5V)
Pin #12 is ground
Pin #13 is the wiper of potentiometer #4 (other end should be on +5V)
Pin #14 is switch 4 (ground to turn ON, I think)
Pin #15 is +5V

The potentiometers govern the (approximate) one-shot time by the formula

   time = 24.2 + 0.011 * (resistance)

Hope this helps.  By the way, this book is pretty good.
Technical Details
Message-ID: <1993Jan28.002214.6218@gallant.apple.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!amdahl!rtech!pacbell.com!ames!agate!apple!mumbo.apple.com!gallant.apple.com!apple.com!alan
References: <jeremym.727842907@sfu.ca>

Show Full Headers
Complete Article Headers
Newsgroups: sci.electronics
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!amdahl!rtech!pacbell.com!ames!agate!apple!mumbo.apple.com!gallant.apple.com!apple.com!alan
From: alan@apple.com (Alan Mimms)
Subject: Re: Pinouts for 15-pin IBM GamePort?
Sender: news@gallant.apple.com
Message-ID: <1993Jan28.002214.6218@gallant.apple.com>
Date: Thu, 28 Jan 1993 00:22:14 GMT
References: <jeremym.727842907@sfu.ca>
Organization: Apple Computer, Inc.
Lines: 55