
Table 8-3: Interpreting Data from JOY0DAT and JOY1DAT
Data Bit Interpretation
1 True logic state of "right" switch.
9 True logic state of "left" switch.
1 (XOR) 0 You must calculate the exclusive-or of bits 1 and 0
to obtain the logic state of the "back" switch.
9 (XOR) 8 You must calculate the exclusive-or of bits 9 and 8
to obtain the logic state of the "forward" switch.
The fire buttons for ports 0 and 1 are connected to bits 6 and 7 of CIAAPRA ($BFE001). A
0 here indicates the switch is closed.
Some, but not all, joysticks have a second button. We encourage the use of this button if
the function the button controls is duplicated via the keyboard or another mechanism.
This button may be read in the same manner as the right mouse button.
READING PROPORTIONAL CONTROLLERS
Each of the game controller ports can handle two variable-resistance input devices, also
known as proportional input devices. This section describes how the positions of the
proportional input devices can be determined. There are two common types of
proportional controllers: the "paddle" controller pair and the X-Y proportional joystick. A
paddle controller pair consists of two individual enclosures, each containing a single
resistor and fire-button and each connected to a common controller port input connector.
Typical connections are shown in Figure 8-3.
- 228 Interface Hardware -
Summary of Contents for Amiga A1000
Page 1: ...AMIGA HARDWARE REFERENCE MANUAL 1992 Commodore Business Machines Amiga 1200 PAL...
Page 20: ...Figure 1 1 Block Diagram for the Amiga Computer Family Introduction 11...
Page 21: ...12 Introduction...
Page 72: ...Figure 3 12 A dual Playfield display Playfield Hardware 63...
Page 87: ...Figure 3 24 Horizontal Scrolling 78 playfield hardware...
Page 101: ...92 Playfield Hardware...
Page 199: ...Figure 6 9 DMA time slot allocation 190 Blitter hardware...
Page 203: ...Figure 6 13 Blitter Block Diagram 194 Blitter Hardware...
Page 229: ...220 System Control Hardware...
Page 246: ...Figure 8 8 Chinon Timing diagram cont Interface Hardware 237...
Page 265: ...256 Interface Hardware...
Page 289: ...280 Appendix A...
Page 297: ...288 Appendix B...
Page 298: ...APPENDIX C CUSTOM CHIP PIN ALLOCATION LIST NOTE Means an active low signal Appendix C 289...
Page 302: ...APPENDIX D SYSTEM MEMORY MAP Appendix D 293...
Page 343: ...334 Appendix F...
Page 351: ...342 Appendix G...
Page 361: ...352 Appendix H...
Page 367: ...358 Appendix I...