![]()  | 
Routines | 
| Prev: 49552 | Up: Map | Next: 49600 | 
| 
 
Used by the routine at Handler_DateBar.
 
  | 
||||||||||
| PrintDateBar | 49576 | LD DE,20545 | Set the screen buffer position in HL (20545). | |||||||
| 49579 | EX DE,HL | DE=Pointer to date bar messaging string. | ||||||||
| 49580 | LD C,0 | C=0. | ||||||||
| 
 
Print a "SPACE" before the date string.
 
 | 
||||||||||
| 49582 | LD A,32 | Load ASCII "SPACE" (32) into A. | ||||||||
| 49584 | CALL PrintCharacter | Call PrintCharacter. | ||||||||
| 
 
Loop through the date messaging string and output it to the screen.
 
 | 
||||||||||
| PrintDateBar_Loop | 49587 | LD A,(DE) | Fetch a character from *DE and store it in A. | |||||||
| 49588 | CALL PrintCharacter | Call PrintCharacter. | ||||||||
| 49591 | INC DE | Move to the next character of the message. | ||||||||
| 49592 | 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.
 
 | 
||||||||||
| 49594 | LD A,32 | Load ASCII "SPACE" (32) into A. | ||||||||
| 49596 | CALL PrintCharacter | Call PrintCharacter. | ||||||||
| 49599 | RET | Return. | ||||||||
| Prev: 49552 | Up: Map | Next: 49600 |