![]() |
Routines |
| Prev: 9A66 | Up: Map | Next: 9A7E |
|
Used by the routines at ShowTitleScreen and RunGame.
Sets every attribute on the screen to bright white ink on black.
|
||||
| FillAttributesWhite | 9A72 | LD HL,$5800 | Use the first attribute. | |
| FillAttributesWhite_Loop | 9A75 | LD (HL),$47 | Write the attribute. | |
| 9A77 | INC HL | Move on to the next one. | ||
| 9A78 | LD A,H | Fetch the high byte of the address. | ||
| 9A79 | CP $5B | Jump back to FillAttributesWhite_Loop if all of the attributes have not been written. | ||
| 9A7B | JR NZ,FillAttributesWhite_Loop | |||
| 9A7D | RET | Return. | ||
| Prev: 9A66 | Up: Map | Next: 9A7E |