
Sprite DMA channels can be reused several times within the same display field. Thus, you
are not limited to having only eight sprites on the screen at the same time.
ABOUT THIS CHAPTER
This chapter discusses the following topics:
o Defining the size, shape, color, and screen position of sprites.
o Displaying and moving sprites.
o Combining sprites for more complex images, additional width, or additional colors.
o Reusing a sprite DMA channel multiple times within a display field to create more than
eight sprites on the screen at one time.
FORMING A SPRITE
To form a sprite, you must first define it and then create a formal data structure in
memory. You define a sprite by specifying its characteristics:
o On-screen width of up to 16 pixels.
o Unlimited height.
o Any shape.
o A combination of three colors, plus transparent.
o Any position on the screen.
SCREEN POSITION
A sprite's screen position is defined as a set of X,Y coordinates. Position (0,0), where X =
0 and Y = 0, is the upper left-hand corner of the display. You define a sprite's location by
specifying the coordinates of its upper left-hand pixel. Sprite position is always defined as
though the display modes were low-resolution and non-interlaced. The X,Y coordinate
system and definition of a sprite's position are graphically represented in Figure 4-1.
Notice that because of display overscan, position (0,0) (that is, X = 0, Y = 0) is not
normally in a viewable region of the screen.
- 94 Sprite 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...