
READING A LIGHT PEN
A light pen can be connected to one of the controller ports. On the A1000, the light pen
must be connected to port 1. Changing ports requires a minor internal modification. On
the A500 and A2000 the default is port 2. An internal jumper can select port 1. Regardless
of the port used, the light pen design is the same.
The signal called "pen-pressed-to-screen" is typically actuated by a switch in the nose of
the light pen. Note that this switch is connected to one of the potentiometer inputs and
must be read as same as the right or middle button on a mouse.
The principles of light pen operation are as follows:
1. Just as the system exits vertical blank, the capture circuitry for the light pen is
automatically enabled.
2. The video beam starts to create the picture, sweeping from left to right for each
horizontal line as it paints the picture from the top of the screen to the bottom.
3. The sensors in the light pen see a pulse of light as the video beam passes by. The pen
converts this light pulse into an electrical pulse on the "Beam Trigger" line (pin 6).
4. This trigger signal tells the internal circuitry to capture and save the current contents of
the beam register, VPOSR. This allows you to determine where the pen was placed by
reading the exact horizontal and vertical value of the counter beam at the instant the
beam passed the light pen.
- 232 Interface Hardware -
Содержание 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...