![]() |
Routines |
| Prev: 55844 | Up: Map | Next: 55932 |
|
Used by the routines at 35264 and Handler_Messaging.
|
||||||||
| ColouriseBackground | 55917 | LD HL,(28098) | Load HL with MessagingArea. | |||||
| 55920 | PUSH HL | Stash this address on the stack. | ||||||
| 55921 | LD B,64 | Set a counter of 64 which will set two rows of character blocks (messaging is double-height, so this is a single message). | ||||||
| 55923 | LD A,(28069) | Load A with CurrentTextAttribute. | ||||||
| ColouriseBackground_Loop | 55926 | LD (HL),A | Write A to the address held by the attribute buffer pointer. | |||||
| 55927 | INC HL | Increment the attribute buffer pointer by one. | ||||||
| 55928 | DJNZ ColouriseBackground_Loop | Decrease the counter by one and keep looping back to ColouriseBackground_Loop until the counter is zero. | ||||||
| 55930 | POP HL | Restore HL from the stack. | ||||||
| 55931 | RET | Return. | ||||||
| Prev: 55844 | Up: Map | Next: 55932 |