Prev: 58572 Up: Map Next: 58782
58751: Clear Buffer
Clears the screen buffer, by pushing zeroes on the stack.
ClearBuffer 58751 LD (23770),SP Remember the stack pointer.
58755 LD SP,61883 The stack starts just past the screen buffer.
58758 LD B,128 There are 128 rows.
58760 LD DE,0 The fill value is zero.
ClearBuffer_Row 58763 PUSH DE Fill one row with zero.
58764 PUSH DE
58765 PUSH DE
58766 PUSH DE
58767 PUSH DE
58768 PUSH DE
58769 PUSH DE
58770 PUSH DE
58771 PUSH DE
58772 PUSH DE
58773 PUSH DE
58774 PUSH DE
58775 DJNZ ClearBuffer_Row The next row.
58777 LD SP,(23770) Bring the stack pointer back.
58781 RET Return.
Prev: 58572 Up: Map Next: 58782