turns printfs back on
[freebsd-src/fkvm-freebsd.git] / share / examples / bootforth / loader.rc
blob617bc3db410462090b098c29497d304f9ef8f306
1 \ Example of the file which is automatically loaded by /boot/loader
2 \ on startup.
3 \ $FreeBSD$
5 cr .( Loading Forth extensions:)
7 \ Load configuration file words
9 cr .( - loader.4th...)
11 include /boot/loader.4th
13 \ Load the screen manipulation words
15 cr .( - screen.4th...)
16 s" /boot/screen.4th" O_RDONLY fopen dup fload fclose
18 \ Load frame support
19 cr .( - frames.4th...)
20 s" /boot/frames.4th" O_RDONLY fopen dup fload fclose
22 \ Load our little menu
23 cr .( - menuconf.4th...)
24 s" /boot/menuconf.4th" O_RDONLY fopen dup fload fclose
26 \ Initialize loader.4th stuff
28 cr cr .( Initializing loader.4th...)
29 initialize drop
31 \ Show the menu
33 main_menu