Prev: AF7F Up: Map Next: AFFD
AFE8: Print a message centred across the entire screen
Used by the routines at 68A0, B0E8, B1E8, B3F6, B7E8, EEE0 and FA49.
Input
DE Display file address
HL Message address
AFE8 EX DE,HL Now DE=message address, HL=display file address
AFE9 PUSH HL Save the display file address
AFEA CALL $B272 Prepare the message in the buffer at 5B00
AFED POP DE Restore the display file address to DE
AFEE LD HL,$5B00 Transfer the message from the buffer to the screen
AFF1 LD C,$20
AFF3 PUSH DE
AFF4 LDIR
AFF6 POP DE
AFF7 INC D
AFF8 BIT 1,H
AFFA JR NZ,$AFF1
AFFC RET
Prev: AF7F Up: Map Next: AFFD