![]() |
Routines |
| Prev: 6EEE | Up: Map | Next: 6F0A |
|
Used by the routine at ChangePictureColour.
Changes colour C to colour L across the saved attribute buffer, first in the ink bits and then, with both colours moved up three bits, in the paper bits.
|
||||
| ChangeInkAndPaperColour | 6EEF | LD B,$07 | ||
| 6EF1 | LD H,$F8 | |||
| 6EF3 | CALL ChangeMatchingColourBits | |||
| 6EF6 | LD A,C | |||
| 6EF7 | SLA A | |||
| 6EF9 | SLA A | |||
| 6EFB | SLA A | |||
| 6EFD | LD C,A | |||
| 6EFE | LD A,L | |||
| 6EFF | SLA A | |||
| 6F01 | SLA A | |||
| 6F03 | SLA A | |||
| 6F05 | LD L,A | |||
| 6F06 | LD B,$38 | |||
| 6F08 | LD H,$C7 | |||
| Prev: 6EEE | Up: Map | Next: 6F0A |