2011-10-14 23:38:50 +02:00
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
;; ;;
|
2015-01-08 21:10:22 +01:00
|
|
|
;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;;
|
2011-10-14 23:38:50 +02:00
|
|
|
;; Distributed under terms of the GNU General Public License ;;
|
|
|
|
;; ;;
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
|
|
|
|
$Revision$
|
|
|
|
|
|
|
|
|
|
|
|
display_modechg db 0 ; display mode change for text, yes/no (0 or 2)
|
|
|
|
;
|
|
|
|
; !! Important note !!
|
|
|
|
;
|
|
|
|
; Must be set to 2, to avoid two screenmode
|
|
|
|
; changes within a very short period of time.
|
|
|
|
|
|
|
|
display_atboot db 0 ; show boot screen messages ( 2-no )
|
|
|
|
|
|
|
|
preboot_graph dw 0 ; graph mode
|
|
|
|
x_save dw 0 ; x
|
|
|
|
y_save dw 0 ; y
|
|
|
|
number_vm dw 0 ;
|
|
|
|
;pixel_save dw 0 ; per to pixel
|
|
|
|
preboot_gprobe db 0 ; probe vesa3 videomodes (1-no, 2-yes)
|
2013-07-08 01:12:01 +02:00
|
|
|
preboot_debug db 0 ; load kernel in debug mode? (1-yes, 2-no)
|
|
|
|
preboot_launcher db 0 ; start launcher after kernel is loaded? (1-yes, 2-no)
|
2011-10-14 23:38:50 +02:00
|
|
|
preboot_dma db 0 ; use DMA for access to HDD (1-always, 2-only for read, 3-never)
|
2020-10-02 15:05:10 +02:00
|
|
|
preboot_device db 0 ; device to load ramdisk from
|
2020-10-04 18:53:59 +02:00
|
|
|
; 1-floppy 2-harddisk 3-kernel restart
|
|
|
|
; 4-format ram disk 5-don't use ramdisk
|
|
|
|
; !!!! 0 - autodetect !!!!
|
2021-11-05 00:52:56 +01:00
|
|
|
|
|
|
|
; use V86 to access disks through BIOS (1-yes, 2-no)
|
|
|
|
if defined pretest_build
|
|
|
|
preboot_biosdisk db 1
|
|
|
|
else
|
|
|
|
preboot_biosdisk db 0
|
|
|
|
end if
|
|
|
|
|
2020-10-04 18:53:59 +02:00
|
|
|
preboot_syspath db '/RD/1',0 ; path to /sys dir
|
|
|
|
rb 20-($-preboot_syspath)
|
2011-10-14 23:38:50 +02:00
|
|
|
if defined extended_primary_loader
|
2019-02-22 23:40:13 +01:00
|
|
|
; timeout in 1/18th of second for config settings screen
|
|
|
|
preboot_timeout dw PREBOOT_TIMEOUT*18
|
2011-10-14 23:38:50 +02:00
|
|
|
end if
|
|
|
|
|
|
|
|
if $>0x200
|
|
|
|
ERROR:
|
|
|
|
prebooting parameters must fit in first sector!!!
|
|
|
|
end if
|
2012-04-23 11:19:34 +02:00
|
|
|
hdsysimage db 'KOLIBRI.IMG',0 ; load from
|
|
|
|
image_save db 'KOLIBRI.IMG',0 ; save to
|