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,2007,2008 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 3
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, see http://www.gnu.org/licenses/.
20
21true DefaultValue NIL  \ relocating
22
23>ENVIRON
24
25@EC_MODE@ DefaultValue ec
26
27T has? ec H 0= [IF]
28true DefaultValue file		\ controls the presence of the
29				\ file access wordset
30true DefaultValue OS		\ flag to indicate a operating system
31
32true DefaultValue prims		\ true: primitives are c-code
33
34true DefaultValue floating	\ floating point wordset is present
35
36true DefaultValue glocals	\ gforth locals are present
37				\ will be loaded
38true DefaultValue dcomps	\ double number comparisons
39
40true DefaultValue hash		\ hashing primitives are loaded/present
41
42true DefaultValue xconds	\ used together with glocals,
43				\ special conditionals supporting gforths'
44				\ local variables
45true DefaultValue header	\ save a header information
46
47true DefaultValue backtrace	\ enables backtrace code
48
49true DefaultValue new-input	\ enables object oriented input
50
51@PEEPHOLEFLAG@ DefaultValue peephole      \ enables peephole optimizer
52
53true DefaultValue primcentric   \ enables primcentric code
54
55true DefaultValue abranch       \ enables absolute branches
56
57false DefaultValue control-rack \ disable return stack use for control flow
58
59false DefaultValue crlf
60
61$100 DefaultValue kernel-start
62cell 2 = [IF] &32 KB [ELSE] $100000 cells [THEN] DefaultValue kernel-size
63
64&16 KB		DefaultValue stack-size
65&16 KB		DefaultValue fstack-size
66&15 KB		DefaultValue rstack-size
67&14 KB &512 +	DefaultValue lstack-size
68[ELSE]
69false DefaultValue file		\ controls the presence of the
70				\ file access wordset
71false DefaultValue OS		\ flag to indicate a operating system
72
73true SetValue relocate
74
75false DefaultValue ffcall \ Foreign Function Calls
76
77false DefaultValue libffi \ Foreign Function Calls
78
79false DefaultValue oldcall \ old Foreign Function Calls
80
81true DefaultValue prims		\ true: primitives are c-code
82
83false DefaultValue floating	\ floating point wordset is present
84
85false DefaultValue glocals	\ gforth locals are present
86				\ will be loaded
87true DefaultValue dcomps	\ double number comparisons
88
89false DefaultValue hash		\ hashing primitives are loaded/present
90
91false DefaultValue xconds	\ used together with glocals,
92				\ special conditionals supporting gforths'
93				\ local variables
94true DefaultValue header	\ save a header information
95
96false DefaultValue backtrace	\ enables backtrace code
97
98false DefaultValue new-input	\ enables object oriented input
99
100false DefaultValue peephole     \ enables peephole optimizer
101
102true DefaultValue primcentric   \ enables primcentric code
103
104true DefaultValue f83headerstring
105
106true DefaultValue abranch       \ enables absolute branches
107
108true DefaultValue control-rack  \ disable return stack use for control flow
109
110false DefaultValue crlf
111
112true DefaultValue flash
113
114$0 DefaultValue kernel-start   \ no artificial offset
115&48 KB DefaultValue kernel-size
116
117&1 KB		DefaultValue stack-size
118&0 KB		DefaultValue fstack-size
119&1 KB		DefaultValue rstack-size
120&1 KB		DefaultValue lstack-size
121[THEN]
122