[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Joystick Woes



Kris Jones writes ...
> 
> My Apple IIe/IIc joystick is broken.
> 
> The buttons don't work. I need three things:
> 
> A schematic of the insides, a pinout of the db-9 connector,


Buttons

     On the Apple II stick (see below), each button switch goes to +5V.
The other end goes to GND through a resistor (one resistor for each
button).  A button's Output is from the junction of the switch and its
resistor. When the button switch is not closed, its Output is near 0V
(=logic 0).  Pressing a button sends +5V to the output (= logic 1). 

  +5V 
  | 
  | 
  X Button Switch 
  | 
  |_____Button output to Apple (Press => "1") 
  | 
  Z 
  Z 680 Ohm resistor 
  Z 
  | 
  GND 



Paddles

     Each paddle connects between +5V and the output to the Apple.


  +5V 
  | 
  | 
  Z/
  /  150k variable resistor 
 /Z 
  |
  |_____Paddle output to Apple



Apple Game Port (9-pin connector):



Pinout

Dsub-9 Female Socket (on computer)
  ,---------------------.
  \  5   4   3   2   1  /
   \   9   8   7   6   /
    `-----------------'

Pin 1 - Pushbutton 1
Pin 2 - +5V Power
Pin 3 - Ground
Pin 4 - Game Control 2 or PDL2 (Joystick-2 X-axis)*
Pin 5 - Game Control 0 or PDL0 (Joystick-1 X-axis)
Pin 6 - Pushbutton 2*
Pin 7 - Pushbutton 0 (usually the "Fire" button)
Pin 8 - Game Control 1 or PDL1 (Joystick-1 Y-axis)
Pin 9 - Game Control 3 or PDL3 (Joystick-2 Y-axis)*

* Note: These functions are not available on the //c or IIc+.



> and maybe, if it exists, a program that shows when the buttons are
> pressed and when the joystick
> is pushed.
 ....

     There's a joystick checker program which shows button presses on the
TNILUTIL disk (available as a .sdk and .dsk file on Ground, ACN Florida, and
ACN Tarnover:

ftp://ground.ecn.uiowa.edu/apple2/useful.stuff/Disks/ 
ftp://tarnover.dyndns.org/cabi/Utilities/  and ... Applications/Telcom/ 
ftp://24.96.48.134:6502/Cabi_Archives/Utilities/ and  Applications/Telcom/



Rubywand