1 \ Simple greeting screen, presenting basic options.
2 \ XXX This is far too trivial - I don't have time now to think
3 \ XXX about something more fancy... :-/
10 ." Welcome to BootFORTH!"
17 ." 1. Start FreeBSD /kernel."
19 ." 2. Interact with BootFORTH."
25 : tkey ( d -- flag | char )
44 ." Enter your option (1,2,3): "
57 10 18 at-xy ." * Choose 1 if you just want to run FreeBSD."
58 10 19 at-xy ." * Choose 2 if you want to use bootloader facilities."
59 12 20 at-xy ." See '?' for available commands, and 'words' for"
60 12 21 at-xy ." complete list of Forth words."
61 10 22 at-xy ." * Choose 3 in order to warm boot your machine."
80 ." Loading kernel. Please wait..." cr
81 ['] (boot) catch abort" Error booting"
91 ['] (reboot) catch abort" Error rebooting"
94 ." Key " emit ." is not a valid option!"
96 ." Press any key to continue..."