File:  [gforth] / gforth / startup.fs
Revision 1.24: download - view: text, annotated - select for diffs
Mon Sep 1 23:07:09 1997 UTC (26 years, 7 months ago) by jwilke
Branches: MAIN
CVS tags: HEAD
Dos Changes:
!!Moved:
engine/32bit.h moved to arch/generic/machine.h
cache.c moved to arch/hppa/
cleanalign.c moved to engine/
!!New Files:
envos.* *.bsh
Instead of linking arch/xy/machine.h an custom include path is used
engine.a engine.o main.o makes with engine/Makefile now
history.fs and startup.fs works for dos and unix now
environment variable osclass is set in envos.fs, wich is os-specific
any comments?
supressed some warnings in main.c

    1: \ startup file
    2: 
    3: \ Copyright (C) 1995 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., 675 Mass Ave, Cambridge, MA 02139, USA.
   20: 
   21: warnings off
   22: include search.fs
   23: include environ.fs
   24: include envos.fs
   25: include errors.fs
   26: include extend.fs              \ load core-extended
   27: include hash.fs
   28: 
   29: \ require interpretation.fs
   30: \ include float.fs
   31: \ include search.fs
   32: include glocals.fs
   33: include wordinfo.fs
   34: include vt100.fs
   35: \ include colorize.fs
   36: include see.fs
   37: include see-ext.fs
   38: include bufio.fs
   39: include debug.fs
   40: require stuff.fs
   41: include history.fs
   42: s" os-class" environment? dup [IF] drop s" dos" compare 0= [THEN]
   43: [IF]
   44: include doskey.fs
   45: [ELSE]
   46: include vt100key.fs
   47: [THEN]
   48: require debugs.fs
   49: require assert.fs
   50: require blocks.fs
   51: require intcomp.fs
   52: require savesys.fs
   53: 
   54: \ define the environmental queries for all the loaded wordsets
   55: \ since the blocks wordset is loaded in a single file, its queries
   56: \ are defined there
   57: \ queries for other things than presence of a wordset are answered
   58: \ in environ.fs
   59: get-current environment-wordlist set-current
   60: true constant double
   61: true constant double-ext
   62: true constant exception
   63: true constant exception-ext
   64: true constant facility
   65: \ !! facility-ext
   66: true constant file
   67: true constant file-ext
   68: true constant floating
   69: true constant floating-ext
   70: true constant locals
   71: true constant locals-ext
   72: true constant memory-alloc
   73: true constant memory-alloc-ext
   74: true constant tools
   75: \ !! tools-ext
   76: true constant search-order
   77: true constant search-order-ext
   78: true constant string
   79: true constant string-ext
   80: set-current
   81: 
   82: warnings on
   83: 
   84: require siteinit.fs

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