Routines
| Prev: F490 | Up: Map | Next: F514 |
F50D: Is the pixel under the pen set? (NZ if so)
|
Through F5FB (the ROM's PIXEL-ADD).
|
||||||||||||||
| F50D | PUSH HL | Save HL on the stack - Is the pixel at the pen set? (NZ if so) | ||||||||||||
| F50E | CALL $F5FB | Call the routine "Find the screen byte and bit for the pen" (F5FB) | ||||||||||||
| F511 | AND (HL) | Keep only the bits of A that are set in the byte HL points at | ||||||||||||
| F512 | POP HL | Restore HL from the stack | ||||||||||||
| F513 | RET | Return to the caller | ||||||||||||
| Prev: F490 | Up: Map | Next: F514 |