![]() |
Routines |
| Prev: 68C3 | Up: Map | Next: 68ED |
|
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 | 68D7 | LD A,$47 | Set the attribute to INK: WHITE, PAPER: BLACK (BRIGHT) . | |||||
| 68D9 | 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 | 68DB | LD A,$C7 | Set the attribute to INK: WHITE, PAPER: BLACK (BRIGHT) FLASH: ON. | |||||
| Fill_Attribute_Rows | 68DD | LD DE,$0010 | Set the row stride to 10 in DE. | |||||
| 68E0 | LD C,$02 | Set the row counter to 02 in C. | ||||||
| Fill_Attribute_Row | 68E2 | LD B,$10 | Set the column counter to 10 in B. | |||||
| Fill_Attribute_Column | 68E4 | LD (HL),A | Write the attribute to the current cell. | |||||
| 68E5 | INC L | Advance the attribute pointer by one. | ||||||
| 68E6 | DJNZ Fill_Attribute_Column | Decrease the column counter by one and loop back to Fill_Attribute_Column until the column counter is zero. | ||||||
| 68E8 | ADD HL,DE | Advance the attribute pointer by the row stride. | ||||||
| 68E9 | DEC C | Decrease the row counter by one, and jump to Fill_Attribute_Row until the row counter is zero. | ||||||
| 68EA | JR NZ,Fill_Attribute_Row | |||||||
| 68EC | RET | Return. | ||||||
| Prev: 68C3 | Up: Map | Next: 68ED |