4Data Telesoftware Adaptor Issue 1.2 | Routines |
Prev: 0AD4 | Up: Map | Next: 0AFA |
Used by the routine at decode_row.
|
||||
set_character_pointer | 0ADC | LD DE,(page_display_buffer_pointer) | Load page_display_buffer_pointer into DE. | |
0AE0 | LD A,(row_number) | If row_number is zero, jump to set_character_pointer_0. | ||
0AE3 | AND A | |||
0AE4 | JR Z,set_character_pointer_0 | |||
0AE6 | LD B,A | Else multiply row number by 40 and add to address in DE to get address of first character of row. | ||
0AE7 | ADD A,A | |||
0AE8 | ADD A,A | |||
0AE9 | ADD A,B | |||
0AEA | LD L,A | |||
0AEB | LD H,$00 | |||
0AED | ADD HL,HL | |||
0AEE | ADD HL,HL | |||
0AEF | ADD HL,HL | |||
0AF0 | ADD HL,DE | |||
0AF1 | LD (character_pointer),HL | Store address in character_pointer and return. | ||
0AF4 | RET | |||
set_character_pointer_0 | 0AF5 | LD (character_pointer),DE | Store DE in character_pointer and return. | |
0AF9 | RET |
Prev: 0AD4 | Up: Map | Next: 0AFA |