File:  [gforth] / gforth / arch / 4stack / mach.fs
Revision 1.15: download - view: text, annotated - select for diffs
Sat Nov 1 22:19:30 2008 UTC (14 years ago) by anton
Branches: MAIN
CVS tags: v0-7-0, HEAD
updated copyright years

    1: \ Parameter for target systems                         06oct92py
    2: 
    3: \ Copyright (C) 1995,2000,2003,2007,2008 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:     4 Constant cell
   21:     2 Constant cell<<
   22:     5 Constant cell>bit
   23:     8 Constant bits/char
   24:     8 Constant float
   25:     8 Constant /maxalign
   26:  true Constant bigendian
   27: ( true=big, false=little )
   28: 
   29: \ feature list
   30: 
   31: true  Constant NIL  \ relocating
   32: 
   33: : prims-include  ." Include primitives" cr s" ~+/arch/4stack/prim.fs" included ;
   34: : asm-include    ." Include assembler" cr s" ~+/arch/4stack/asm.fs" included ;
   35: 
   36: : >boot
   37:     S" ' boot >body $800 ! here $804 !" evaluate ;
   38: 
   39: >ENVIRON
   40: 
   41: false SetValue file		\ controls the presence of the
   42: 				\ file access wordset
   43: false SetValue OS		\ flag to indicate a operating system
   44: 
   45: false SetValue prims		\ true: primitives are c-code
   46: 
   47: false SetValue floating		\ floating point wordset is present
   48: 
   49: false SetValue glocals		\ gforth locals are present
   50: 				\ will be loaded
   51: false SetValue dcomps		\ double number comparisons
   52: 
   53: false SetValue hash		\ hashing primitives are loaded/present
   54: 
   55: false SetValue xconds		\ used together with glocals,
   56: 				\ special conditionals supporting gforths'
   57: 				\ local variables
   58: false SetValue header		\ save a header information
   59: 
   60: true SetValue ec
   61: false SetValue crlf
   62: false SetValue ITC
   63: false SetValue new-input
   64: false SetValue peephole
   65: true SetValue abranch       \ enables absolute branches
   66: false SetValue standardthreading
   67: 
   68: false SetValue rom
   69: false SetValue flash
   70: 
   71: true SetValue compiler
   72: false SetValue primtrace
   73: true SetValue no-userspace
   74: true SetValue relocate
   75: 
   76: 0 SetValue kernel-start
   77: cell 2 = [IF] 32 [ELSE] 256 [THEN] KB SetValue kernel-size
   78: 
   79: 16 KB		Constant stack-size
   80: 15 KB 512 +	Constant fstack-size
   81: 15 KB		Constant rstack-size
   82: 14 KB 512 +	Constant lstack-size

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