V-FORTH - Forth-83 for the VIC

Basic and Machine Language

Moderator: Moderators

User avatar
srowe
Vic 20 Scientist
Posts: 1471
Joined: Mon Jun 16, 2014 3:19 pm

Re: V-FORTH - Forth-83 for the VIC

Post by srowe »

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
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.
User avatar
pixel
Vic 20 Guru
Posts: 1548
Joined: Fri Feb 28, 2014 3:56 am
Location: Bielefeld, Germany

Re: V-FORTH - Forth-83 for the VIC

Post by pixel »

srowe wrote: Fri Nov 08, 2024 12:57 pm 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.
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
User avatar
srowe
Vic 20 Scientist
Posts: 1471
Joined: Mon Jun 16, 2014 3:19 pm

Re: V-FORTH - Forth-83 for the VIC

Post by srowe »

pixel wrote: Fri Nov 08, 2024 2:03 pm A bit down the README the original author is saying that it's ANS-FORTH, except for some directory functions.
Yeah, I didn't look that deeply and I'm not that familiar with ANS-FORTH so I could have missed something.
Would it be possible to add banked memory or would that drag everything down too badly?
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.
Post Reply