Prev: 894D Up: Map Next: 89DC
89AF: Display Warning
Used by the routines at 891F and ExitCheck.
Input
SP Stack holds pointer to warning string.
DisplayWarning 89AF PUSH IX
89B1 LD DE,Attr_WarningText Clear text area.
89B4 LD HL,Zeros
89B7 LD BC,$000A
89BA LDIR
89BC LD DE,$0005
89BF LD HL,$02BC
89C2 CALL $03B5
89C5 LD A,$2D Start timer.
89C7 LD (WarningTimer_E006),A
89CA CALL Vector_PrintString Position cursor and set up text colours.
89CD LD D,$01
89CF LD B,$11
89D1 NOP
89D2 DJNZ DisplayWarning_0
89D4 INC DE
89D5 LD BC,$DD5E
89D7 POP IX
DisplayWarning_0 89D9 JP Vector_PrintString Display warning using next stack data as string address.
Prev: 894D Up: Map Next: 89DC