[comp.lang.forth] ROMable Forth

David_Douthitt@circle.UUCP (David Douthitt) (07/22/87)

Has anyone had any experience with implementing a ROMable Forth? One of 
my projects (SOMEDAY) will be to a) put Forth on ROM for the Apple II; 
and 2) to put Forth on ROM for the Mill 6809E coprocessor for the Apple 
II.
 
Also, I've been dismayed at Forth performances that ive seen... I compared two 
different versions of Forth I have with Kyan Pascal for the Apple II. 
Pascal ran in 6502 code, Mad Apple Forth (our local implementation, and 
at least partially my baby) MAF ran in 6502 code, and an implementation 
of Forth-83 by Allan Anway of UW-superior ran in 65802/816 code.
 
The Pascal was faster than either Forth.... what gives? I promise, my 
next Forth implementation is going to be direct threaded... Indirect 
threads are too slow.

         "Curiouser and curiouser," said Alice.
           -- david
 
UUCP: uwvax!geowhiz!uwspan!hobbes!circle!david_douthitt
US SNAIL: 1723 Blossom Lane #$
          Madison, WI 53716
Fido: 121/1

liebman@xrxns.UUCP (Chris Liebman) (07/23/87)

In article <2.21049C34@circle.UUCP> David_Douthitt@circle.UUCP (David Douthitt) writes:
>Has anyone had any experience with implementing a ROMable Forth?

A while back (3-4 years) I hacked a fig-forth to run out of ROM on a 6809
board that I had lying around.  No, I don't have it any more :-(.

>Also, I've been dismayed at Forth performances that ive seen... I compared two 

Have you tried ISYS-Forth?  It's a direct threaded forth implementation.  I
have played around with this a little and seem to run very fast. It also 
contains code for the 65816.

	-- Chris

David_Douthitt@circle.UUCP (David Douthitt) (07/25/87)

I know how nice the 6809 cpu is.... I have the Mill 6809E coprocessor 
card for my Apple II+. Unfortunately, it doesnt like my Z80 Softcard :-(
  
All the forths i've tested personally are indirect-threaded; I've 
conceded to myself that I'll have to create a direct-threaded version of 
Mad Apple Forth eventually...
  
As for the ROMable forth, I would *LIKE* to be able to create a version 
for the Mill, and a version for the Apple Firmware Card (takes place of 
normal ROMs).  I figure, even with the Firmware Card active with ROM, 
most applications should NOT notice the difference.
  
For those who dont know (i see some dont) the 65802 is version of the 
65816 which is pin compatible with the 6502 and 65C02. The tests I ran 
were done on a IIc equipped with the 65802 chip. The IIgs has a 65816. 
The major differences include the ability to use 16bit registers and 
other addressing mode...
  
FidoNet:121/1
UUCP: seismo!geowhiz!uwvax!hobbes!circle
:::::: "Curiouser and curiouser," said Alice.        David Douthitt

rjs@a.cs.okstate.edu (Roland Stolfa) (07/26/87)

There was a ROMable forth subset written for the 6809 in Dr. Dobbs
last year.  It was to be used on some sort of naval application, but
the thing looked ok.

Roland J. Stolfa
Department of Computing and Information Sciences
Oklahoma State University

UUCP:  {cbosgd, ea, ihnp4, isucs1, mcvax, pesnta, uokvax}!okstate!rjs

Internet:       rjs@a.cs.okstate.edu

Disclaimer:	You have lost your MIND if you think ANYBODY speaks for
		this place!