V-FORTH - Forth-83 for the VIC

Basic and Machine Language

Moderator: Moderators

Forbidden64
Vic 20 Dabbler
Posts: 81
Joined: Sun Feb 28, 2016 9:59 pm
Location: CA USA

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

Postby Forbidden64 » Wed Apr 05, 2017 10:49 pm

You realize of course, that this has historically never been done on any system...it is for all intents and purposes, a standalone FORTH OS because of these features no one else apparently thought of. Likely because they were too busy trying to adhere to a standard from 1976 made for tele-terminals(FIG). Incidentally, since V-FORTH doesn't have an editor, and also reads sequential files as though they are being typed...doesn't also then mean that any VIC word processor can be an editor, as well as you mentioned, any modern machine's text editors?
Or in essence, as you mentioned, any sequential file...? I'll do some testing and find out...like if quick brown fox can make V-FORTH compatible code structures, that would be interesting. Cool, would be an editor like take for instance a text editor made with minigrafik. :O.
Especially since they don't even need to be loaded at the same time. Although I am just hearing about minigrafik, and don't know much about it yet.

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

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

Postby srowe » Thu Apr 06, 2017 1:04 am

Things were different when the VIC came out. No one had a disk drive (at least in the UK) and the concept of using a standarized editor etc would have been quite alien. The integrated line editor that BASIC had was the model of the day.

In theory, yes, any word processor or similar program should do. From memory some of them do non-standard things, I think the editor that came with my assembler used characters 0x01 to 0x08 to indicate tabs.

I think a text editor that uses tokra's Maxi-Edit

http://sleepingelephant.com/ipw-web/bulletin/bb/viewtopic.php?f=2&t=8375

would make developing on a VIC much easier.

User avatar
Mike
Herr VC
Posts: 2925
Joined: Wed Dec 01, 2004 1:57 pm
Location: Munich, Germany
Occupation: electrical engineer

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

Postby Mike » Thu Apr 06, 2017 3:25 am

Forbidden64 wrote:[...] I am just hearing about minigrafik, and don't know much about it yet.

The thread to the MG batch suite I pointed you to (in the post you're most probably referring to) contains links to a disk image and manual for MG, in the top post.

Besides this you're taking a good chance, that a program/tool/game in the Announcement section (especially those released by me, but there are also other users) sports MINIGRAFIK under the hood. MG has been around for over ten years now.

Cool, would be an editor like take for instance a text editor made with minigrafik. :O

This idea, a tool set of symbolic assember and text editor, hosted on the VIC-20, both working in a software 40 column mode, and capable of constructing themselves pops up here in Denial every now and then, see:

o First Step in Vic-20 Software Development,
o 40 column word processor?, and
o Programming language implementation ...

... including the reasons I didn't start out with that project. :?

Bobbi
Vic 20 Afficionado
Posts: 347
Joined: Thu Oct 13, 2016 11:35 am
Location: Toronto
Occupation: Programmer

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

Postby Bobbi » Thu Apr 06, 2017 6:36 am

For what it is worth, the little VICScript language I made last year has a primitive line editor which can be used to edit PETSCII SEQ files. Programs are loaded from plain text SEQ files. These files can be created in any text editor or word processor, so you are not stuck with my dreadful line editor! I chose to use PETSCII encoding but I could also have decided to use ASCII files so I could edit them easily on another platform. I am thinking to add an option to load and save in ASCII to allow files to be easily migrated from PC to VIC-20 and back.

Forbidden64
Vic 20 Dabbler
Posts: 81
Joined: Sun Feb 28, 2016 9:59 pm
Location: CA USA

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

Postby Forbidden64 » Tue Apr 25, 2017 3:03 pm

Grr, I have been so busy I haven't been able to toy around with this since my last post. I have been studying my book on the road when I get chances though. Hopefully, in a month or two things won't be as crazy...and I can set aside some proper time for this very cool new language. I guess having a VIC based editor is superfluous in the sense that, as the author pointed out, there are better modern alternatives. I just wanted to point out that this was an option theoretically. You could develop the entire thing directly on the VIC even though there is no formal editor.

All you would need is a 40 column word processor to make it comfy. That is, of course, independent from the language itself, which is already stand-alone...

I also found yesterday when I was searching around some archives, some very cool stuff. A 6502 & 65c02 cross assembler for dos, and unix. An 6502 object code disassembler for amiga(it's a ".1" file?), a 6502 assembler/ linker for the atari, a 6502 disassembler for UNIX, As well as a smorgasbord of other similar programs. I was having a quick look around to see if there was anything in there for my arrested LSI-11 project for later related to the LSX operating system, which is essentially a sysgen for UNIX 4.0, that fits onto an 8" floppy an runs with only 20kw of memory. Sadly, that project has been shelved for a while.

Also, apparently there is already a VFORTH...Vax FORTH, which is also in that archive. Apparently, this archive was ripped off of usenet circa '88/'89, along with even some message board content.
http://cd.textfiles.com/sourcecode/


Return to “Programming”

Who is online

Users browsing this forum: Bing [Bot] and 2 guests