xref: /freebsd/share/examples/bootforth/loader.rc (revision 0889b9be414989d292712d60a1e2fcd837eaf504)
13a91f98cSDaniel C. Sobral\ Example of the file which is automatically loaded by /boot/loader
23a91f98cSDaniel C. Sobral\ on startup.
37f3dea24SPeter Wemm\ $FreeBSD$
43a91f98cSDaniel C. Sobral
53a91f98cSDaniel C. Sobralcr .( Loading Forth extensions:)
63a91f98cSDaniel C. Sobral
73a91f98cSDaniel C. Sobral\ Load configuration file words
83a91f98cSDaniel C. Sobral
93a91f98cSDaniel C. Sobralcr .( - loader.4th...)
103a91f98cSDaniel C. Sobral
113a91f98cSDaniel C. Sobralinclude /boot/loader.4th
123a91f98cSDaniel C. Sobral
133a91f98cSDaniel C. Sobral\ Load the screen manipulation words
143a91f98cSDaniel C. Sobral
153a91f98cSDaniel C. Sobralcr .( - screen.4th...)
160889b9beSJohn Baldwins" /boot/screen.4th" O_RDONLY fopen dup fload fclose
173a91f98cSDaniel C. Sobral
183a91f98cSDaniel C. Sobral\ Load frame support
193a91f98cSDaniel C. Sobralcr .( - frames.4th...)
200889b9beSJohn Baldwins" /boot/frames.4th" O_RDONLY fopen dup fload fclose
213a91f98cSDaniel C. Sobral
223a91f98cSDaniel C. Sobral\ Load our little menu
233a91f98cSDaniel C. Sobralcr .( - menuconf.4th...)
240889b9beSJohn Baldwins" /boot/menuconf.4th" O_RDONLY fopen dup fload fclose
253a91f98cSDaniel C. Sobral
263a91f98cSDaniel C. Sobral\ Initialize loader.4th stuff
273a91f98cSDaniel C. Sobral
283a91f98cSDaniel C. Sobralcr cr .( Initializing loader.4th...)
29b2b94bb5SDaniel C. Sobralinitialize drop
303a91f98cSDaniel C. Sobral
313a91f98cSDaniel C. Sobral\ Show the menu
323a91f98cSDaniel C. Sobralcr
333a91f98cSDaniel C. Sobralmain_menu
343a91f98cSDaniel C. Sobral
35