| Technician Ted | Routines |
| Prev: BF1B | Up: Map | Next: BF4B |
|
Used by the routine at AA65.
|
||||
| BF35 | LD HL,$5800 | Start of attributes | ||
| BF38 | LD A,(HL) | Get next attribute | ||
| BF39 | XOR $3F | Flip all paper and ink bits | ||
| BF3B | LD (HL),A | Store it | ||
| BF3C | INC HL | Next attribute | ||
| BF3D | BIT 1,H | Have reached $5A00? | ||
| BF3F | JR Z,$BF38 | No, loop back and do the next attribute | ||
| BF41 | LD HL,$A421 | Get current border colour | ||
| BF44 | LD A,(HL) | |||
| BF45 | XOR $07 | Invert the bits relevant to the border | ||
| BF47 | LD (HL),A | Store it | ||
| BF48 | OUT ($FE),A | Output it so the effect takes place immediately | ||
| BF4A | RET | All done | ||
| Prev: BF1B | Up: Map | Next: BF4B |