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

1.1       pazsan      1: \ Parameter for target systems                         06oct92py
                      2: 
                      3: \ Copyright (C) 1995 Free Software Foundation, Inc.
                      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.6       pazsan     38:     S" $6FF0 SP 2* ! $7FF0 RP 2* ! $7000 2* UP 2* ! ' boot >body IP 2* !" evaluate    
1.1       pazsan     39:     decimal ;
1.2       pazsan     40: 
                     41: >ENVIRON
                     42: 
1.3       pazsan     43: false Constant file            \ controls the presence of the
                     44:                                \ file access wordset
                     45: false Constant OS              \ flag to indicate a operating system
1.2       pazsan     46: 
1.3       pazsan     47: false Constant prims           \ true: primitives are c-code
                     48: 
                     49: false Constant floating                \ floating point wordset is present
                     50: 
                     51: false Constant glocals         \ gforth locals are present
                     52:                                \ will be loaded
                     53: false Constant dcomps          \ double number comparisons
                     54: 
                     55: false Constant hash            \ hashing primitives are loaded/present
                     56: 
                     57: false Constant xconds          \ used together with glocals,
                     58:                                \ special conditionals supporting gforths'
                     59:                                \ local variables
                     60: false Constant header          \ save a header information
                     61: 
                     62: true Constant ec
                     63: false Constant crlf
1.4       pazsan     64: 
                     65: cell 2 = [IF] 32 [ELSE] 256 [THEN] KB Constant kernel-size
                     66: 
                     67: 16 KB          Constant stack-size
                     68: 15 KB 512 +    Constant fstack-size
                     69: 15 KB          Constant rstack-size
                     70: 14 KB 512 +    Constant lstack-size

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