File:  [gforth] / gforth / arch / misc / mach.fs
Revision 1.16: download - view: text, annotated - select for diffs
Mon Dec 31 19:02:24 2007 UTC (14 years, 11 months ago) by anton
Branches: MAIN
CVS tags: v0-7-0, HEAD
updated copyright year after changing license notice

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