Prev: C1D8 Up: Map Next: C1F4
C1E1: Check TV Flag And Process
Used by the routines at Print_Character and Print_Character_ProcessCharacter.
Checks the television flag and prints the character when the print mode is on.
CheckTVFlagAndProcess C1E1 PUSH AF Keep it.
C1E2 LD A,($5C3C) Jump to CheckTVFlagAndProcess_0 if *TV_FLAG is not zero.
C1E5 AND A
C1E6 JR NZ,CheckTVFlagAndProcess_0
C1E8 POP AF Restore AF from the stack.
C1E9 RET Return.
Read the print mode.
CheckTVFlagAndProcess_0 C1EA LD A,($A027) Go to ProcessCharacterInput if print mode is on.
C1ED AND A
C1EE JR NZ,ProcessCharacterInput
C1F0 POP AF Restore the saved result from the stack.
C1F1 JP ProcessScreenCharacter Jump ahead to ProcessScreenCharacter to run screen character.
Prev: C1D8 Up: Map Next: C1F4