Go to the documentation of this file.
5 #ifndef __EFORTH_CONFIG_H
6 #define __EFORTH_CONFIG_H
13 #include "user_interface.h"
16 #define APP_NAME "eForth1 v2.4"
30 typedef void (*
CFP)();
38 #define FORTH_ROM_SZ 0x2000
39 #define FORTH_UVAR_SZ 0x20
40 #define FORTH_DIC_SZ (0x400-FORTH_UVAR_SZ)
41 #define FORTH_STACK_SZ 0x80
42 #define FORTH_TIB_SZ 0x80
43 #define FORTH_RAM_SZ ( \
44 FORTH_UVAR_SZ + FORTH_DIC_SZ + \
45 FORTH_STACK_SZ + FORTH_TIB_SZ)
46 #define FORTH_BOOT_ADDR 0x0000
57 #define FORTH_RAM_ADDR FORTH_ROM_SZ
58 #define FORTH_UVAR_ADDR FORTH_RAM_ADDR
59 #define FORTH_DIC_ADDR (FORTH_UVAR_ADDR + FORTH_UVAR_SZ)
60 #define FORTH_STACK_ADDR (FORTH_DIC_ADDR + FORTH_DIC_SZ)
61 #define FORTH_STACK_TOP (FORTH_STACK_ADDR + FORTH_STACK_SZ)
62 #define FORTH_TIB_ADDR (FORTH_STACK_TOP)
63 #define FORTH_MAX_ADDR (FORTH_TIB_ADDR + FORTH_TIB_SZ)
168 #endif // __EFORTH_CONFIG_H
int32_t S32
32-bit signed integer
Definition: eforth_config.h:24
void(* CFP)()
function pointer
Definition: eforth_config.h:30
int16_t S16
16-bit signed integer
Definition: eforth_config.h:25
uint32_t U32
32-bit unsigned integer
Definition: eforth_config.h:20
U16 IU
instruction/address unit (16-bit)
Definition: eforth_config.h:28
uint16_t U16
16-bit unsigned integer
Definition: eforth_config.h:21
S16 DU
data/cell unit
Definition: eforth_config.h:29
int8_t S8
8-bit signed integer
Definition: eforth_config.h:26
uint8_t U8
8-bit unsigned integer
Definition: eforth_config.h:22