![]() |
Routines |
Prev: 1BB3 | Up: Map |
Used by the routine at LINE_NEW.
The routine at LINE_END continues here.
This short routine has three functions:
|
||||||||||||
LINE_USE | 1BBF | CP $01 | Statement zero becomes statement '1'. | |||||||||
1BC1 | ADC A,$00 | |||||||||||
1BC3 | LD D,(HL) | The line number of the line to be used is collected and passed to PPC. | ||||||||||
1BC4 | INC HL | |||||||||||
1BC5 | LD E,(HL) | |||||||||||
1BC6 | LD ($5C45),DE | |||||||||||
1BCA | INC HL | Now find the 'length' of the line. | ||||||||||
1BCB | LD E,(HL) | |||||||||||
1BCC | INC HL | |||||||||||
1BCD | LD D,(HL) | |||||||||||
1BCE | EX DE,HL | Switch over the values. | ||||||||||
1BCF | ADD HL,DE | Form the address of the start of the line after in HL and the location before the 'next' line's first character in DE. | ||||||||||
1BD0 | INC HL | |||||||||||
This routine continues into NEXT_LINE.
|
Prev: 1BB3 | Up: Map |