summaryrefslogtreecommitdiffstats
path: root/sys/boot/ficl
Commit message (Collapse)AuthorAgeFilesLines
...
* Make comment reflect reality.dcs2000-06-121-1/+1
|
* Add setenv, getenv, setenv?, unsetenv, copyin and copyout to FICL.dcs2000-06-074-1/+229
|
* Remove a bug that caused local variables declarations in the formatdcs2000-06-071-1/+1
| | | | { | internal -- } to be rejected.
* Apply a number of fixes for the Alpha platform.dcs2000-06-027-57/+21
|
* Add something that was missing from the original 2.04 distribution.dcs2000-06-021-0/+148
|
* Add "int" sized manipulation words.dcs2000-06-014-14/+58
|
* Strip spaces and comments more agressively.dcs2000-05-261-14/+52
|
* Bring in FICL 2.04. No bump of loader version is required by thisdcs2000-05-269-162/+423
| | | | commit.
* Stop libficl from using floating point registers - this was cauingpeter2000-05-121-0/+3
| | | | | dictDelete() to fault early on the Alpha and was the original cause of the Alpha ficl failures.
* Lay the groundwork for on-demand dictionary expansion.dcs2000-05-053-5/+48
|
* Correct a bug whereby allocations to the dictionary would not be alloweddcs2000-05-041-3/+3
| | | | unless four times the space requested was available.
* Add heap?, so we can tell how much free space we have left.dcs2000-05-041-0/+9
|
* Implement a machine-independent (word size-independent) FICL_TRUE.dcs2000-01-281-1/+1
|
* ANS Forth for logical not is 0=, not invert. Replace wrong usage.dcs2000-01-281-2/+2
|
* Add testmain.o to CLEANFILES.dcs2000-01-281-1/+1
|
* Try my hand again at removing ugly testmain target.dcs2000-01-281-14/+12
|
* Zeroes structure before using it.dcs1999-11-271-0/+1
|
* Revert ill-considered simplification in 1.13.dcs1999-11-231-8/+11
| | | | Pointed by: peter
* Improve Makefile by using .PATH.dcs1999-11-231-2/+4
| | | | Taught by: peter
* Improve on ficl port to alpha.dcs1999-11-235-462/+7
| | | | | | | | | | | Files sysdep.[ch] are now in ${MACHINE_ARCH} subdirectory. Internal #if's used to identify the platform where removed. Make rule for target testmain was greatly simplified, because it was easier simplifying it than changing it to support the new location of sysdep.[ch]. (a repo-copy was done on sysdep.[ch], of course)
* (Hopefully) make all necessary changes for ficl to support alpha.dcs1999-11-235-6/+18
|
* Fix world-breaking bug, add $FreeBSD$ tag.dcs1999-09-291-1/+2
| | | | | | | | This happened to be my first "for real" broken world. I had broken it once before, but nobody noticed, so it didn't count. So, how do I get the "I broke world and all I got was the lousy t-shirt" t-shirt?
* Bring in ficl version 2.03. No version bump for loader.dcs1999-09-2919-816/+1488
|
* $Id$ -> $FreeBSD$peter1999-08-282-2/+2
|
* Reactivate trace! after making it egcs-friendly.dcs1999-04-062-13/+16
|
* Disable trace! until it gets fixed.dcs1999-03-171-2/+2
|
* Remove redundant code.dcs1999-03-151-2/+2
|
* Make $ print different lines in, well, different lines.dcs1999-02-281-2/+2
|
* Remove dictHashSummary internal function; it used doubles.jkh1999-02-093-79/+0
| | | | Submitted by: Daniel C. Sobral <dcs@newsguy.com>
* Make FICL_TRACE default.dcs1999-02-042-3/+39
| | | | | | Add freebsd.fr, for FreeBSD specific forth source. Add $ and %, to replace the lost @ and - functionality of include. $ has the opposite behavior of @ though, since the default behavior was inverted.
* Make ficlExec recursive. This removes vmReset and vmQuit from thedcs1999-02-041-7/+17
| | | | | | error cases, but the replacement should be doing everything they did, except what did shouldn't be doing, and might do a little more they ought to be doing.
* Fix ficlExecFD to take kern/9412 changes into account. Also modify itdcs1999-02-041-3/+3
| | | | | | | | not to vmThrow errors. This is not what the comments say it does, and it doesn't work when there is no ficlExec environment (like it's only use in sys/boot/common/interp_forth.c). PR: bin/9772
* The trace facility was full of bugs. Correct that by using thedcs1999-02-041-73/+72
| | | | | | right variable. PR: bin/9756
* The previous fix for "type" was absolutely lousy. Not only the bufferdcs1999-02-041-2/+2
| | | | | | | | allocated was not big enough, but it ended up to being used where it was supposed to be used. The person who did that ought to be shot, but since I'm a good person, I'll forgive myself... PR: bin/9743
* Add conditional compilation facilities to ficl. This had been previouslydcs1999-02-041-0/+32
| | | | | | committed to RELENG_3 instead of HEAD, so let's HEAD catch up. PR: bin/9662
* From the PR:msmith1999-01-243-6/+145
| | | | | | | | | | | | | | | | I added a FICL_TRACE-conditioned trace facility based on "see". It is ugly because words' functions are almost all static, and ficlExec, where the trace has to be located, can't get their pointers. So, #ifdef this staticization, and add most of see's body into ficlExec. Duplication of code, uglyness, etc. But it is cleanly #ifdef'ed, and works like a charm. It does not provide "step" facility, though, just trace. It is tunable at run-time through "trace!". If anyone (most likely me :) ever wants a step facility, I'll add it. Should be easy. PR: bin/9652 Submitted by: "Daniel C. Sobral" <dcs@newsguy.com>
* From the PR:msmith1999-01-241-11/+7
| | | | | | | | | | | | | FICL's TYPE copies the counted string to HERE, as abial has remarked. Answering to abial's question, this is NOT garanteed to have enough space. ... We have dynamic memory. Even before memory-alloc got in, we already had dynamic memory. Use it, then! (ficlMalloc is sysdep, so I suppose that's why it was not used for TYPE; ficl is probably designed to work without a working ficlFree). Submitted by: "Daniel C. Sobral" <dcs@newsguy.com>
* Add EXCEPTION word set.msmith1999-01-2213-58/+339
| | | | | | | | | | | Make TIB handling use buffer size to conform with ANS Forth. Add ANS MEMORY-ALLOC word set. See the PRs for extensive details. PR: kern/9412 kern/9442 kern/9514 Submitted by: PRs from Daniel Sobral <dcs@newsguy.com>
* Transition from using Perl to using awk for our text-manipulationmsmith1999-01-183-89/+99
| | | | | | | needs. This removes the dependancy on Perl for the generation of the loader, allowing the world to be built on a perl-free system. Submitted by: Joe Abley <jabley@clear.co.nz>
* Change counter-intuitive pc@ and pc! to inb and outb.abial1999-01-145-20/+22
| | | | Submitted by: jkh
* Add words "pc!" and "pc@" which allow to manipulate I/O ports. This canabial1999-01-135-0/+120
| | | | | | be helpful when directly fiddling with PC hardware. Also, define "arch-i386" appropriately, as suggested by Daniel C. Sobral.
* Add support for some FACILITY words:abial1998-12-311-1/+74
| | | | | | | | | | | | key? ( -- flag) \ check to see if there's a key to be read from input ms ( u -- ) \ wait that many milliseconds seconds ( -- u ) \ get number of seconds from midnight. 'words' now outputs the list page by page - this probably should go through libstand's pager, but will have to wait for closer integration of built-ins with Forth... Submitted partially by: W Gerald Hicks <wghicks@bellsouth.net>
* Add new word ".#" which acts like "." but doesn't output a space separator.abial1998-12-221-0/+13
| | | | | I found it impossible to output parametrized strings like "\033[%d;%dH" without building them first in pad area.
* o Add proper stack checking to all file wordsjkh1998-11-071-28/+48
| | | | | | | | | o add fkey and fread o eliminate fexists now that this can be expressed in HLL forth ( : fexists fopen dup -1 <> if fclose 1 else drop 0 then ; ) :-) Once we get the ability to write files, it should be possible to do stand-alone rescue work from the 3rd stage boot. :)
* Eliminate much code cruft by extending simple file I/O API to includejkh1998-11-073-55/+101
| | | | fopen and fclose.
* Take init out of here - it's a layering violation.jkh1998-11-071-3/+0
|
* OK, fload/fexec work properly when both compiling and interpretingjkh1998-11-071-11/+9
| | | | now. Gack.
* switch words to default mode.jkh1998-11-061-4/+4
|
* Submit better fix to the prompt bug.jkh1998-11-062-3/+3
|
* Make fexists/fload work with existing string literals instead. Doingjkh1998-11-062-41/+9
| | | | my own string literal handling is just too wonky.
OpenPOWER on IntegriCloud