After a bare line number, Right copies that program line one character at
a time and End copies the rest; Delete skips a character of it. Up brings
back the last line entered, cursor at the end. The last line is kept in a
256-byte buffer taken from the end of the program arena, so programs still
start at 8482h and have about 20.3 KB.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Typing a line number and pressing Right brings that program line up to
edit. Left/Right move, Home/End (Ctrl-A/Ctrl-E) jump, typing inserts,
Backspace and Delete remove, Enter takes the whole line; long lines wrap.
To fit the ROM, the date code is smaller and SDCC gets more allocator
effort; build.sh now fails if the code runs past 8000h. basic/test-edit.py
checks the editor in the emulator.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>