File:  [gforth] / gforth / machpc.fs.in
Revision 1.18: download - view: text, annotated - select for diffs
Mon Apr 9 22:36:01 2007 UTC (16 years, 11 months ago) by pazsan
Branches: MAIN
CVS tags: HEAD
Some stuff to get closer to run Gforth on NXT

    1: \ machpc.fs is generated; source: machpc.fs.in
    2: \ generic mach file for pc gforth				03sep97jaw
    3: 
    4: \ Copyright (C) 1995,1996,1997,2000,2003,2005 Free Software Foundation, Inc.
    5: 
    6: \ This file is part of Gforth.
    7: 
    8: \ Gforth is free software; you can redistribute it and/or
    9: \ modify it under the terms of the GNU General Public License
   10: \ as published by the Free Software Foundation; either version 2
   11: \ of the License, or (at your option) any later version.
   12: 
   13: \ This program is distributed in the hope that it will be useful,
   14: \ but WITHOUT ANY WARRANTY; without even the implied warranty of
   15: \ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   16: \ GNU General Public License for more details.
   17: 
   18: \ You should have received a copy of the GNU General Public License
   19: \ along with this program; if not, write to the Free Software
   20: \ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
   21: 
   22: true DefaultValue NIL  \ relocating
   23: 
   24: >ENVIRON
   25: 
   26: @EC_MODE@ DefaultValue ec
   27: 
   28: T has? ec H 0= [IF]
   29: true DefaultValue file		\ controls the presence of the
   30: 				\ file access wordset
   31: true DefaultValue OS		\ flag to indicate a operating system
   32: 
   33: @FFCALLFLAG@ DefaultValue ffcall \ Foreign Function Calls
   34: 
   35: @LIBFFIFLAG@ DefaultValue libffi \ Foreign Function Calls
   36: 
   37: @OLDCALLFLAG@ DefaultValue oldcall \ old Foreign Function Calls
   38: 
   39: true DefaultValue prims		\ true: primitives are c-code
   40: 
   41: true DefaultValue floating	\ floating point wordset is present
   42: 
   43: true DefaultValue glocals	\ gforth locals are present
   44: 				\ will be loaded
   45: true DefaultValue dcomps	\ double number comparisons
   46: 
   47: true DefaultValue hash		\ hashing primitives are loaded/present
   48: 
   49: true DefaultValue xconds	\ used together with glocals,
   50: 				\ special conditionals supporting gforths'
   51: 				\ local variables
   52: true DefaultValue header	\ save a header information
   53: 
   54: true DefaultValue backtrace	\ enables backtrace code
   55: 
   56: true DefaultValue new-input	\ enables object oriented input
   57: 
   58: @PEEPHOLEFLAG@ DefaultValue peephole      \ enables peephole optimizer
   59: 
   60: true DefaultValue primcentric   \ enables primcentric code
   61: 
   62: true DefaultValue abranch       \ enables absolute branches
   63: 
   64: false DefaultValue control-rack \ disable return stack use for control flow
   65: 
   66: false DefaultValue crlf
   67: 
   68: $100 DefaultValue kernel-start
   69: cell 2 = [IF] &32 KB [ELSE] $100000 cells [THEN] DefaultValue kernel-size
   70: 
   71: &16 KB		DefaultValue stack-size
   72: &16 KB		DefaultValue fstack-size
   73: &15 KB		DefaultValue rstack-size
   74: &14 KB &512 +	DefaultValue lstack-size
   75: [ELSE]
   76: false DefaultValue file		\ controls the presence of the
   77: 				\ file access wordset
   78: false DefaultValue OS		\ flag to indicate a operating system
   79: 
   80: true SetValue relocate
   81: 
   82: false DefaultValue ffcall \ Foreign Function Calls
   83: 
   84: false DefaultValue libffi \ Foreign Function Calls
   85: 
   86: false DefaultValue oldcall \ old Foreign Function Calls
   87: 
   88: true DefaultValue prims		\ true: primitives are c-code
   89: 
   90: false DefaultValue floating	\ floating point wordset is present
   91: 
   92: false DefaultValue glocals	\ gforth locals are present
   93: 				\ will be loaded
   94: true DefaultValue dcomps	\ double number comparisons
   95: 
   96: false DefaultValue hash		\ hashing primitives are loaded/present
   97: 
   98: false DefaultValue xconds	\ used together with glocals,
   99: 				\ special conditionals supporting gforths'
  100: 				\ local variables
  101: true DefaultValue header	\ save a header information
  102: 
  103: false DefaultValue backtrace	\ enables backtrace code
  104: 
  105: false DefaultValue new-input	\ enables object oriented input
  106: 
  107: false DefaultValue peephole     \ enables peephole optimizer
  108: 
  109: true DefaultValue primcentric   \ enables primcentric code
  110: 
  111: true DefaultValue f83headerstring
  112: 
  113: true DefaultValue abranch       \ enables absolute branches
  114: 
  115: true DefaultValue control-rack  \ disable return stack use for control flow
  116: 
  117: false DefaultValue crlf
  118: 
  119: true DefaultValue flash
  120:     
  121: $0 DefaultValue kernel-start   \ no artificial offset
  122: &48 KB DefaultValue kernel-size
  123: 
  124: &1 KB		DefaultValue stack-size
  125: &0 KB		DefaultValue fstack-size
  126: &1 KB		DefaultValue rstack-size
  127: &1 KB		DefaultValue lstack-size
  128: [THEN]

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