Annotation of gforth/arch/4stack/mach.fs, revision 1.8
1.1 pazsan 1: \ Parameter for target systems 06oct92py
2:
1.5 anton 3: \ Copyright (C) 1995,2000 Free Software Foundation, Inc.
1.1 pazsan 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
1.6 anton 19: \ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
1.1 pazsan 20:
21: 4 Constant cell
22: 2 Constant cell<<
23: 5 Constant cell>bit
1.4 pazsan 24: 8 Constant bits/char
1.1 pazsan 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:
1.3 pazsan 34: : prims-include ." Include primitives" cr s" ~+/arch/4stack/prim.fs" included ;
35: : asm-include ." Include assembler" cr s" ~+/arch/4stack/asm.fs" included ;
1.1 pazsan 36:
37: : >boot
38: S" ' boot >body $800 ! here $804 !" evaluate ;
1.2 pazsan 39:
40: >ENVIRON
41:
1.8 ! pazsan 42: false SetValue file \ controls the presence of the
1.2 pazsan 43: \ file access wordset
1.8 ! pazsan 44: false SetValue OS \ flag to indicate a operating system
1.2 pazsan 45:
1.8 ! pazsan 46: false SetValue prims \ true: primitives are c-code
1.2 pazsan 47:
1.8 ! pazsan 48: false SetValue floating \ floating point wordset is present
1.2 pazsan 49:
1.8 ! pazsan 50: false SetValue glocals \ gforth locals are present
1.2 pazsan 51: \ will be loaded
1.8 ! pazsan 52: false SetValue dcomps \ double number comparisons
1.2 pazsan 53:
1.8 ! pazsan 54: false SetValue hash \ hashing primitives are loaded/present
1.2 pazsan 55:
1.8 ! pazsan 56: false SetValue xconds \ used together with glocals,
1.2 pazsan 57: \ special conditionals supporting gforths'
58: \ local variables
1.8 ! pazsan 59: false SetValue header \ save a header information
1.2 pazsan 60:
1.8 ! pazsan 61: false SetValue ec
! 62: false SetValue crlf
! 63: false SetValue ITC
1.7 pazsan 64: false SetValue new-input
65: false SetValue peephole
1.8 ! pazsan 66: true SetValue abranch \ enables absolute branches
1.3 pazsan 67:
1.8 ! pazsan 68: 0 SetValue kernel-start
! 69: cell 2 = [IF] 32 [ELSE] 256 [THEN] KB SetValue kernel-size
1.3 pazsan 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>