Mecrisp is an implementation of a standalone native code Forth for MSP430 microcontroller chips. At the moment, it runs out of the box on MSP430F2274 and MSP430G2553 micros. You can choose to compile to flash or to ram, and it generates native code with folding, inlining of short words and it opcodes common instructions. Note that it doesn't need to save any pointers, so info flash keeps untouched. Hopefully it should be completely interrupt-save and you can hook your Forth definitions to interrupt vectors. Of course, you should not hook create to a timer interrupt, unless you want all your memory to be filled with random creatures :-) Altought it is in spirit of ANS, there are some differences: Be careful !
It fits tightly into 9kb of Flash and should run with 512 Bytes of Ram. Communication is via serial 9600 baud 8N1 over portpins: MSP430F2274 (TX on P3.4, RX on P3.5), MSP430G2553 (TX on P1.2, RX on P1.1)
If you have wishes for extensions, expect it to grow to 10kb in future. I really would appreciate feedback from you ! What does your heart desire ?
You can get Mecrisp on its download page.
A Disassembler and Ready-to-fly hex files are included, for build it, check out:
Macro Assembler AS, by Alfred Arnold, version 1.42 Beta [Bld 55]