Prev: 54089 Up: Map Next: 54122
54094: Routine at D34E
Used by the routines at 40042, 41565, 51497, 53815 and 56428.
54094 EXX Switch to the shadow registers.
54095 LD E,3 E=3.
This entry point is used by the routine at 54089.
54097 PUSH IX HL=IX (using the stack).
54099 POP HL
54100 LD B,A B=A.
54101 LD D,0 D=0.
54103 LD A,(HL) A=*HL.
54104 CP B Jump to 54115 if A is equal to B.
54105 JR Z,54115
54107 CP 255 Jump to 54115 if A is equal to 255.
54109 JR Z,54115
54111 ADD HL,DE HL+=DE.
54112 JP 54103 Jump to 54103.
54115 PUSH HL IX=HL (using the stack).
54116 POP IX
54118 CP 255 Compare A with 255.
54120 EXX Switch back to the normal registers.
54121 RET Return.
Prev: 54089 Up: Map Next: 54122