Prev: 738D Up: Map Next: 73BE
73AE: 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 73AE LD H,$00 Copy the row into HL.
73B0 LD L,B
73B1 ADD HL,HL Multiply by 20.
73B2 ADD HL,HL
73B3 ADD HL,HL
73B4 ADD HL,HL
73B5 ADD HL,HL
73B6 LD DE,$6C7A Point DE at AttributeBuffer.
73B9 ADD HL,DE Add that buffer.
73BA LD B,$00 Add the column.
73BC ADD HL,BC
73BD RET Return.
Prev: 738D Up: Map Next: 73BE