Prev: CF3D Up: Map Next: CF8F
CF6E: Copy a 3x3 grid of attribute color from attribute buffer to attribute file
Used by the routines at 9AC5 and BD6B.
Input
HL Address into attribute file
DE Address into attribute buffer
CF6E CALL $CF7D Copy a row of 3 attribute colors
CF71 LD BC,$001E Increment address into attribute file to the next row
CF74 ADD HL,BC
CF75 CALL $CF7D Copy a row of 3 attribute colors
CF78 ADD HL,BC Increment address into attribute file to the next row
CF79 CALL $CF7D Copy a row of 3 attribute colors
CF7C RET
Copy a row of attribute colors
CF7D LD A,(DE) Copy an attribute color from attribute buffer to attribute file
CF7E LD (HL),A
CF7F INC HL Increment address into attribute file and buffer
CF80 INC DE
CF81 LD A,(DE) Copy an attribute color from attribute buffer to attribute file
CF82 LD (HL),A
CF83 INC HL Increment address into attribute file and buffer
CF84 INC DE
CF85 LD A,(DE) Copy an attribute color from attribute buffer to attribute file
CF86 LD (HL),A
CF87 PUSH HL Save HL
CF88 LD HL,$001E Increment address into attribute buffer to the next row
CF8B ADD HL,DE
CF8C EX DE,HL
CF8D POP HL
CF8E RET
Prev: CF3D Up: Map Next: CF8F