
Table 3-3: Contents of the Color Registers
Bits
Bits 15 -12 Unused
Bits 11 - 8 Red
Bits 7 - 4 Green
Bits 3 - 0 Blue
Table 3-4 shows some sample color register bit assignments and the resulting colors. At
the end of the chapter is a more extensive list.
Table 3-4: Sample Color Register Contents
Contents of the Resulting
Color Register Color
$fff White
$6fe Sky blue
$db9 Tan
$000 Black
Some sample instructions for loading color registers are shown below:
LEA CUSTOM,a0 ; Get base address of custom hardware...
MOVE.W #$FFF,COLOR00(a0) ; Load white into color register 0
MOVE.W #$6FE,COLOR01(a0) ; Load sky blue into color register 1
NOTE
The color registers are write-only. Only by looking at the screen can you find out the
contents of each color register. As a standard practice, then, for these and certain other
write-only registers, you may wish to keep a "back-up" RAM copy. As you write to the
color register itself, you should update this RAM copy. If you do so, you will always know
the value each register contains.
SELECTING THE NUMBER OF BIT-PLANES
After deciding how many colors you want and how many bit-planes are required to give
you those colors, you tell the system how many bit-planes to use.
- Playfield Hardware 41 -
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...