Prev: 0A17 Up: Map Next: 0A37
0A22: new_background_code: Copy ink colour bits of temp_attr to paper colour bits.
Used by the routine at decode_row.
new_background_code 0A22 LD A,(temp_attr) Shift low 3 bits of temp_attr into bits 3-5 and store in B.
0A25 RLCA
0A26 RLCA
0A27 RLCA
0A28 AND $38
0A2A LD B,A
0A2B LD A,(temp_attr) OR with bits 3-5 of temp_attr and store result back in temp_attr.
0A2E AND $C7
0A30 OR B
0A31 LD (temp_attr),A
0A34 JP code_set_at Jump into display character routine at code_set_at.
Prev: 0A17 Up: Map Next: 0A37