Annotation of gforth/arch/misc/mach.fs, revision 1.15

1.1       pazsan      1: \ Parameter for target systems                         06oct92py
                      2: 
1.11      anton       3: \ Copyright (C) 1995,2003 Free Software Foundation, Inc.
1.1       pazsan      4: 
                      5: \ This file is part of Gforth.
                      6: 
                      7: \ Gforth is free software; you can redistribute it and/or
                      8: \ modify it under the terms of the GNU General Public License
1.15    ! anton       9: \ as published by the Free Software Foundation, either version 3
1.1       pazsan     10: \ of the License, or (at your option) any later version.
                     11: 
                     12: \ This program is distributed in the hope that it will be useful,
                     13: \ but WITHOUT ANY WARRANTY; without even the implied warranty of
                     14: \ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                     15: \ GNU General Public License for more details.
                     16: 
                     17: \ You should have received a copy of the GNU General Public License
1.15    ! anton      18: \ along with this program. If not, see http://www.gnu.org/licenses/.
1.1       pazsan     19: 
                     20:     2 Constant cell
                     21:     1 Constant cell<<
                     22:     4 Constant cell>bit
1.5       jwilke     23:     8 Constant bits/char
1.1       pazsan     24:     8 Constant float
                     25:     2 Constant /maxalign
                     26:  true Constant bigendian
                     27: ( true=big, false=little )
                     28: 
                     29: \ feature list
                     30: 
                     31: false Constant NIL  \ relocating
                     32: 
1.12      jwilke     33: : prims-include  ." Include primitives" cr s" arch/misc/prim.fs" included ;
                     34: : asm-include    ." Include assembler" cr s" arch/misc/asm.fs" included ;
1.1       pazsan     35: : >boot
                     36:     hex
1.9       jwilke     37:     S" data-stack-top SP' 2* ! return-stack-top RP' 2* ! ' boot >body IP' 2* !" 
                     38:     evaluate decimal ;
1.2       pazsan     39: 
                     40: >ENVIRON
                     41: 
1.13      pazsan     42: false SetValue file            \ controls the presence of the
1.3       pazsan     43:                                \ file access wordset
1.13      pazsan     44: false SetValue OS              \ flag to indicate a operating system
1.2       pazsan     45: 
1.13      pazsan     46: false SetValue prims           \ true: primitives are c-code
1.3       pazsan     47: 
1.13      pazsan     48: false SetValue floating                \ floating point wordset is present
1.3       pazsan     49: 
1.13      pazsan     50: false SetValue glocals         \ gforth locals are present
1.3       pazsan     51:                                \ will be loaded
1.13      pazsan     52: false SetValue dcomps          \ double number comparisons
1.3       pazsan     53: 
1.13      pazsan     54: false SetValue hash            \ hashing primitives are loaded/present
1.3       pazsan     55: 
1.13      pazsan     56: false SetValue xconds          \ used together with glocals,
1.3       pazsan     57:                                \ special conditionals supporting gforths'
                     58:                                \ local variables
1.13      pazsan     59: false SetValue header          \ save a header information
1.3       pazsan     60: 
1.14      pazsan     61: true SetValue ec
1.13      pazsan     62: false SetValue crlf
                     63: true SetValue ITC
1.8       pazsan     64: false SetValue new-input
                     65: false SetValue peephole
1.10      pazsan     66: true SetValue abranch       \ enables absolute branches
1.9       jwilke     67: 
1.13      pazsan     68: \ true SetValue rom
1.4       pazsan     69: 
1.13      pazsan     70: \ true SetValue compiler
                     71: \ false SetValue primtrace
                     72: \ true SetValue no-userspace
1.12      jwilke     73: 
                     74: 
                     75: \ cell 2 = [IF] 32 [ELSE] 256 [THEN] KB Constant kernel-size
1.4       pazsan     76: 
1.13      pazsan     77: 16 KB          SetValue stack-size
                     78: 15 KB 512 +    SetValue fstack-size
                     79: 15 KB          SetValue rstack-size
                     80: 14 KB 512 +    SetValue lstack-size
                     81: 
                     82: 0 SetValue kernel-start
                     83: cell 2 = [IF] 32 [ELSE] 256 [THEN] KB SetValue kernel-size
                     84: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>