Prev: 42932 Up: Map Next: 42986
42960: Routine at A7D0
Used by the routines at 43022, 54248 and 54277.
42960 XOR A Write 0 to *42986.
42961 LD (42986),A
42964 BIT 7,D Jump to 42987 if bit 7 of D is not set.
42966 JR Z,42987
42968 LD A,E A=E.
42969 LD HL,2542 HL=2542.
42972 CP L Jump to 42980 if A is not equal to L.
42973 JR NZ,42980
42975 LD A,D A=D.
42976 AND %00001111 Keep only bits 0-3.
42978 CP H Return if A is equal to H.
42979 RET Z
42980 LD A,1 Write 1 to *42986.
42982 LD (42986),A
42985 RET Return.
Prev: 42932 Up: Map Next: 42986