![]() |
Routines |
| Prev: 26734 | Up: Map | Next: 26839 |
|
Used by the routine at Handle_Menu.
Prints B rows from the table at HL.
|
||||||||||
| Print_Menu_Rows | 26819 | PUSH BC | Stash the row counter and table pointer on the stack. | |||||||
| 26820 | PUSH HL | |||||||||
| 26821 | LD E,(HL) | Fetch the screen address. | ||||||||
| 26822 | INC HL | |||||||||
| 26823 | LD D,(HL) | |||||||||
| 26824 | INC HL | |||||||||
| 26825 | LD C,16 | Set the character counter to 16 in C. | ||||||||
| 26827 | CALL Print_Double_Height | Call Print_Double_Height. | ||||||||
| 26830 | POP HL | Restore the table pointer from the stack. | ||||||||
| 26831 | LD DE,18 | Advance the table pointer by 18. | ||||||||
| 26834 | ADD HL,DE | |||||||||
| 26835 | POP BC | Restore the row counter from the stack. | ||||||||
| 26836 | DJNZ Print_Menu_Rows | Decrease the row counter by one and loop back to Print_Menu_Rows until all rows are printed. | ||||||||
| 26838 | RET | Return. | ||||||||
| Prev: 26734 | Up: Map | Next: 26839 |