Prev: 45928 Up: Map Next: 45951
45937: Prepare a message in the message graphic buffer (2)
Continues from 45682. Generates the graphic data for the text of the message and centres it in the buffer at 23296.
Input
C 254
DE Message address
45937 CALL 44776 Slide the message text into the graphic buffer
45940 SRL C Halve the number of remaining pixel columns and add one
45942 INC C
45943 XOR A Insert this number of blank pixel columns, thus centring the message
45944 CALL 44520
45947 DEC C
45948 JR NZ,45943
45950 RET
Prev: 45928 Up: Map Next: 45951