Deleted Added
full compact
beastie.4th (151873) beastie.4th (157339)
1\ Copyright (c) 2003 Scott Long <scottl@freebsd.org>
2\ Copyright (c) 2003 Aleksander Fafula <alex@fafula.com>
3\ All rights reserved.
4\
5\ Redistribution and use in source and binary forms, with or without
6\ modification, are permitted provided that the following conditions
7\ are met:
8\ 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18\ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19\ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20\ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21\ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22\ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23\ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24\ SUCH DAMAGE.
25\
1\ Copyright (c) 2003 Scott Long <scottl@freebsd.org>
2\ Copyright (c) 2003 Aleksander Fafula <alex@fafula.com>
3\ All rights reserved.
4\
5\ Redistribution and use in source and binary forms, with or without
6\ modification, are permitted provided that the following conditions
7\ are met:
8\ 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18\ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19\ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20\ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21\ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22\ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23\ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24\ SUCH DAMAGE.
25\
26\ $FreeBSD: head/sys/boot/forth/beastie.4th 151873 2005-10-30 05:36:23Z scottl $
26\ $FreeBSD: head/sys/boot/forth/beastie.4th 157339 2006-03-31 21:36:17Z scottl $
27
28marker task-beastie.4th
29
30include /boot/screen.4th
31include /boot/frames.4th
32
33hide
34
35variable menuidx
36variable menubllt
37variable menuX
38variable menuY
39variable promptwidth
40
41variable bootkey
42variable bootacpikey
27
28marker task-beastie.4th
29
30include /boot/screen.4th
31include /boot/frames.4th
32
33hide
34
35variable menuidx
36variable menubllt
37variable menuX
38variable menuY
39variable promptwidth
40
41variable bootkey
42variable bootacpikey
43variable bootusbkey
44variable bootsafekey
45variable bootverbosekey
46variable bootsinglekey
47variable escapekey
48variable rebootkey
49
5046 constant dot
51

--- 139 unchanged lines hidden (view full) ---

191 then
192 else
193 -2 bootacpikey !
194 then
195 printmenuitem ." Boot FreeBSD in Safe Mode" bootsafekey !
196 printmenuitem ." Boot FreeBSD in single user mode" bootsinglekey !
197 printmenuitem ." Boot FreeBSD with verbose logging" bootverbosekey !
198 printmenuitem ." Escape to loader prompt" escapekey !
43variable bootsafekey
44variable bootverbosekey
45variable bootsinglekey
46variable escapekey
47variable rebootkey
48
4946 constant dot
50

--- 139 unchanged lines hidden (view full) ---

190 then
191 else
192 -2 bootacpikey !
193 then
194 printmenuitem ." Boot FreeBSD in Safe Mode" bootsafekey !
195 printmenuitem ." Boot FreeBSD in single user mode" bootsinglekey !
196 printmenuitem ." Boot FreeBSD with verbose logging" bootverbosekey !
197 printmenuitem ." Escape to loader prompt" escapekey !
199 s" arch-i386" environment? if
200 drop
201 printmenuitem ." Boot FreeBSD with USB keyboard" bootusbkey !
202 else
203 -2 bootusbkey !
204 then
205 printmenuitem ." Reboot" rebootkey !
206 menuX @ 20 at-xy
207 ." Select option, [Enter] for default"
208 menuX @ 21 at-xy
209 s" or [Space] to pause timer " dup 2 - promptwidth !
210 type
211;
212

--- 49 unchanged lines hidden (view full) ---

262 s" 1" s" hint.acpi.0.disabled" setenv
263 s" 1" s" loader.acpi_disabled_by_user" setenv
264 else
265 s" YES" s" acpi_load" setenv
266 s" 0" s" hint.acpi.0.disabled" setenv
267 then
268 0 boot
269 then
198 printmenuitem ." Reboot" rebootkey !
199 menuX @ 20 at-xy
200 ." Select option, [Enter] for default"
201 menuX @ 21 at-xy
202 s" or [Space] to pause timer " dup 2 - promptwidth !
203 type
204;
205

--- 49 unchanged lines hidden (view full) ---

255 s" 1" s" hint.acpi.0.disabled" setenv
256 s" 1" s" loader.acpi_disabled_by_user" setenv
257 else
258 s" YES" s" acpi_load" setenv
259 s" 0" s" hint.acpi.0.disabled" setenv
260 then
261 0 boot
262 then
270 dup bootusbkey @ = if
271 s" 0x1" s" hint.atkbd.0.flags" setenv
272 0 boot
273 then
274 dup bootsafekey @ = if
275 s" arch-i386" environment? if
276 drop
277 s" acpi_load" unsetenv
278 s" 1" s" hint.acpi.0.disabled" setenv
279 s" 1" s" loader.acpi_disabled_by_user" setenv
280 s" 1" s" hint.apic.0.disabled" setenv
281 then
282 s" 0" s" hw.ata.ata_dma" setenv
283 s" 0" s" hw.ata.atapi_dma" setenv
284 s" 0" s" hw.ata.wc" setenv
285 s" 0" s" hw.eisa_slots" setenv
263 dup bootsafekey @ = if
264 s" arch-i386" environment? if
265 drop
266 s" acpi_load" unsetenv
267 s" 1" s" hint.acpi.0.disabled" setenv
268 s" 1" s" loader.acpi_disabled_by_user" setenv
269 s" 1" s" hint.apic.0.disabled" setenv
270 then
271 s" 0" s" hw.ata.ata_dma" setenv
272 s" 0" s" hw.ata.atapi_dma" setenv
273 s" 0" s" hw.ata.wc" setenv
274 s" 0" s" hw.eisa_slots" setenv
275 s" 1" s" hint.kbdmux.0.disabled" setenv
286 0 boot
287 then
288 dup bootverbosekey @ = if
289 s" YES" s" boot_verbose" setenv
290 0 boot
291 then
292 dup bootsinglekey @ = if
293 s" YES" s" boot_single" setenv

--- 12 unchanged lines hidden ---
276 0 boot
277 then
278 dup bootverbosekey @ = if
279 s" YES" s" boot_verbose" setenv
280 0 boot
281 then
282 dup bootsinglekey @ = if
283 s" YES" s" boot_single" setenv

--- 12 unchanged lines hidden ---