1 /* Add any global #define desired here */ 2 3 #ifndef BIT64 4 #define CELL int32_t 5 #define CELL_MIN INT_MIN + 1 6 #define CELL_MAX INT_MAX - 1 7 #else 8 #define CELL int64_t 9 #define CELL_MIN LLONG_MIN + 1 10 #define CELL_MAX LLONG_MAX - 1 11 #endif 12 13 #ifndef IMAGE_SIZE 14 #define IMAGE_SIZE 524288 /* Amount of RAM, in cells */ 15 #endif 16 17 #ifndef ADDRESSES 18 #define ADDRESSES 256 /* Depth of address stack */ 19 #endif 20 21 #ifndef STACK_DEPTH 22 #define STACK_DEPTH 256 /* Depth of data stack */ 23 #endif 24 25 #define TIB 1025 /* Location of TIB */ 26 27 #define D_OFFSET_LINK 0 /* Dictionary Format Info. Update if */ 28 #define D_OFFSET_XT 1 /* you change the dictionary fields. */ 29 #define D_OFFSET_CLASS 2 30 #define D_OFFSET_NAME 3 31 32 #ifdef ENABLE_SOCKETS 33 #define NUM_DEVICES 9 34 #else 35 #define NUM_DEVICES 8 /* Set the number of I/O devices */ 36 #endif 37 38 #define MAX_OPEN_FILES 32 39