nanoFORTH  v2.2
n4_core.cpp File Reference

nanoForth Core Utilities More...

#include "n4_core.h"
#include <avr/pgmspace.h>
Include dependency graph for n4_core.cpp:

Namespaces

 N4Core
 

Functions

void N4Core::init_mem ()
 initialize MMU More...
 
void N4Core::set_pre (const char *code)
 set embedded Forth code More...
 
char N4Core::uc (char c)
 
void N4Core::mstat ()
 display MMU statistics More...
 
char N4Core::vkey ()
 
void N4Core::_console_input ()
 

Variables

MMU controls
U8N4Core::dic { NULL }
 base of dictionary More...
 
N4Task N4Core::vm { NULL, NULL }
 VM context. More...
 
IO controls
Stream * N4Core::io { &Serial }
 default to Arduino Serial Monitor More...
 
U8 N4Core::trc { 0 }
 tracing control flag More...
 
char * N4Core::_pre { NULL }
 preload Forth code More...
 
U8N4Core::_tib { NULL }
 base of terminal input buffer More...
 
U8 N4Core::_empty { 1 }
 empty flag for terminal input buffer More...
 
U8 N4Core::_hex { 0 }
 numeric radix for display More...
 
U8 N4Core::_ucase { 0 }
 empty flag for terminal input buffer More...
 
MMU controls
U8N4Core::dic { NULL }
 base of dictionary More...
 
N4Task N4Core::vm { NULL, NULL }
 VM context. More...
 
IO controls
Stream * N4Core::io { &Serial }
 default to Arduino Serial Monitor More...
 
U8 N4Core::trc { 0 }
 tracing control flag More...
 
char * N4Core::_pre { NULL }
 preload Forth code More...
 
U8N4Core::_tib { NULL }
 base of terminal input buffer More...
 
U8 N4Core::_empty { 1 }
 empty flag for terminal input buffer More...
 
U8 N4Core::_hex { 0 }
 numeric radix for display More...
 
U8 N4Core::_ucase { 0 }
 empty flag for terminal input buffer More...
 

Detailed Description

nanoForth Core Utilities

  • low level memory and IO management