Prev: 56385 Up: Map Next: 56403
56396: Draw/erase graphics - draw graphic bytes
Used by the routine at 56309.
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 56362
HL Screen display address to draw byte
Draws graphic bytes on screen, combining with any existing screen background bytes
56396 LD A,D Get first graphic byte
56397 OR (HL) OR with existing screen byte, preserve any background graphics
56398 LD (HL),A ...and draw back on screen.
56399 INC HL Move right one character square
56400 LD A,E Get second graphic byte
56401 OR (HL) OR with existing graphic byte on screen
56402 LD (HL),A ...and draw back on screen.
Prev: 56385 Up: Map Next: 56403