Deleted Added
full compact
beastie.4th (120031) beastie.4th (121618)
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 120031 2003-09-13 18:35:01Z scottl $
26\ $FreeBSD: head/sys/boot/forth/beastie.4th 121618 2003-10-27 16:39:49Z scottl $
27
28marker task-beastie.4th
29
30include /boot/screen.4th
31include /boot/frames.4th
32
33hide
34

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

204 10
205 else
206 0 0 2swap >number drop drop drop
207 then
208 begin true while
209 dup tkey
210 0 25 at-xy
211 dup 32 = if nip 0 swap then
27
28marker task-beastie.4th
29
30include /boot/screen.4th
31include /boot/frames.4th
32
33hide
34

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

204 10
205 else
206 0 0 2swap >number drop drop drop
207 then
208 begin true while
209 dup tkey
210 0 25 at-xy
211 dup 32 = if nip 0 swap then
212 dup -1 = if s" boot" evaluate then
213 dup 13 = if s" boot" evaluate then
214 dup bootkey @ = if s" boot" evaluate then
212 dup -1 = if 0 boot then
213 dup 13 = if 0 boot then
214 dup bootkey @ = if 0 boot then
215 dup bootacpikey @ = if
216 acpienabled? if
217 s" acpi_load" unsetenv
218 s" 1" s" hint.acpi.0.disabled" setenv
219 s" 1" s" loader.acpi_disabled_by_user" setenv
220 else
221 s" YES" s" acpi_load" setenv
222 s" 0" s" hint.acpi.0.disabled" setenv
223 then
215 dup bootacpikey @ = if
216 acpienabled? if
217 s" acpi_load" unsetenv
218 s" 1" s" hint.acpi.0.disabled" setenv
219 s" 1" s" loader.acpi_disabled_by_user" setenv
220 else
221 s" YES" s" acpi_load" setenv
222 s" 0" s" hint.acpi.0.disabled" setenv
223 then
224 s" boot" evaluate
224 0 boot
225 then
226 dup bootsafekey @ = if
227 s" arch-i386" environment? if
228 s" acpi_load" unsetenv
229 s" 1" s" hint.acpi.0.disabled" setenv
230 s" 1" s" loader.acpi_disabled_by_user" setenv
231 then
232 s" 0" s" hw.ata.ata_dma" setenv
233 s" 0" s" hw.ata.atapi_dma" setenv
234 s" 0" s" hw.ata.wc" setenv
235 s" 0" s" hw.eisa_slots" setenv
225 then
226 dup bootsafekey @ = if
227 s" arch-i386" environment? if
228 s" acpi_load" unsetenv
229 s" 1" s" hint.acpi.0.disabled" setenv
230 s" 1" s" loader.acpi_disabled_by_user" setenv
231 then
232 s" 0" s" hw.ata.ata_dma" setenv
233 s" 0" s" hw.ata.atapi_dma" setenv
234 s" 0" s" hw.ata.wc" setenv
235 s" 0" s" hw.eisa_slots" setenv
236 s" boot" evaluate
236 0 boot
237 then
238 dup bootverbosekey @ = if
239 s" YES" s" boot_verbose" setenv
237 then
238 dup bootverbosekey @ = if
239 s" YES" s" boot_verbose" setenv
240 s" boot" evaluate
240 0 boot
241 then
242 dup bootsinglekey @ = if
243 s" YES" s" boot_single" setenv
241 then
242 dup bootsinglekey @ = if
243 s" YES" s" boot_single" setenv
244 s" boot" evaluate
244 0 boot
245 then
246 dup escapekey @ = if
247 2drop
248 s" NO" s" autoboot_delay" setenv
249 exit
250 then
251 rebootkey @ = if s" reboot" evaluate then
252 repeat
253;
254
255previous
245 then
246 dup escapekey @ = if
247 2drop
248 s" NO" s" autoboot_delay" setenv
249 exit
250 then
251 rebootkey @ = if s" reboot" evaluate then
252 repeat
253;
254
255previous