
_____________ _____________
| | | | | | | | _____________________\ | | | | | | | |
|_|_|_|_|_|_|_| / |_|_|_|_|_|_|_|
Mem. Location N Mem. location N+38
_____________ _____________
| | | | | | | | _____________________\ | | | | | | | |
|_|_|_|_|_|_|_| / |_|_|_|_|_|_|_|
Mem. Location N+40 | Mem. location N+78
|
|
|
|
_____________ \|/ _____________
| | | | | | | | ___________V_________\ | | | | | | | |
|_|_|_|_|_|_|_| / |_|_|_|_|_|_|_|
Mem. Location N+7960 Mem. location N+7998
Figure 3-7: Memory Organization for a Basic Bit-Plane
Access to bit-planes in memory is provided by two address registers, BPLxPTH and
BPLxPTL, for each bit-plane (12 registers in all). The "x" position in the name holds the
bit-plane number; for example BPL1PTH and BPL1PTL hold the starting address of PLANE
1. Pairs of registers with names ending in PTH and PTL contain 19-bit addresses. 68000
programmers may treat these as one 32-bit address and write to them as one long word.
You write to the high-order word, which is the register whose name ends in "PTH."
The example below shows how to set the bit-plane pointers. Assuming two
bit-planes, one at $21000 and the other at $25000, the processor sets
BPL1PT to $21000 and BPL2PT to $25000. Note that this is usually the
Copper's task.
;
; Since the bit plane pointer registers are mapped as a full 680x0 long-
; word data, we can store the addresses with a 32-bit move...
;
LEA CUSTOM,a0 ; Get base address of custom hardware...
MOVE.L $21000,BPL1PTH(a0) ; Write bit-plane 1 pointer
MOVE.L $25000,BPL2PTH(a0) ; Write bit-plane 2 pointer
Note that the memory requirements given here are for the playfield only. You may need
to allocate additional memory for other parts of the display, sprites, audio, animation and
for your application programs. Memory allocation for other parts of the display is
discussed in the chapters describing those topics.
- 48 Playfield 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...