I discovered this memory resident line based text editor in an old Dr Dobb's Journal pdf, when looking for a usable listing or source file I found this on Github: https://github.com/netzherpes/LEDIP
It should port easily onto one of the 6502 monitors I have and I'll be giving it a try shortly. I was really looking for something similar for 6809 but this is a good start.
There is something similar built into the AIM65 so perhaps this will be usable with a single line display but I'll concentrate on getting it to work with serial I/O to start with.
Eventually I'l like to build something similar into a rom bios.
Best regards, David.
LEDIP 6502 Text Editor
Re: LEDIP 6502 Text Editor
The editor works with minimal modification, I just needed to provide the character input and output functions. sample session:
Perhaps the editor output could be used as an input stream to something, an assembler maybee. David.
Code: Select all
>2000G
STARTING ADDRESS? 1000
/0010 The quick brown fox jumps over the lazy dog.
/0020 Now is the time for all good men to come to the aid of the party
/text
The quick brown fox jumps over the lazy dog.
Now is the time for all good men to come to the aid of the party
/0015 0123456789
/list
0010 The quick brown fox jumps over the lazy dog.
0015 0123456789
0020 Now is the time for all good men to come to the aid of the party
/text
The quick brown fox jumps over the lazy dog.
0123456789
Now is the time for all good men to come to the aid of the party
/exit