Prev: B4EC Up: Map Next: B643
B61C: Routine at B61C
Used by the routines at 926B and 93F8.
B61C PUSH HL Stash HL on the stack.
B61D CALL PrintLine_8 Call PrintLine_8.
B620 LD A,(DE) A=*DE.
B621 LD ($B633),A Write A to *B633.
B624 ADD A,$1E A+=1E.
B626 CPL Invert the bits in A.
B627 LD ($B63B),A Write A to *B63B.
B62A INC DE Increment DE by one.
B62B LD A,(DE) A=*DE.
B62C LD C,A C=A.
B62D INC DE Increment DE by one.
B62E LD A,(DE) A=*DE.
B62F LD ($B635),A Write A to *B635.
B632 LD B,$00 B=00.
B634 LD (HL),$00 Write 00 to *HL.
B636 INC L Increment L by one.
B637 DJNZ $B634 Decrease counter by one and loop back to B634 until counter is zero.
B639 DEC L Decrease L by one.
B63A LD DE,$FF00 DE=FF00.
B63D ADD HL,DE HL+=DE.
B63E DEC C Decrease C by one.
B63F JR NZ,$B632 Jump to B632 until C is zero.
B641 POP HL Restore HL from the stack.
B642 RET Return.
Prev: B4EC Up: Map Next: B643