File:  [gforth] / gforth / arch / misc / mach.fs
Revision 1.11: download - view: text, annotated - select for diffs
Sun Mar 9 15:17:00 2003 UTC (21 years ago) by anton
Branches: MAIN
CVS tags: v0-6-1, v0-6-0, HEAD
updated copyright years

    1: \ Parameter for target systems                         06oct92py
    2: 
    3: \ Copyright (C) 1995,2003 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
   19: \ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
   20: 
   21:     2 Constant cell
   22:     1 Constant cell<<
   23:     4 Constant cell>bit
   24:     8 Constant bits/char
   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: 
   34: : prims-include  ." Include primitives" cr s" ~+/arch/misc/prim.fs" included ;
   35: : asm-include    ." Include assembler" cr s" ~+/arch/misc/asm.fs" included ;
   36: : >boot
   37:     hex
   38:     S" data-stack-top SP' 2* ! return-stack-top RP' 2* ! ' boot >body IP' 2* !" 
   39:     evaluate decimal ;
   40: 
   41: >ENVIRON
   42: 
   43: false DefaultValue file		\ controls the presence of the
   44: 				\ file access wordset
   45: false DefaultValue OS		\ flag to indicate a operating system
   46: 
   47: false DefaultValue prims		\ true: primitives are c-code
   48: 
   49: false DefaultValue floating		\ floating point wordset is present
   50: 
   51: false DefaultValue glocals		\ gforth locals are present
   52: 				\ will be loaded
   53: false DefaultValue dcomps		\ double number comparisons
   54: 
   55: false DefaultValue hash		\ hashing primitives are loaded/present
   56: 
   57: false DefaultValue xconds		\ used together with glocals,
   58: 				\ special conditionals supporting gforths'
   59: 				\ local variables
   60: false DefaultValue header		\ save a header information
   61: 
   62: true DefaultValue ec
   63: false DefaultValue crlf
   64: false SetValue new-input
   65: false SetValue peephole
   66: true SetValue abranch       \ enables absolute branches
   67: 
   68: false DefaultValue rom
   69: 
   70: cell 2 = [IF] 32 [ELSE] 256 [THEN] KB DefaultValue kernel-size
   71: 
   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>