( * * LANGUAGE : ANS Forth * PROJECT : Forth enviroments * DESCRIPTION : Set up Forth according to personal preferences. * CATEGORY : Configuration * AUTHOR : Willem Ouwerkerk * LAST CHANGE : December 23, 1991, Marcel Hendrix * ) ( -- Edit this file, as needed. -- Option 1 is strongly recommended. -- OS is an extended operating system interface. -- ) ( Option 0 ) \ 10000 GROW \ Increase ALLOT space. Note: with a C server \ only low values of GROW work => Ask for a new binary. \ Default value of the flag ANSI OFF \ ON Generate warnings for non ANSI code SECURE ON \ OFF Use compiler security \ CASESENSITIVE ON \ OFF Upper/lower case is significant WARNING ON \ ON Warn about redefinitions AWARNING ON \ ON Warn about unavailable assembler instructions INCLUDE needs.frt ( Option 1 ) INCLUDE miscutil.frt \ general extensions; powers, random, defer, +E. ( Option 2 ) INCLUDE os.frt \ OS interface. Recommended. INCLUDE os.prf \ default command set. ( Option 3 ) \ INCLUDE proced.frt \ a command line editor with history mechanism \ INCLUDE proced.prf \ matching function key definitions for PROCED \ PROCED \ install this line editor in place of ACCEPT . ( Option 4 ) \ INCLUDE help.frt \ on-line help system NEEDS -terminal ( Option 5 ) \ INCLUDE glossary.frt \ Documentation tools. ( Option 6 ) \ INCLUDE SEE.FRT \ decompiler ( Option 7 ) \ You may want to edit the settings for your hardware! MS-DOS? [IF] ( DOS) #5000000 RESIZE-MEMORY [THEN] WIN95? [IF] ( Win95) ( not needed ) [THEN] WINNT? [IF] ( WinNT) ( not needed ) [THEN] ( also for Win 2000 ) TFORTH? [IF] ( tForth) #8000000 RESIZE-MEMORY [THEN] MMURTL? [IF] ( MMURTL) #3000000 RESIZE-MEMORY [THEN] LINUX? [IF] ( Linux) ( not needed ) [THEN] ( option 8 ) \ Alignments; this is optimal for Intel P54C. LARGE influence. 1 _calign_ ! \ Do use alignments for *BEGIN* IF ELSE THEN etc. _align_ 3 4 FILL \ 4 byte alignments ( 8 for Athlon ) 2 _align_ 7 + C! \ align word headers? 1 = 16 bytes, 2 = 32 bytes, 4 = 64 bytes [DEFINED] FPU-ovf@ [IF] TRUE FPU-ovf! -- checks on FPU stack overflow and underflow [THEN] [DEFINED] EDI-used@ [IF] FALSE EDI-used! -- leave off until S-stack is rewritten [THEN] [DEFINED] LEA-used@ [IF] TRUE LEA-used! -- enables use of LEA instead of reg,reg [THEN] [DEFINED] P6-used@ [IF] FALSE P6-used! -- when P6, use FCOMI FCMOV etc. instructions [THEN] -- WinBoard specific ---------------------------------------------------------- \ Use this in the shortcut for Winboard (all on one line): \ "C:\Program Files\WinBoard\winboard.exe" /cp /fd="C:\dfwforth\ifwinnt\bin" \ /fcp='iwserver.exe #11 include ichess.prf' \ /scp=GNUChess INCLUDE /dfwforth/examples/games/chess/b_tscp06.frt INCLUDE /dfwforth/examples/games/chess/winboard.frt (* End *)