added deprecation note, and link to Uroborus
[urforth.git] / meta / meta-14-asm-defconsts.f
blob2e847b46dc4b77edcb0e59839965f80ee4a648bf
1 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2 ;; UrForth level 1: self-hosting 32-bit Forth compiler
3 ;; Metacompiler
4 ;; Copyright (C) 2020 Ketmar Dark // Invisible Vector
5 ;; GPLv3 ONLY
6 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
7 ;; setup some predefined constants
8 ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
10 : tc-define-config-constants ( -- )
11 " URFORTH_BSS_RESERVE" tc-image-vsize 65536 max asmx86:asm-Make-Constant
13 " URFORTH_ALIGN_HEADERS" tc-align-headers notnot asmx86:asm-Make-Constant
14 " URFORTH_ALIGN_CFA" tc-align-cfa notnot asmx86:asm-Make-Constant
15 " URFORTH_ALIGN_PFA" tc-align-pfa notnot asmx86:asm-Make-Constant
16 " URFORTH_ALIGN_CFA_PFA" tc-align-cfa tc-align-pfa or notnot asmx86:asm-Make-Constant
18 " URFORTH_CFA_SIZE" tc-align-pfa if 8 else 5 endif asmx86:asm-Make-Constant
20 " URFORTH_DYNAMIC_BINARY" tc-dynamic-binary notnot asmx86:asm-Make-Constant
22 " URFORTH_NAME_HASH_TYPE" tc-wordhash-type asmx86:asm-Make-Constant
24 " URFORTH_NAME_HASH_ELF" tc-nhash-elf asmx86:asm-Make-Constant
25 " URFORTH_NAME_HASH_JOAAT" tc-nhash-joaat asmx86:asm-Make-Constant
26 " URFORTH_NAME_HASH_ROT" tc-nhash-rot asmx86:asm-Make-Constant
28 " URFORTH_DEBUGGER_ENABLED" tc-debugger-enabled notnot asmx86:asm-Make-Constant
29 " URFORTH_DEBUG_INFO_ENABLED" tc-debug-info-enabled notnot asmx86:asm-Make-Constant
31 " URFORTH_MAX_WORD_NAME_LENGTH" tc-max-word-name-length asmx86:asm-Make-Constant
33 " URFORTH_MAX_USERAREA_SIZE" tc-#userarea asmx86:asm-Make-Constant
34 " URFORTH_MAX_USERAREA_CELLS" tc-#userarea 3 + 2 rshift asmx86:asm-Make-Constant
36 " URFORTH_TLS_TYPE_NONE" tc-tls-none asmx86:asm-Make-Constant
37 " URFORTH_TLS_TYPE_FS" tc-tls-fs asmx86:asm-Make-Constant
38 " URFORTH_TLS_TYPE" tc-tls-type asmx86:asm-Make-Constant
40 " URFORTH_LINUX_X86" tc-LINUX/X86 asmx86:asm-Make-Constant
41 " URFORTH_WIN32" tc-WIN32 asmx86:asm-Make-Constant
42 " URFORTH_OS" tc-os asmx86:asm-Make-Constant