I've quickly scanned the code, I can't see it uses anything V-FORTH doesn't have but I suspect, like you say, it would consume much of the free space.pixel wrote: ↑Fri Nov 08, 2024 11:54 am Could something like this (full-screen text editor, mostly ANS-FORTH) ever make it into VFORTH or would that be rather illusory, considering the limited heap?:
https://github.com/benhoyt/fe
V-FORTH - Forth-83 for the VIC
Moderator: Moderators
Re: V-FORTH - Forth-83 for the VIC
Re: V-FORTH - Forth-83 for the VIC
A bit down the README the original author is saying that it's ANS-FORTH, except for some directory functions.
Would it be possible to add banked memory or would that drag everything down too badly?
A man without talent or ambition is most easily pleased. Others set his path and he is content.
https://github.com/SvenMichaelKlose
https://github.com/SvenMichaelKlose
Re: V-FORTH - Forth-83 for the VIC
Yeah, I didn't look that deeply and I'm not that familiar with ANS-FORTH so I could have missed something.
Full scale banked memory would be quite invasive, all general memory access would have to be made bank-aware, that would need 3 bytes on the stack (instead of 2). The structure of the dictionary etc would need to change. The code would bloat and slow down significantly. Just supporting copying to/from banked memory would be a lot easier, but less useful.Would it be possible to add banked memory or would that drag everything down too badly?