![]() |
Unused |
| Prev: 24576 | Up: Map | Next: 24731 |
| 24699 | SET 7,E | Point DE at the attribute byte for the skool coordinates (X,Y) |
| 24701 | LD A,(DE) | Pick the attribute byte up in A |
| 24702 | RES 7,E | Restore the skool coordinates (X,Y) to DE |
| 24704 | EXX | |
| 24705 | LD (HL),A | Poke the attribute byte onto the screen |
| 24706 | LD A,C | |
| 24707 | ADD A,E | |
| 24708 | LD E,A | |
| 24709 | JR C,24715 | |
| 24711 | LD A,D | |
| 24712 | SUB 8 | |
| 24714 | LD D,A | |
| 24715 | ADD HL,BC | |
| 24716 | EXX | |
| 24717 | EX DE,HL | |
| 24718 | INC H | |
| 24719 | DEC C | One more row done |
| 24720 | POP DE | |
| 24721 | JR NZ,24683 | Jump back until all 21 rows are done |
| 24723 | RET | |
| 24724 | DEFS 7 |
| Prev: 24576 | Up: Map | Next: 24731 |