Prev: 9837 Up: Map Next: 9862
984B: Routine at 984B
984B LD HL,$F81E HL=F81E.
984E LD A,(HL) A=*HL.
984F AND %11000111 Keep only bits 0-2, 6-7.
9851 LD (HL),A Write A to *HL.
9852 LD A,($F80C) A=*F80C.
9855 CP $08 Jump to ControlCode_04 if A is greater than 08.
9857 JP NC,ControlCode_04
985A ADD A,A Multiply A by 08.
985B ADD A,A
985C ADD A,A
985D OR (HL) Set the bits from *HL.
985E LD (HL),A Write A to *HL.
985F JP $995D Jump to 995D.
Prev: 9837 Up: Map Next: 9862