Prev: 45858 Up: Map Next: 45964
45940: Draw Trashman Sprite
Used by the routines at PlaceTrashman and 46154.
Calculate Trashmans sprite graphics pointer.
DrawTrashmanSprite 45940 LD L,(IX+5) L=*IX+5.
45943 LD A,(IX+6) A=*IX+6.
45946 AND %00000011 Keep only bits 0-1.
45948 OR %00111000 Set bits 3-5 to add the graphics address base.
45950 LD H,A
45951 ADD HL,HL Double the value in HL.
45952 LD E,(IX+1) Load Trashmans screen address into DE.
45955 LD D,(IX+2)
45958 LD C,(IX+3) Set the sprite height/ width in BC.
45961 LD B,(IX+4)
Continue on to Copier_Pixels.
Prev: 45858 Up: Map Next: 45964