
Digital joystick switches are of the normally open type. When the switches are pressed,
the input line is shorted to ground. An open switch reads as "1", a closed switch as "0".
Reading the joystick input data logic states is not so simple, however, because the data
registers for the joysticks are the same as the counters that are used for the mouse or
trackball controllers.
The joystick registers are named JOY0DAT and JOY1DAT.
Table 8-2 shows how to interpret the data once you have read it from these registers. The
true logic state of the switch data in these registers is "1 = switch closed."
_________________
This is the \ 1 2 3 4 5 /
way the pins \ 6 7 8 9 /
are numbered! \___________/
_________________ _________________
PORT 1 \ o o o o o / PORT 2 \ o o o o o /
(mouse) \| o| o| o| o / \ o o o o /
|__|__|__|__/ \___________/
| | | |
| | | | JOY1DAT
| | | | DFF00C
| | | | is wired similary
| | | |
| | | |________________
| |__|_________________ |
|__ | | |
| | _______|_|
_________|__| | | |
| | | | | |
| \-----/ | \-----/
__|__ |
\ / \-----/ __|__ \-----/
\ / | | \ / | |
V | | \ / | |
| \___/ V \___/
|____ | | |
| | | __|
| | | |
_______|______|__________|______|______________
| | |
| MOUSE 0 | MOUSE 0 |
| Y Counter | X Counter |
| | |
|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|__|
Figure 8-2-1: Mouse Counters.
- Interface Hardware 227 -
Содержание Amiga A1000
Страница 1: ...AMIGA HARDWARE REFERENCE MANUAL 1992 Commodore Business Machines Amiga 1200 PAL...
Страница 20: ...Figure 1 1 Block Diagram for the Amiga Computer Family Introduction 11...
Страница 21: ...12 Introduction...
Страница 72: ...Figure 3 12 A dual Playfield display Playfield Hardware 63...
Страница 87: ...Figure 3 24 Horizontal Scrolling 78 playfield hardware...
Страница 101: ...92 Playfield Hardware...
Страница 199: ...Figure 6 9 DMA time slot allocation 190 Blitter hardware...
Страница 203: ...Figure 6 13 Blitter Block Diagram 194 Blitter Hardware...
Страница 229: ...220 System Control Hardware...
Страница 246: ...Figure 8 8 Chinon Timing diagram cont Interface Hardware 237...
Страница 265: ...256 Interface Hardware...
Страница 289: ...280 Appendix A...
Страница 297: ...288 Appendix B...
Страница 298: ...APPENDIX C CUSTOM CHIP PIN ALLOCATION LIST NOTE Means an active low signal Appendix C 289...
Страница 302: ...APPENDIX D SYSTEM MEMORY MAP Appendix D 293...
Страница 343: ...334 Appendix F...
Страница 351: ...342 Appendix G...
Страница 361: ...352 Appendix H...
Страница 367: ...358 Appendix I...