Prev: 63673 Up: Map Next: 63689
63682: Fetch Shifted Byte
Finds the second byte of a byte of a shape that has been shifted to the right. The entry point at FetchShiftedByte_Count first sets the byte count to the width of a row and the one at FetchShiftedByte_Byte does not change HL.
Input
C Number of bytes in a row
D Page of the table of shifted bytes
HL Address of the byte to shift
Output
A The second byte of the shifted byte
FetchShiftedByte 63682 INC HL Advance HL.
This entry point is used by the routine at BuildShiftedShapeA.
FetchShiftedByte_Count 63683 LD B,C B=C.
This entry point is used by the routines at BuildShiftedShapeA and BuildShiftedShapeB.
FetchShiftedByte_Byte 63684 LD E,(HL) Read HL into E.
63685 INC D Advance D.
63686 LD A,(DE) Read DE.
63687 DEC D Step D back.
63688 RET Return.
Prev: 63673 Up: Map Next: 63689