Prev: DC41 Up: Map Next: DC53
DC4C: Draw/erase graphics - draw graphic bytes
Used by the routine at DBF5.
Input
DE Two graphic bytes to draw - these were originally a single graphics byte whose bits have been rotated into two by the previous routine at DC2A
HL Screen display address to draw byte
Draws graphic bytes on screen, combining with any existing screen background bytes
DC4C LD A,D Get first graphic byte
DC4D OR (HL) OR with existing screen byte, preserve any background graphics
DC4E LD (HL),A ...and draw back on screen.
DC4F INC HL Move right one character square
DC50 LD A,E Get second graphic byte
DC51 OR (HL) OR with existing graphic byte on screen
DC52 LD (HL),A ...and draw back on screen.
Prev: DC41 Up: Map Next: DC53