Prev: 0A3D Up: Map Next: 0A5F
0A4F: THE 'CARRIAGE RETURN' SUBROUTINE
The address of this routine is derived from an offset found in the control character table.
If the printing being handled is going to the printer then a carriage return character leads to the printer buffer being emptied. If the printing is to the screen then a test for 'scroll?' is made before decreasing the line number.
Input
B Current line number
Output
PO_ENTER 0A4F BIT 1,(IY+$01) Jump if handling the printer (bit 1 of FLAGS set).
0A53 JP NZ,COPY_BUFF
0A56 LD C,$21 Set to lefthand column.
0A58 CALL PO_SCR Scroll if necessary.
0A5B DEC B Now down a line.
0A5C JP CL_SET Make an indirect return via CL_SET and PO_STORE.
Prev: 0A3D Up: Map Next: 0A5F