Prev: 44927 Up: Map Next: 45053
45032: Print a message centred across the entire screen
Used by the routines at 26784, 45288, 45544, 46070, 47080, 61152 and 64073.
Input
DE Display file address
HL Message address
45032 EX DE,HL Now DE=message address, HL=display file address
45033 PUSH HL Save the display file address
45034 CALL 45682 Prepare the message in the buffer at 23296
45037 POP DE Restore the display file address to DE
45038 LD HL,23296 Transfer the message from the buffer to the screen
45041 LD C,32
45043 PUSH DE
45044 LDIR
45046 POP DE
45047 INC D
45048 BIT 1,H
45050 JR NZ,45041
45052 RET
Prev: 44927 Up: Map Next: 45053