The PropJoy allows Atari™ style
joysticks to be plugged into the 2 supplied connectors. This provides
an easy
connection to SpinStudio or a modified Protoboard. This along with
the Audio/Video adapter will allow you to play some of the games
currently available on the Parallax™ forums.
Assembly

- Start by inserting the 2 ICs (labeled as red "A"s in the picture above) into the top side of the PCB(the
side with white silkscreened legend). Match the indexing notch with the
silkscreen image on the PCB. The legs of the chip may need to be bent
inward slightly to seat properly into the holes in the board. Carefully
turn the board over and solder the chips in place.
- Next insert the Resistor Networks (labeled as yellow "A"s in the picture above) from the top side of the
PCB. These are polarized!
Be careful to match the indexing dot above pin 1 and the end labeled 1
on the silkscreen. Carefully turn the board over and solder in
place.
- It's
time to
insert the joystick connectors (labeled as green "A"s in the picture
above) from the top of the PCB and solder in place. Ignore the pin
numbering on the silkscreen. Just insert the connectors from the top of
the board.
-
Now install the 20 pin SpinStudio connector in the position marked with
a Green B. Note - This
component is inserted from the bottom of the board, and soldered on the
top, opposite of the other components! You
may want to solder 1 pin first, check to be sure the connector is
positioned snuggly against the bottom of the circuit board before
soldering the remaining 19 pins. Also you may want to turn the circuit
board while soldering, to "attack" the pins in each row from a
different angle.
Now your PropJoy is ready for use!
Using
the PropJoy joystick adapter with SpinStudio
or Modified Proto Board
The
20 pin female header provides the following connections when
plugged
into Socket A on a SpinStudio Mainboard. Socket A is the prefered
location for the PropJoy Joystick Adapter to provide compatibility with
existing
code that utilitizes P3-P6 as the default interface pins. A
Socket A can also be easily added to a Parallax ProtoBoard using the
simple steps in the Propeller Cookbook, with is hosted in the Tutorials
section of this website.
| PropJoy | Propeller
Pins |
| Common Clock | P3 |
| Common Latch | P4 |
| Player 1 Data | P5 |
| Player 2 Data | P6 |
The Bitmasks for the various inputs from a standard Atari one button Joystick are as follows:
| Input | Bitmask |
| Right | 00001000 |
| Left | 00000100 |
| Down | 00000010 |
| Up | 00000001 |
| Fire | 00100000 |
More
Bitmasks will be added to this documentation as other joysticks are
tested. If help is needed in modifying a games source code to use the
PropJoy Adapter, let me know and I can help with the modifications
needed to run on SpinStudio.