Commit Graph

11 Commits

Author SHA1 Message Date
Yoshihiro Takahashi
3e281867ae Sync with sys/boot/forth/frames.4th revision 1.2 (PC98 support).
Suggested by:	matusita
2004-01-18 15:16:12 +00:00
John Baldwin
0889b9be41 - Add 'fwrite' and 'fseek' words for writing to and seeking on files.
- Change the 'fopen' keyword to accept a mode parameter.  Note that this
  will break existing 4th scripts that use fopen.  Thus, the loader
  version has been bumped and loader.4th has been changed to check for a
  sufficient version on i386 and alpha.  Be sure that you either do a full
  world build or install or full build and install of sys/boot after this
  since loader.old won't work with the new 4th files and vice versa.

PR:		kern/32389
Submitted by:	Jonathan Mini <mini@haikugeek.com>
Sponsored by:	ClickArray, Inc.
2001-12-11 00:49:34 +00:00
Daniel C. Sobral
8ac94f5119 Good thing about these examples is that no one uses them, so they can
stay broken for months without anyone noticing.

The boot-conf command was changed as to reproduce the behavior of builtin
loader words precisely. As a result, it now always need an argument, possibly
0 indicating that no other arguments are being passed. This broke in a
non-deterministic way (ie, it could go on working as if everything was fine).
2000-09-05 16:30:09 +00:00
Daniel C. Sobral
bce2576f49 Fixes a silly bug that somehow escaped my notice all these months. 1999-09-29 04:46:01 +00:00
Peter Wemm
7f3dea244c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
Daniel C. Sobral
01d33617c4 Rewording. 1999-05-14 19:07:59 +00:00
Daniel C. Sobral
b2b94bb502 Slight not-exactly-bug-but-useful-as-example-code fix. 1999-05-14 19:00:38 +00:00
Daniel C. Sobral
3a91f98cb8 Add a menu example making use of loader.4th(8) facilities.
Merge candidate, as it is just an example...
1999-05-14 18:06:27 +00:00
Jordan K. Hubbard
9c6886da07 Update example to match new builtin behavior.
Submitted by:		Daniel C. Sobral <dcs@newsguy.com>
PR:			9744
1999-01-28 10:51:49 +00:00
Andrzej Bialecki
21d956c544 Add timeout to boot menu.
Submitted by:	W Gerald Hicks <wghicks@bellsouth.net>
1998-12-31 14:06:30 +00:00
Andrzej Bialecki
7b753b610c Add examples how to use the terminal emulation code in /boot/loader to
create nice startup menus. Improvements are warmly welcome. :-)
1998-12-22 12:15:45 +00:00