142004SabialHere you can find some simple examples how to use BootFORTH (part of the
242004Sabialnew bootloader) together with terminal emulation code (available when
342004Sabialcompiling /sys/boot/i386/libi386 with -DTERM_EMU).
442004Sabial
542004SabialNormally, you can place the files in /boot as they are here, and they will be
647195Sdcsautomatically loaded by /boot/loader. You must choose between boot.4th or
747195Sdcsloader.rc, though. Copy one or the other, but not both. Also, menu.4th is
847195Sdcsonly used by boot.4th, and menuconf.4th is only used by loader.rc, so you
947195Sdcsdon't need to copy both files.
1042004Sabial
1142004SabialThe files are:
1242004Sabial
1342004Sabialboot.4th	example of file which is always loaded by /boot/loader, if
1442004Sabial		present in /boot/
1547195Sdcsloader.rc	example of file which is always loader by /boot/loader, if
1647195Sdcs		present in /boot/
1742004Sabialscreen.4th	helpful words for screen manipulation.
1842004Sabialframes.4th	basic frame drawing primitives. Requires screen.4th.
1942004Sabialmenu.4th	example of simple startup menu.
2047195Sdcsmenuconf.4th	another example of simples startup menu.
2142004Sabial
2242004SabialYou're encouraged to add more features to these files - I'm not a Forth
2342004Sabialhacker, unfortunately...
2442004Sabial
2542004SabialAndrzej Bialecki
2642004Sabial<abial@freebsd.org>
2742004Sabial
2847195SdcsIf you use loader.rc/menuconf.4th, be sure to create /boot/stable.conf and
2947195Sdcs/boot/current.conf, like described in loader.conf(5), with appropriate
3047195Sdcsconfiguration to distinguish one from the other.
3147195Sdcs
3247195SdcsDaniel C. Sobral
3347195Sdcs<dcs@freebsd.org>
3447195Sdcs
3550476Speter$FreeBSD: releng/10.3/share/examples/bootforth/README 50476 1999-08-28 00:22:10Z peter $
36