eForth1
v2.6
|
Functions | |
void | _init () |
void | _qrx () |
More... | |
void | _txsto () |
More... | |
void | _out (U16 p, U16 v) |
More... | |
U8 | BGET (U16 d) |
U16 | GET (U16 d) |
void | SET (U16 d, U16 v) |
void EfVM::_init | ( | ) |
Forth Virtual Machine primitive functions
VM initializer
setup control variables
FORTH_UVAR_ADDR; 'TIB console input buffer pointer BASE current radix for numeric ops CP, top of dictionary, same as HERE CONTEXT name field of last word LAST, same as CONTEXT 'MODE eval mode (interpreter or compiler) 'ABORT exception rescue handler (QUIT) tmp storage (alternative to return stack)
setup Forth user variables
display init prompt
|
inline |
( – c ) fetch a char from console
console IO functions
fetch from IO stream
|
inline |
(c – ) send a char to console
DU* EfVM::S |
data stack pointer, 'stack' in Dr. Ting's
DU EfVM::T |
TOS, cached top of stack value.
DU EfVM::I |
RTOS, cached loop counter on return stack.
Stream * EfVM::io |
IO Stream, tied to Serial usually.
Stream IO interface.
PGM_P EfVM::_rom |
ROM, Forth built-in words stored in Flash.
ROM, Forth word stored in Arduino Flash Memory.
U8 * EfVM::_ram |
RAM, for user defined words.
RAM, memory block for user define dictionary.
U8* EfVM::_pre |
Forth code pre-defined/embedded in .ino.