6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun May 12, 2024 11:32 pm

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Sat Dec 25, 2021 2:44 am 
Offline

Joined: Sun Apr 26, 2020 3:08 am
Posts: 357
I am ready to move on to the 65816 version of FigForth.

Is there an link anywhere or is this a DIY project?

The versions I have come across for the 65816 are for a full 32-bit Forth or just have the original 6502 instructions.


Top
 Profile  
Reply with quote  
PostPosted: Sat Dec 25, 2021 5:21 am 
Offline
User avatar

Joined: Sun Jun 30, 2013 10:26 pm
Posts: 1929
Location: Sacramento, CA, USA
Garth has a 65c802 version of his own which is 16-bit ITC and similar to FIG, but I think he's still going through the source to make sure it's ready for consumption by the general public. If you move to the larger address space of the '816, you're going to need to make some critical design choices early on.

Our friend Bitwise (Andrew) did some experiments with a higher performance version, but I don't think he finished it before his untimely passing.

I have seen another forum member with a working '816 version, but I'm link challenged at the moment. Perhaps he or she will pop in soon ...

_________________
Got a kilobyte lying fallow in your 65xx's memory map? Sprinkle some VTL02C on it and see how it grows on you!

Mike B. (about me) (learning how to github)


Top
 Profile  
Reply with quote  
PostPosted: Sat Dec 25, 2021 6:44 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8433
Location: Southern California
My '802 Forth has been operational for years but has not gotten much use to really wring it out. I'll be adding words for long addressing. It is very full-featured though, far, far more than figForth, and highly optimized by comparison, with three or four hundred primitives (ie, code definitions, words defined in assembly language, rather than in high-level Forth), something that would be out of the question for the 6502 since primitives would just take too much memory since the '02 cannot handle 16 bits at a time like the '816 or '802 can, so the '02 would need too many instructions to do so much in primitives. My '02 Forth is already considerably better than figForth for the '02, and my '816 (really '802) Forth runs two to three times as fast as my '02 Forth at a given clock speed. I want to finish up a few things and then write a really good manual for it, something that's rare these days.

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
PostPosted: Sat Dec 25, 2021 8:25 am 
Offline

Joined: Fri Apr 15, 2016 1:03 am
Posts: 136
I've got 3 versions of FORTH for 65816:
* Fig16\0265sxb - a fairly direct port of FIG 6502 to 65816 native mode.
* Fig16\FSub - 0265sxb converted to subroutine-threaded & word headers modified for speed.
* 65816F - forth-standard.org inspired instead of FIG, far more complete & elaborate, subroutine-threaded with optimizing compiler.

The FIG derived ones are available at http://174.31.21.185:81/Fig16/ . I wrote these to play with the FIG model on the 65816. They haven't gotten much use, so they are only lightly tested, but they do compile & run. They are currently set up to run on a 65C265SXB and/or simulator. The disk I/O hardware drivers may not be complete. They use 16-bit cells. There is no provision so far for 24-bit addressing.


Top
 Profile  
Reply with quote  
PostPosted: Sat Dec 25, 2021 3:18 pm 
Offline

Joined: Sun Apr 26, 2020 3:08 am
Posts: 357
leepivonka wrote:
I've got 3 versions of FORTH for 65816:
* Fig16\0265sxb - a fairly direct port of FIG 6502 to 65816 native mode.
* Fig16\FSub - 0265sxb converted to subroutine-threaded & word headers modified for speed.
* 65816F - forth-standard.org inspired instead of FIG, far more complete & elaborate, subroutine-threaded with optimizing compiler.

The FIG derived ones are available at http://174.31.21.185:81/Fig16/ . I wrote these to play with the FIG model on the 65816. They haven't gotten much use, so they are only lightly tested, but they do compile & run. They are currently set up to run on a 65C265SXB and/or simulator. The disk I/O hardware drivers may not be complete. They use 16-bit cells. There is no provision so far for 24-bit addressing.

Thanks, exactly what I was looking for. Just some basic source to look at but still give me some room to program some of my own words.


Top
 Profile  
Reply with quote  
PostPosted: Sat Dec 25, 2021 3:22 pm 
Offline

Joined: Sun Apr 26, 2020 3:08 am
Posts: 357
GARTHWILSON wrote:
My '802 Forth has been operational for years but has not gotten much use to really wring it out. I'll be adding words for long addressing. It is very full-featured though, far, far more than figForth, and highly optimized by comparison, with three or four hundred primitives (ie, code definitions, words defined in assembly language, rather than in high-level Forth), something that would be out of the question for the 6502 since primitives would just take too much memory since the '02 cannot handle 16 bits at a time like the '816 or '802 can, so the '02 would need too many instructions to do so much in primitives. My '02 Forth is already considerably better than figForth for the '02, and my '816 (really '802) Forth runs two to three times as fast as my '02 Forth at a given clock speed. I want to finish up a few things and then write a really good manual for it, something that's rare these days.

I don't need the manual, Garth, but mostly just the source code I can follow along and read. I would like it if you left me some room to program and optimize your source. I would take what you got as is.


Last edited by IamRob on Sat Dec 25, 2021 3:25 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
PostPosted: Sat Dec 25, 2021 3:35 pm 
Offline

Joined: Sun Apr 26, 2020 3:08 am
Posts: 357
barrym95838 wrote:
Garth has a 65c802 version of his own which is 16-bit ITC and similar to FIG, but I think he's still going through the source to make sure it's ready for consumption by the general public. If you move to the larger address space of the '816, you're going to need to make some critical design choices early on.

I am looking to just use FigForth with the 65816 instruction set and still confine it to the 64kb space. I know just enough about 65816 programming to get me into trouble.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: