CamelForth for the RCA1802
- A port of CamelForth for the RCA 1802 is now available. Get it at
Brad Rodriguez's site http://www.camelforth.com
It runs on a PC-hosted 1802 instruction set simulator that is also
included in the download. The simulator emulates the Forth words
ACCEPT and EMIT using standard Input/Output, and provides Forth-level
and instruction-level tracing options.
It's a Direct Threaded implementation. The code field for high-level
words is just a one-byte SEP instruction. Colon, User, Variable, and
Constant words each have their own program counter, as does Next.
The only exception is a CREATE'd (formerly known as <BUILDS) word
that may have its code field updated by DOES>. For this case, the
code field is three bytes - a SEP plus an address.
CamelForth for the 1802 passes all the applicable tests in John Hayes
and Gerry Jackson's ANSI Forth conformance test suite.