![]() |
Routines |
| Prev: C8CA | Up: Map | Next: C962 |
|
Used by the routine at MENU.
Sets the FLASH bit on the colour of the line for the method in bits 1-2 of CONTROL and clears it on the other three (TOGGLE_SELECTED), then sets or clears it on the next colour -- the directional-control line's -- to match bit 3 of CONTROL. The colours are MENU_COLOURS's, from the second; the title's is left alone. As Knight Lore's, Alien 8's and Pentagram's, instruction for instruction.
|
||||
| FLASH_MENU | C949 | LD HL,MENU_CONTROL_COLOURS | the four method lines: flash the one for bits 1-2 | |
| C94C | LD A,(CONTROL) | |||
| C94F | RRCA | |||
| C950 | AND $03 | |||
| C952 | LD B,$04 | |||
| C954 | CALL TOGGLE_SELECTED | |||
| C957 | RES 7,(HL) | HL is now on the directional-control line's colour: flash it if bit 3 is set | ||
| C959 | LD A,(CONTROL) | |||
| C95C | AND $08 | |||
| C95E | RET Z | |||
| C95F | SET 7,(HL) | |||
| C961 | RET | |||
| Prev: C8CA | Up: Map | Next: C962 |