freebsd-dev/share/examples/bootforth/boot.4th
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

23 lines
429 B
Forth

\ Example of the file which is automatically loaded by /boot/loader
\ on startup.
\ $Id$
\ Load the screen manipulation words
cr .( Loading Forth extensions:)
cr .( - screen.4th...)
s" /boot/screen.4th" fopen dup fload fclose
\ Load frame support
cr .( - frames.4th...)
s" /boot/frames.4th" fopen dup fload fclose
\ Load our little menu
cr .( - menu.4th...)
s" /boot/menu.4th" fopen dup fload fclose
\ Show it
cr
main_menu