Prev: B902 Up: Map Next: B951
B931: Clear the top status bar
Used by the routine at E3FD.
B931 PUSH HL Preserve main registers.
B932 PUSH BC
B933 PUSH DE
B934 LD IX,$81F8 Point IX at the table for status bar screen offsets.
B938 LD C,$20 20 rows to clear.
B93A LD L,(IX+$00) Put the address in HL.
B93D LD H,(IX+$01)
B940 LD B,$20 Clear the next row.
B942 LD (HL),$00
B944 INC HL
B945 DJNZ $B942
B947 INC IX Move to the next place in the table.
B949 INC IX
B94B DEC C Loop while there are more rows to handle.
B94C JR NZ,$B93A
B94E JP $B92D Jump back to restore main registers and return.
Prev: B902 Up: Map Next: B951