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 with /boot/stable.conf."
19 ." 2. Start FreeBSD with /boot/current.conf."
21 ." 3. Start FreeBSD with standard configuration. "
27 : tkey ( d -- flag | char )
46 ." Enter your option (1,2,3,4): "
59 10 18 at-xy ." * Choose 1 or 2 to run special configuration file."
60 10 19 at-xy ." * Choose 3 to proceed with standard bootstrapping."
61 12 20 at-xy ." See '?' for available commands, and 'words' for"
62 12 21 at-xy ." complete list of Forth words."
63 10 22 at-xy ." * Choose 4 in order to warm boot your machine."
81 ." Loading /boot/stable.conf. Please wait..." cr
82 s" /boot/stable.conf" read-conf
88 ." Loading /boot/current.conf. Please wait..." cr
89 s" /boot/current.conf" read-conf
95 ." Proceeding with standard boot. Please wait..." cr
101 ['] (reboot) catch abort" Error rebooting"
104 ." Key " emit ." is not a valid option!"
106 ." Press any key to continue..."