Prev: 98CC Up: Map Next: 992A
9903: Control Code 02:
ControlCode_02 9903 PUSH DE Stash DE and BC on the stack.
9904 PUSH BC
9905 LD HL,$5800 HL=5800 (attribute buffer location).
9908 LD DE,$5801 DE=5801.
990B LD BC,$02FF BC=02FF.
990E HALT Halt operation (suspend CPU until the next interrupt).
990F LD (HL),$00 Write 00 to *HL.
9911 LDIR LDIR.
9913 LD B,$C0 B=C0.
9915 LD HL,$4000 HL=4000.
ControlCode_02_0 9918 LD C,L C=L.
9919 LD A,$20 A=20.
ControlCode_02_1 991B LD (HL),$00 Write 00 to *HL.
991D INC L Increment L by one.
991E DEC A Decrease A by one.
991F JR NZ,ControlCode_02_1 Jump to ControlCode_02_1 if A is not equal to 20.
9921 LD L,C L=C.
9922 CALL NextScreenBufferLine Call NextScreenBufferLine.
9925 DJNZ ControlCode_02_0 Decrease counter by one and loop back to ControlCode_02_0 until counter is zero.
9927 JP $995B Jump to 995B.
Prev: 98CC Up: Map Next: 992A