Skip to content

eForth for the Transputer (see transputer-emulator); written in MASM (see transputer-macro-assembler). Written in Transputer assembly.

Notifications You must be signed in to change notification settings

devzendo/transputer-eforth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

transputer-eforth

This repository contains eForth, ported to the Transputer by Bob Barr, with further changes to port it to the Parachute project's Transputer emulator.

This port (PD) 2018-2023 Matt J. Gumbley matt.gumbley@devzendo.org @M0CUV@mastodon.radio

http://devzendo.github.io/parachute

Status

In progress, August 2023. Making into a link-bootable, not ROM-based binary, and modifying I/O words to use the Parachute IServer. Fixing inner interpreter bugs to get to the end of cold boot.

Original works

The original version of this is contained in the eforth-transputer.zip file, which was located via the Internet Archive's Wayback Machine at

https://web.archive.org/web/20071025152055if_/http://www.eforth.com.tw/academy-n/zip/transpef.zip

The original location being

http://www.eforth.com.tw/academy-n/zip/transpef.zip

which is no longer available.

A more available archive may be found at

http://www.forth.org/library/eforth_SOC/eforth_SOC_source/eForth1/transpef.zip

The UltraTechnology/Offete Enterprises page at

http://www.ultratechnology.com/offete.html

lists this eForth as "eForth for Inmos 32-bit transputers. This is an experimental implementation not yet tested on a Transputer system. Volunteers are welcome to put this system to the test." - which is what I'm doing with this project!

About eForth

The following description was taken from Forth.org's eForth Page which houses many ports of eForth:

History of eForth - Kevin Appert:

"eForth was developed several years ago by Bill Muench. He built a simple meta-compiled Forth that has some interesting aspects. The main goal as I understand it was portability. Bill writes: "eForth allows me to make a complete Forth system with about 30 very simple machine code routines. With so few words to code, I could do the coding by hand, that is, without the need to write an assembler first. After this simple model is running, it is desirable to code much of the rest in assembly." The descendant of this original work is on Bill's website.

After that, C.H. Ting wanted a simple, portable Forth to be the new FIG-Forth. He wanted to have a Forth to spread around, to use for his own work and to be a part of his "Firmware Engineering Workshop". At Ting's request Bill coded eForth in MASM to produce an assembly listing much like the original FIG-Forth distribution. Ting felt that more common folk could get started with a process that didn't involve the complexities of a meta-compiler. Ting and others have continued to evolve eForth, porting to many processors and environments. There's even a Linux port. Ting is working on an eForth variant in C."

About Parachute eForth

The eForth directory found in this repository contains porting done to Bob Barr's original work, to provide an eForth that will run on the Parachute project's Transputer emulator.

This porting is also in the public domain.

Please see the DevZendo.org Parachute Project for more information.

There are several pre-built releases of eForth in the 'releases' directory. These may be run directly on the Transputer emulator: see 'Running Parachute eForth', below.

Should you want to build from source, see 'Building Parachute eForth', below.

Building Parachute eForth

To build, you'll need the DevZendo.org Transputer Macro Assembler installed on your system and available on the PATH. See that page for download/installation instructions.

You'll also need a reasonable version of Make. I use GNU Make 3.81 on OSX via MacPorts.

Once installed, cd to the 'eForth' directory, and run 'make'.

This will yield EFORTH.BIN (and EFORTH.LST). The .BIN file is a binary image that you can use to boot the Parachute Transputer Emulator with.

Running Parachute eForth

To run, you'll need the Parachute Transputer Emulator installed on your system and available on the PATH. See that page for download/installation instructions.

Run the emulator in one terminal:

$ temulate  

Run the IServer in another terminal, serving the EFORTH.BIN file to the emulator:

$ iserver /opt/parachute/bin/EFORTH.BIN
eForth v1.2
ok   

License

As the page on www.forth.org above states:

"This is a collection of Forth programs and Forth hardware designs placed in the public domain by the eForth Group to encourage hardware and software engineers to study and evaluate computers and software based on the eForth model."

Matt Gumbley, Fri 13 Apr 2018.

About

eForth for the Transputer (see transputer-emulator); written in MASM (see transputer-macro-assembler). Written in Transputer assembly.

Topics

Resources

Stars

Watchers

Forks