Prev: 29581 Up: Map Next: 29630
29614: Address Attribute Row
Turns a character row in B and a column in C into a pointer inside AttributeBuffer.
Input
B Character row
C Column
Output
HL Attribute pointer
AttributeRow 29614 LD H,0 Copy the row into HL.
29616 LD L,B
29617 ADD HL,HL Multiply by 32.
29618 ADD HL,HL
29619 ADD HL,HL
29620 ADD HL,HL
29621 ADD HL,HL
29622 LD DE,27770 Point DE at AttributeBuffer.
29625 ADD HL,DE Add that buffer.
29626 LD B,0 Add the column.
29628 ADD HL,BC
29629 RET Return.
Prev: 29581 Up: Map Next: 29630