load boot.f \ init code load serial.f \ serial port driver load interpreter.f \ command interpreter load prom.f \ flash programming driver load route.f \ support for the 'route' dispatch macro \ these need to be procedures so they can be overridden by either \ procedures or macros. (currently macros cannot be overridden by \ procedures). FIXME: solve redirect inefficiency in asm optimization. \ Redefine these when necessary. macro \ memory : stack-data #x80 ; : stack-control #x90 ; : allot-ram #x00 ; : allot-flash app-boot #x40 + ; \ reserve 1 erase block for isr code : read-buffer #xA0 ; \ default for terminal.f \ : fosc 40 MHz ; \ : baud 9600 ; : init-all-but-rs init-ds \ data and aux/control stack init-xs init-chip ; \ setup outputs and clock forth