Prev: B368 Up: Map Next: B37F
B371: Prepare a message in the message graphic buffer (2)
Continues from B272. Generates the graphic data for the text of the message and centres it in the buffer at 5B00.
Input
C 0xFE
DE Message address
B371 CALL $AEE8 Slide the message text into the graphic buffer
B374 SRL C Halve the number of remaining pixel columns and add one
B376 INC C
B377 XOR A Insert this number of blank pixel columns, thus centring the message
B378 CALL $ADE8
B37B DEC C
B37C JR NZ,$B377
B37E RET
Prev: B368 Up: Map Next: B37F