Previous Messages |
Posted By
Csabo on 2015-11-10 18:22:08
| Re: Announcing v0.90 EmaC=s editor for C16 and Plus/4
$FFD2 will output only one character. $FF4F ("PRIMM") will output a sequence of characters, until it encounters a zero byte. So, exactly what you wrote a specific function with a loop, that's what this does, built in.
|
|
Posted By
Chronos on 2015-11-10 14:42:51
| Re: Announcing v0.90 EmaC=s editor for C16 and Plus/4
I've warmly recommend SVS Rom map! have a look at..
http://plus4world.powweb.com/dl/tools/rommap/index.php
|
|
Posted By
daudzoss on 2015-11-10 14:21:42
| Re: Announcing v0.90 EmaC=s editor for C16 and Plus/4
I could add C-x f and C-x s to load and save SEQ files, but Notepad+4 is indeed better for that. I'm trying to do something fundamentally different with this lean (and C16-friendly) screen editor than be another file editor. If anyone could share with me jump vectors for submitting lines to BASIC or the MONITOR for parsing whenever the Return key is pressed, that in my mind would be a better fit for this program. Then loading/saving PRG files within that other environment...this would be much cleaner than currently where I have to C-z out of the editor and hit Return repeatedly on all the lines just entered.
Thanks Csabo for the pointer to $FF4F. The memory maps don't say much about what is different from $FFD2, which is of course so well known I have even seen the California automotive vanity plate "JSR FFD2" in traffic and chuckled. Is there an advantage of $FF4F e.g. speed? If one is better I will push a git change as 0.91.
I do harbor hope of someone eventually running this code on the C128 since BASIC 7.0 has the same ESC sequences supported, but C128 with its banking is not to my taste. (And 264 with half the RAM actually has a few more BASIC bytes free for program lines...)
Thanks for the plethora of quick feedback, exactly what I hoped for. DZ
|
|
Posted By
Litwr on 2015-11-10 12:04:51
| Re: Announcing v0.90 EmaC=s editor for C16 and Plus/4
to Patrick. Try to write an email letter with it. It is like a game. However Emacs+4 has no (?) save function...
|
|
Posted By
Patrick on 2015-11-10 10:54:40
| Re: Announcing v0.90 EmaC=s editor for C16 and Plus/4
maybe a strange question, but what can be done with this piece of software??
|
|
Posted By
Csabo on 2015-11-10 08:39:18
| Re: Announcing v0.90 EmaC=s editor for C16 and Plus/4
Cool stuff, added!
I looked at the source very briefly, the only thing that jumped out at me was using $FFD2 instead of $FF4F. Unless you're planning on making the same source be compatible with C64 or something, you should probably use the other Kernal routine, it's there for this specific purpose.
|
|
Posted By
Litwr on 2015-11-10 05:46:10
| Re: Announcing v0.90 EmaC=s editor for C16 and Plus/4
Did you know about Notepad+4? It is the real fun to make texts with the retro platforms.
|
|
Posted By
Chronos on 2015-11-10 02:32:23
| Re: Announcing v0.90 EmaC=s editor for C16 and Plus/4
ok, looks promising, if you want to beat the usual note editors, you'll need: justify, centralization and most importantly save to disk feature.. (imho)
|
|
Posted By
daudzoss on 2015-11-09 18:20:49
| Announcing v0.90 EmaC=s editor for C16 and Plus/4
Like it sounds, an alternative screen editor in 1.5KB that behaves (within reason) like everyone's beloved/hated editor
https://github.com/daudzoss/EmaCsixteen
|
|