From 1960aa8773e51a76f0a5a653c8a4eb4fbef5e4ba Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Wed, 8 Mar 2023 19:31:33 -0500 Subject: update readme; make msp430 standalone --- alee-msp430.cpp | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'alee-msp430.cpp') diff --git a/alee-msp430.cpp b/alee-msp430.cpp index 00151f0..7c82c03 100644 --- a/alee-msp430.cpp +++ b/alee-msp430.cpp @@ -17,10 +17,12 @@ */ #include "alee.hpp" -#include "memdict.hpp" +#include "splitmemdict.hpp" #include +#include "core.fth.h" + static char strbuf[32]; static void readchar(State& state); @@ -47,15 +49,10 @@ int main() __enable_interrupt(); - static MemDict dict; + static SplitMemDict dict (alee_dat); State state (dict, readchar); Parser parser; - dict.write(Dictionary::Base, 10); - dict.write(Dictionary::Latest, Dictionary::Begin); - dict.write(Dictionary::Compiling, 0); - dict.write(Dictionary::Postpone, 0); - serputs("alee forth\n\r"); auto ptr = strbuf; -- cgit v1.2.3