summaryrefslogtreecommitdiff
path: root/share/examples/bootforth/boot.4th
diff options
context:
space:
mode:
authorAndrzej Bialecki <abial@FreeBSD.org>1998-12-22 12:15:45 +0000
committerAndrzej Bialecki <abial@FreeBSD.org>1998-12-22 12:15:45 +0000
commit7b753b610cae0a413ad8cb33c23493891293cf49 (patch)
treefca77398fcd55c1fbcd87582a63fbba8fbc501cc /share/examples/bootforth/boot.4th
parent558408f95d00561c18e48dd47f2b8d611af27ded (diff)
Notes
Diffstat (limited to 'share/examples/bootforth/boot.4th')
-rw-r--r--share/examples/bootforth/boot.4th22
1 files changed, 22 insertions, 0 deletions
diff --git a/share/examples/bootforth/boot.4th b/share/examples/bootforth/boot.4th
new file mode 100644
index 000000000000..467e968f962a
--- /dev/null
+++ b/share/examples/bootforth/boot.4th
@@ -0,0 +1,22 @@
+\ 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