diff options
Diffstat (limited to 'alee-msp430.cpp')
-rw-r--r-- | alee-msp430.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
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 <msp430.h> +#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<alee_dat_len> 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; |