![]() |
Routines |
| Prev: 62917 | Up: Map | Next: 62954 |
|
Used by the routine at MainMenu_SelectOptions.
Print the control-key characters from Table_ControlKeyCodes into the menu column at 22796 (attribute buffer) using attribute A. B holds how many slots to print (7 for a full refresh, 5 via Print_ControlKeyLabels_Short).
|
||||||||
| Print_ControlKeyLabels | 62922 | LD B,7 | Load B with 7 label count. | |||||
|
This entry point is used by the routine at Print_ControlKeyLabels_Short.
Walk Table_ControlKeyCodes and print each defined key code.
|
||||||||
| Print_ControlKeyLabels_WalkTable | 62924 | LD (29447),A | Store A as the current text attribute. | |||||
| 62927 | LD HL,22796 | Point HL at the first key's attribute cell (22796 (attribute buffer)). | ||||||
| 62930 | LD IX,62971 | Point IX at Table_ControlKeyCodes. | ||||||
|
Print one control-key label and step down one menu row.
|
||||||||
| Print_ControlKeyLabels_NextKey | 62934 | LD E,(IX+0) | Fetch this slot's key code into E. Clear D. Call Print_Character to print that character. | |||||
| 62937 | LD D,0 | |||||||
| 62939 | CALL Print_Character | |||||||
| 62942 | INC IX | Advance IX onto the next slot. | ||||||
| 62944 | LD DE,64 | Step HL down one menu key-label row (0064). | ||||||
| 62947 | ADD HL,DE | |||||||
| 62948 | DJNZ Print_ControlKeyLabels_NextKey | Loop until B labels are printed. | ||||||
| 62950 | CALL ColourCycle_MainMenuLogo | Call ColourCycle_MainMenuLogo to colour-cycle the logo (menu acknowledge). | ||||||
| 62953 | RET | Return. | ||||||
| Prev: 62917 | Up: Map | Next: 62954 |