Prev: C1FB Up: Map Next: C240
C1FC: Routine at C1FC
Used by the routine at C1E1.
C1FC POP AF Restore AF from the stack.
This entry point is used by the routines at C1C0 and PrintString.
C1FD PUSH HL Stash HL, BC and AF on the stack.
C1FE PUSH BC
C1FF PUSH AF
C200 LD A,($C1FB) C=*C1FB.
C203 LD C,A
C204 POP AF Restore AF from the stack.
C205 PUSH AF Stash AF on the stack.
C206 LD HL,($C1F6) HL=*DecorativeLine_ScreenPosition.
C209 CP $0D Jump to C214 if A is not equal to 0D.
C20B JR NZ,$C214
C20D LD A,$20 A=20.
This entry point is used by the routine at DC6C.
C20F CALL PrintCharacter Call PrintCharacter.
C212 JR $C224 Jump to C224.
C214 CP $08 Jump to C249 if A is equal to 08.
C216 JR Z,$C249
C218 CALL ValidateKeypress Call ValidateKeypress.
C21B CALL PrintCharacter Call PrintCharacter.
C21E LD A,($C1F4) A=*DecorativeLine_Width.
C221 DEC A Decrease A by one.
C222 JR NZ,$C22D Jump to C22D if A is not equal to 08.
C224 LD L,$E0 L=E0.
C226 LD C,$02 C=02.
C228 CALL $C271 Call C271.
C22B LD A,$24 A=24.
This entry point is used by the routine at C249.
C22D LD ($C1F4),A Write A to *DecorativeLine_Width.
C230 LD A,C Write C to *C1FB.
C231 LD ($C1FB),A
C234 LD ($C1F6),HL Write HL to *DecorativeLine_ScreenPosition.
C237 LD A,$2B Load A with ASCII code 2B ("+").
C239 CALL PrintCharacter Call PrintCharacter.
C23C POP AF Restore AF, BC and HL from the stack.
C23D POP BC
C23E POP HL
C23F RET Return.
Prev: C1FB Up: Map Next: C240