OEL TTX2000 Issue 2.3 | Routines |
Prev: 0AFA | Up: Map | Next: 0B60 |
Used by the routines at display_menu, toggle_bright, select_channel, toggle_reveal, save_routine and OELRoutine23.
|
||||
decode_page | 0B46 | PUSH AF | Preserve registers. | |
0B47 | PUSH BC | |||
0B48 | PUSH DE | |||
0B49 | PUSH HL | |||
0B4A | XOR A | Clear skip_next_row_flag. | ||
0B4B | LD (skip_next_row_flag),A | |||
decode_page_0 | 0B4E | PUSH AF | Push A onto stack as a loop counter. | |
0B4F | LD (row_number),A | Load row_number into A and call decode_row. | ||
0B52 | CALL decode_row | |||
0B55 | POP AF | Pop counter off the stack and increment it. | ||
0B56 | INC A | |||
0B57 | CP $18 | Loop around 24 times. | ||
0B59 | JR NZ,decode_page_0 | |||
0B5B | POP HL | Restore registers and return. | ||
0B5C | POP DE | |||
0B5D | POP BC | |||
0B5E | POP AF | |||
0B5F | RET |
Prev: 0AFA | Up: Map | Next: 0B60 |