| Routines

04185: THE 'CURSOR UP EDITING' SUBROUTINE

The address of this routine is derived from an offset found in the editing keys table.
ED_UP | 04185 | BIT 5,(IY+55) | Return if in 'INPUT mode' (bit 5 of FLAGX set).
| 04189 | RET NZ
| 04190 | LD HL,(23625) | Fetch the current line number (E-PPC) and its start address.
| 04193 | CALL LINE_ADDR
| 04196 | EX DE,HL | HL now points to the previous line.
| 04197 | CALL LINE_NO | This line's number is fetched.
| 04200 | LD HL,23626 | This is E-PPC-hi.
| 04203 | CALL LN_STORE | The line number is stored.
This entry point is used by the routine at ED_DOWN.
ED_LIST | 04206 | CALL AUTO_LIST | A new automatic listing is now produced and channel 'K' re-opened before returning to ED_LOOP.
| 04209 | LD A,0
| 04211 | JP CHAN_OPEN