Prev: 51657 Up: Map Next: 51817
51735: Shift View Left Nibble
Shifts the screen buffer to the left by four pixels, by rotating the nibbles of each row.
ShiftViewLeftNibble 51735 LD B,128 Set the row count to 128.
51737 LD HL,61882 Point HL at the last byte of the screen buffer.
51740 XOR A Clear the nibble shifted in from the right.
ShiftViewLeftNibble_Loop 51741 RLD Shift the row four pixels to the left.
51743 DEC HL
51744 RLD
51746 DEC HL
51747 RLD
51749 DEC HL
51750 RLD
51752 DEC HL
51753 RLD
51755 DEC HL
51756 RLD
51758 DEC HL
51759 RLD
51761 DEC HL
51762 RLD
51764 DEC HL
51765 RLD
51767 DEC HL
51768 RLD
51770 DEC HL
51771 RLD
51773 DEC HL
51774 RLD
51776 DEC HL
51777 RLD
51779 DEC HL
51780 RLD
51782 DEC HL
51783 RLD
51785 DEC HL
51786 RLD
51788 DEC HL
51789 RLD
51791 DEC HL
51792 RLD
51794 DEC HL
51795 RLD
51797 DEC HL
51798 RLD
51800 DEC HL
51801 RLD
51803 DEC HL
51804 RLD
51806 DEC HL
51807 RLD
51809 DEC HL
51810 RLD
51812 DEC HL
51813 XOR A Discard the nibble that fell off the left of the row.
51814 DJNZ ShiftViewLeftNibble_Loop Decrease the row count and jump back until every row of the buffer has been shifted.
51816 RET Return.
Prev: 51657 Up: Map Next: 51817