mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-04 22:32:05 +03:00
f208e0e454
* Move bios-related part of kernel.asm before B32 label to bootbios.asm file; * Move bx_from_load, boot_dev and kernel_restart_bootblock variables to BOOT_* 0x9000 block; * Update Tupfile.lua, Makefile, build.bat, build.sh accordingly; * Now bios and uefi loaders can jump to very first byte of the kernel. git-svn-id: svn://kolibrios.org@7129 a494cfbc-eb01-0410-851d-a64ba20cac60
43 lines
1.8 KiB
PHP
43 lines
1.8 KiB
PHP
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
;; ;;
|
|
;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;;
|
|
;; 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)
|
|
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)
|
|
preboot_dma db 0 ; use DMA for access to HDD (1-always, 2-only for read, 3-never)
|
|
preboot_device db 0 ; boot device
|
|
; (1-floppy 2-harddisk 3-kernel restart 4-format ram disk)
|
|
;!!!! 0 - autodetect !!!!
|
|
preboot_biosdisk db 0 ; use V86 to access disks through BIOS (1-yes, 2-no)
|
|
if defined extended_primary_loader
|
|
preboot_timeout dw 5*18 ; timeout in 1/18th of second for config settings screen
|
|
end if
|
|
|
|
if $>0x200
|
|
ERROR:
|
|
prebooting parameters must fit in first sector!!!
|
|
end if
|
|
hdsysimage db 'KOLIBRI.IMG',0 ; load from
|
|
image_save db 'KOLIBRI.IMG',0 ; save to
|