![]()  | 
Routines | 
| Prev: C190 | Up: Map | Next: C1C0 | 
| 
 
Used by the routine at Handler_DateBar.
 
  | 
||||||||||
| PrintDateBar | C1A8 | LD DE,$5041 | Set the screen buffer position in HL (5041). | |||||||
| C1AB | EX DE,HL | DE=Pointer to date bar messaging string. | ||||||||
| C1AC | LD C,$00 | C=00. | ||||||||
| 
 
Print a "SPACE" before the date string.
 
 | 
||||||||||
| C1AE | LD A,$20 | Load ASCII "SPACE" (20) into A. | ||||||||
| C1B0 | CALL PrintCharacter | Call PrintCharacter. | ||||||||
| 
 
Loop through the date messaging string and output it to the screen.
 
 | 
||||||||||
| PrintDateBar_Loop | C1B3 | LD A,(DE) | Fetch a character from *DE and store it in A. | |||||||
| C1B4 | CALL PrintCharacter | Call PrintCharacter. | ||||||||
| C1B7 | INC DE | Move to the next character of the message. | ||||||||
| C1B8 | DJNZ PrintDateBar_Loop | Decrease the string length counter by one and loop back to PrintDateBar_Loop until the whole of the date bar has been printed to the screen. | ||||||||
| 
 
Print a "SPACE" after the date string.
 
 | 
||||||||||
| C1BA | LD A,$20 | Load ASCII "SPACE" (20) into A. | ||||||||
| C1BC | CALL PrintCharacter | Call PrintCharacter. | ||||||||
| C1BF | RET | Return. | ||||||||
| Prev: C190 | Up: Map | Next: C1C0 |