File:  [gforth] / gforth / Attic / machpc.fs
Revision 1.11: download - view: text, annotated - select for diffs
Wed Sep 12 14:45:39 2001 UTC (20 years ago) by jwilke
Branches: MAIN
CVS tags: HEAD
Image starts at $100 for cross-compilation now. A NULL-reference
is really a reference to address 0 and NIL is 0.
In the kernel image-header to get the headers address.
Image loading is only changed minimal: The stuff with fixed
addressed images is thrown out, because every image is relocatable.
No header change. Old images should work.

    1: \ generic mach file for pc gforth				03sep97jaw
    2: 
    3: \ Copyright (C) 1995,1996,1997,2000 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: 
   22: >ENVIRON
   23: 
   24: true DefaultValue relocate
   25: 
   26: true DefaultValue file		\ controls the presence of the
   27: 				\ file access wordset
   28: true DefaultValue OS		\ flag to indicate a operating system
   29: 
   30: true DefaultValue prims		\ true: primitives are c-code
   31: 
   32: true DefaultValue floating	\ floating point wordset is present
   33: 
   34: true DefaultValue glocals	\ gforth locals are present
   35: 				\ will be loaded
   36: true DefaultValue dcomps	\ double number comparisons
   37: 
   38: true DefaultValue hash		\ hashing primitives are loaded/present
   39: 
   40: true DefaultValue xconds	\ used together with glocals,
   41: 				\ special conditionals supporting gforths'
   42: 				\ local variables
   43: true DefaultValue header	\ save a header information
   44: 
   45: true DefaultValue backtrace	\ enables backtrace code
   46: 
   47: true DefaultValue new-input	\ enables object oriented input
   48: 
   49: true DefaultValue peephole      \ enables peephole optimizer
   50: 
   51: false DefaultValue ec
   52: false DefaultValue crlf
   53: 
   54: cell 2 = [IF] &32 [ELSE] &256 [THEN] KB DefaultValue kernel-size
   55: 
   56: &16 KB		DefaultValue stack-size
   57: &15 KB &512 +	DefaultValue fstack-size
   58: &15 KB		DefaultValue rstack-size
   59: &14 KB &512 +	DefaultValue lstack-size

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