File:
[gforth] /
gforth /
Attic /
machpc.fs
Revision
1.11:
download - view:
text,
annotated -
select for diffs
Wed Sep 12 14:45:39 2001 UTC (21 years, 4 months 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.
\ generic mach file for pc gforth 03sep97jaw
\ Copyright (C) 1995,1996,1997,2000 Free Software Foundation, Inc.
\ This file is part of Gforth.
\ Gforth is free software; you can redistribute it and/or
\ modify it under the terms of the GNU General Public License
\ as published by the Free Software Foundation; either version 2
\ of the License, or (at your option) any later version.
\ This program is distributed in the hope that it will be useful,
\ but WITHOUT ANY WARRANTY; without even the implied warranty of
\ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
\ GNU General Public License for more details.
\ You should have received a copy of the GNU General Public License
\ along with this program; if not, write to the Free Software
\ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
>ENVIRON
true DefaultValue relocate
true DefaultValue file \ controls the presence of the
\ file access wordset
true DefaultValue OS \ flag to indicate a operating system
true DefaultValue prims \ true: primitives are c-code
true DefaultValue floating \ floating point wordset is present
true DefaultValue glocals \ gforth locals are present
\ will be loaded
true DefaultValue dcomps \ double number comparisons
true DefaultValue hash \ hashing primitives are loaded/present
true DefaultValue xconds \ used together with glocals,
\ special conditionals supporting gforths'
\ local variables
true DefaultValue header \ save a header information
true DefaultValue backtrace \ enables backtrace code
true DefaultValue new-input \ enables object oriented input
true DefaultValue peephole \ enables peephole optimizer
false DefaultValue ec
false DefaultValue crlf
cell 2 = [IF] &32 [ELSE] &256 [THEN] KB DefaultValue kernel-size
&16 KB DefaultValue stack-size
&15 KB &512 + DefaultValue fstack-size
&15 KB DefaultValue rstack-size
&14 KB &512 + DefaultValue lstack-size
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>