freebsd-dev/share/examples/bootforth
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
..
boot.4th Add examples how to use the terminal emulation code in /boot/loader to 1998-12-22 12:15:45 +00:00
frames.4th Add examples how to use the terminal emulation code in /boot/loader to 1998-12-22 12:15:45 +00:00
menu.4th Add examples how to use the terminal emulation code in /boot/loader to 1998-12-22 12:15:45 +00:00
README Add examples how to use the terminal emulation code in /boot/loader to 1998-12-22 12:15:45 +00:00
screen.4th Add examples how to use the terminal emulation code in /boot/loader to 1998-12-22 12:15:45 +00:00

Here you can find some simple examples how to use BootFORTH (part of the
new bootloader) together with terminal emulation code (available when
compiling /sys/boot/i386/libi386 with -DTERM_EMU).

Normally, you can place the files in /boot as they are here, and they will be
automatically loaded by /boot/loader.

The files are:

boot.4th	example of file which is always loaded by /boot/loader, if
		present in /boot/
screen.4th	helpful words for screen manipulation.
frames.4th	basic frame drawing primitives. Requires screen.4th.
menu.4th	example of simple startup menu.

You're encouraged to add more features to these files - I'm not a Forth
hacker, unfortunately...

Andrzej Bialecki
<abial@freebsd.org>

$Id$