[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: //c (&clone) game port (?)
- Subject: Re: //c (&clone) game port (?)
- From: nathan@cco.caltech.edu (Nathan Mates)
- Date: 9 Oct 1994 23:07:15 GMT
- Newsgroups: comp.sys.apple2
- Organization: California Institute of Technology, Pasadena
- References: <1994Oct9.174251@aspen>
In article <1994Oct9.174251@aspen>, Paul Neubauer <neubauer@uwplatt.edu> wrote:
> Is it possible to use the mouse port on a //c or clone as a game port
>such as on the ][, ][+, //e ? I have set a simple control system using
>the game port on a ][+ and a friend (with no net access) wants to do the
>same with a Laser 128.
> If this is possible what is the pinout of the connector? We would be
>using both the pushbutton sensors and the annunciators.
The original connector was 16 pins, all of them used. The game port
is only 9 pins, and they aren't multiplexed, so some signals are no
longer supported. Joysticks can be plugged into that port, with the
following connections:
1 2 3 4 5
6 7 8 9 (when looking at the connector directly)
The pins are:
1) PB0 Button 0 in
2) +5V 5 volt output
3) GND Ground
4) PDL2 Paddle 2 input
5) PDL0 Paddle 0 in
6) PB2 Button 2 in
7) PB1 Button 1 in
8) PDL1 Paddle 1 in
9) PDL3 Paddle 3 in
Where Paddles 0/1 are the x & y of the primary joystick, 2/3 of
the secondary (were there ever many games or joysticks which actually
supported such a thing?) joystick. Button 0 corresponds to the open
apple key, 1 the closed apple, and button 2 was for the secondary
joystick.
So to answer your question, since there are no annucators on the
//c input (this connector is also on the //e and IIGS), you couldn't
use it as an output device. It could receive input on the 3 button
inputs, as long as the user didn't touch the oa/ca keys, or the
joystick inputs if you didn't mind paying a big speed penalty.
Nathan Mates
--
* Nathan Mates http://www.ugcs.caltech.edu/~nathan/ *
* Ftp humor archiver: ftp to cco.caltech.edu, look in pub/humor *
* "Always listen to experts. They'll tell what can't be done, and *
* why. Then do it." -- Robert A. Heinlein, Lazarus Long *