![]() |
Routines |
| Prev: CB5C | Up: Map | Next: CB77 |
|
Sets all of the attributes of the screen to a colour, and sets the byte after them.
|
||||||||
| FillAttributes | CB6A | LD HL,$5800 | Start at the first attribute. | |||||
| CB6D | LD DE,$5801 | Move on to the next attribute. | ||||||
| CB70 | LD BC,$0300 | Set the number of bytes to copy, which is the number of attributes. | ||||||
| CB73 | LD (HL),A | Set the first attribute. | ||||||
| CB74 | LDIR | Copy it through the rest. | ||||||
| CB76 | RET | Return. | ||||||
| Prev: CB5C | Up: Map | Next: CB77 |