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

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
                      9: \ as published by the Free Software Foundation; either version 2
                     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
                     18: \ along with this program; if not, write to the Free Software
1.7       anton      19: \ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
1.1       pazsan     20: 
                     21:     2 Constant cell
                     22:     1 Constant cell<<
                     23:     4 Constant cell>bit
1.5       jwilke     24:     8 Constant bits/char
1.1       pazsan     25:     8 Constant float
                     26:     2 Constant /maxalign
                     27:  true Constant bigendian
                     28: ( true=big, false=little )
                     29: 
                     30: \ feature list
                     31: 
                     32: false Constant NIL  \ relocating
                     33: 
1.4       pazsan     34: : prims-include  ." Include primitives" cr s" ~+/arch/misc/prim.fs" included ;
                     35: : asm-include    ." Include assembler" cr s" ~+/arch/misc/asm.fs" included ;
1.1       pazsan     36: : >boot
                     37:     hex
1.9       jwilke     38:     S" data-stack-top SP' 2* ! return-stack-top RP' 2* ! ' boot >body IP' 2* !" 
                     39:     evaluate decimal ;
1.2       pazsan     40: 
                     41: >ENVIRON
                     42: 
1.10      pazsan     43: false DefaultValue file                \ controls the presence of the
1.3       pazsan     44:                                \ file access wordset
1.10      pazsan     45: false DefaultValue OS          \ flag to indicate a operating system
1.2       pazsan     46: 
1.10      pazsan     47: false DefaultValue prims               \ true: primitives are c-code
1.3       pazsan     48: 
1.10      pazsan     49: false DefaultValue floating            \ floating point wordset is present
1.3       pazsan     50: 
1.10      pazsan     51: false DefaultValue glocals             \ gforth locals are present
1.3       pazsan     52:                                \ will be loaded
1.10      pazsan     53: false DefaultValue dcomps              \ double number comparisons
1.3       pazsan     54: 
1.10      pazsan     55: false DefaultValue hash                \ hashing primitives are loaded/present
1.3       pazsan     56: 
1.10      pazsan     57: false DefaultValue xconds              \ used together with glocals,
1.3       pazsan     58:                                \ special conditionals supporting gforths'
                     59:                                \ local variables
1.10      pazsan     60: false DefaultValue header              \ save a header information
1.3       pazsan     61: 
1.10      pazsan     62: true DefaultValue ec
                     63: false DefaultValue crlf
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.10      pazsan     68: false DefaultValue rom
1.4       pazsan     69: 
1.10      pazsan     70: cell 2 = [IF] 32 [ELSE] 256 [THEN] KB DefaultValue kernel-size
1.4       pazsan     71: 
1.10      pazsan     72: 16 KB          DefaultValue stack-size
                     73: 15 KB 512 +    DefaultValue fstack-size
                     74: 15 KB          DefaultValue rstack-size
                     75: 14 KB 512 +    DefaultValue lstack-size

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