Routines |
Prev: 54778 | Up: Map | Next: 54814 |
Used by the routines at Copy_Routine and Merge_Shot.
|
||||
On entry HL points to an address in the screen attribute buffer.
|
||||
Calc_Attribute | 54800 | LD A,H | Let's use $58C8 as an example;
|
|
54801 | SUB 8 | |||
54803 | LD H,A | |||
54804 | LD A,L | |||
54805 | ADD A,32 | |||
54807 | LD L,A | |||
54808 | RET NC | |||
54809 | LD A,H | |||
54810 | ADD A,8 | |||
54812 | LD H,A | |||
54813 | RET | Return. |
Prev: 54778 | Up: Map | Next: 54814 |