Routines |
Prev: D5FA | Up: Map | Next: D61E |
Used by the routines at Copy_Routine and Merge_Shot.
|
||||
On entry HL points to an address in the screen attribute buffer.
|
||||
Calc_Attribute | D610 | LD A,H | Let's use $58C8 as an example;
|
|
D611 | SUB $08 | |||
D613 | LD H,A | |||
D614 | LD A,L | |||
D615 | ADD A,$20 | |||
D617 | LD L,A | |||
D618 | RET NC | |||
D619 | LD A,H | |||
D61A | ADD A,$08 | |||
D61C | LD H,A | |||
D61D | RET | Return. |
Prev: D5FA | Up: Map | Next: D61E |