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

    1: \ Parameter for target systems                         06oct92py
    2: 
    3: \ Copyright (C) 1995,2000,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:     4 Constant cell
   22:     2 Constant cell<<
   23:     5 Constant cell>bit
   24:     8 Constant bits/char
   25:     8 Constant float
   26:     8 Constant /maxalign
   27:  true Constant bigendian
   28: ( true=big, false=little )
   29: 
   30: \ feature list
   31: 
   32: true  Constant NIL  \ relocating
   33: 
   34: : prims-include  ." Include primitives" cr s" ~+/arch/4stack/prim.fs" included ;
   35: : asm-include    ." Include assembler" cr s" ~+/arch/4stack/asm.fs" included ;
   36: 
   37: : >boot
   38:     S" ' boot >body $800 ! here $804 !" evaluate ;
   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: false SetValue ec
   62: false SetValue crlf
   63: false SetValue ITC
   64: false SetValue new-input
   65: false SetValue peephole
   66: true SetValue abranch       \ enables absolute branches
   67: 
   68: 0 SetValue kernel-start
   69: cell 2 = [IF] 32 [ELSE] 256 [THEN] KB SetValue kernel-size
   70: 
   71: 16 KB		Constant stack-size
   72: 15 KB 512 +	Constant fstack-size
   73: 15 KB		Constant rstack-size
   74: 14 KB 512 +	Constant lstack-size

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