| Routines

100C: THE 'CURSOR RIGHT EDITING' SUBROUTINE

The address of this routine is derived from an offset found in the editing keys table.
Input
HL | Address of the cursor (K-CUR)
ED_RIGHT | 100C | LD A,(HL) | The current character is tested and if it is 'carriage return' then return.
| 100D | CP $0D
| 100F | RET Z
| 1010 | INC HL | Otherwise make the cursor come after the character.
This entry point is used by the routine at ED_LEFT.
ED_CUR | 1011 | LD ($5C5B),HL | Set the system variable K-CUR.
| 1014 | RET |