![]() |
Routines |
| Prev: 26819 | Up: Map | Next: 26861 |
|
Used by the routines at Display_Status and Highlight_Menu_Item.
Fills two attribute rows from HL with INK:
WHITE,
PAPER:
BLACK
(BRIGHT)
.
|
||||||||
| Fill_Menu_Attributes | 26839 | LD A,71 | Set the attribute to INK: WHITE, PAPER: BLACK (BRIGHT) . | |||||
| 26841 | JR Fill_Attribute_Rows | Jump to Fill_Attribute_Rows. | ||||||
|
This entry point is used by the routines at Display_Status, Handle_Menu and Highlight_Menu_Item.
Fill a flashing two-row strip.
|
||||||||
| Fill_Menu_Highlight | 26843 | LD A,199 | Set the attribute to INK: WHITE, PAPER: BLACK (BRIGHT) FLASH: ON. | |||||
| Fill_Attribute_Rows | 26845 | LD DE,16 | Set the row stride to 16 in DE. | |||||
| 26848 | LD C,2 | Set the row counter to 2 in C. | ||||||
| Fill_Attribute_Row | 26850 | LD B,16 | Set the column counter to 16 in B. | |||||
| Fill_Attribute_Column | 26852 | LD (HL),A | Write the attribute to the current cell. | |||||
| 26853 | INC L | Advance the attribute pointer by one. | ||||||
| 26854 | DJNZ Fill_Attribute_Column | Decrease the column counter by one and loop back to Fill_Attribute_Column until the column counter is zero. | ||||||
| 26856 | ADD HL,DE | Advance the attribute pointer by the row stride. | ||||||
| 26857 | DEC C | Decrease the row counter by one, and jump to Fill_Attribute_Row until the row counter is zero. | ||||||
| 26858 | JR NZ,Fill_Attribute_Row | |||||||
| 26860 | RET | Return. | ||||||
| Prev: 26819 | Up: Map | Next: 26861 |