Subversion Repositories Kolibri OS

Rev

Rev 8091 | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8091 Rev 9249
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2
;;                                                              ;;
2
;;                                                              ;;
3
;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;;
4
;; Distributed under terms of the GNU General Public License    ;;
4
;; Distributed under terms of the GNU General Public License    ;;
5
;;                                                              ;;
5
;;                                                              ;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
7
 
7
 
8
$Revision: 8091 $
8
$Revision: 9249 $
9
 
9
 
10
 
10
 
11
display_modechg     db  0 ; display mode change for text, yes/no (0 or 2)
11
display_modechg     db  0 ; display mode change for text, yes/no (0 or 2)
12
                          ;
12
                          ;
13
                          ; !! Important note !!
13
                          ; !! Important note !!
14
                          ;
14
                          ;
15
                          ; Must be set to 2, to avoid two screenmode
15
                          ; Must be set to 2, to avoid two screenmode
16
                          ; changes within a very short period of time.
16
                          ; changes within a very short period of time.
17
 
17
 
18
display_atboot      db  0 ; show boot screen messages ( 2-no )
18
display_atboot      db  0 ; show boot screen messages ( 2-no )
19
 
19
 
20
preboot_graph       dw  0 ; graph mode
20
preboot_graph       dw  0 ; graph mode
21
x_save              dw  0 ; x
21
x_save              dw  0 ; x
22
y_save              dw  0 ; y
22
y_save              dw  0 ; y
23
number_vm           dw  0 ;
23
number_vm           dw  0 ;
24
;pixel_save          dw  0 ; per to pixel
24
;pixel_save          dw  0 ; per to pixel
25
preboot_gprobe      db  0 ; probe vesa3 videomodes (1-no, 2-yes)
25
preboot_gprobe      db  0 ; probe vesa3 videomodes (1-no, 2-yes)
26
preboot_debug       db  0 ; load kernel in debug mode? (1-yes, 2-no)
26
preboot_debug       db  0 ; load kernel in debug mode? (1-yes, 2-no)
27
preboot_launcher    db  0 ; start launcher after kernel is loaded? (1-yes, 2-no)
27
preboot_launcher    db  0 ; start launcher after kernel is loaded? (1-yes, 2-no)
28
preboot_dma         db  0 ; use DMA for access to HDD (1-always, 2-only for read, 3-never)
28
preboot_dma         db  0 ; use DMA for access to HDD (1-always, 2-only for read, 3-never)
29
preboot_device      db  0 ; device to load ramdisk from
29
preboot_device      db  0 ; device to load ramdisk from
30
                          ;   1-floppy 2-harddisk 3-kernel restart
30
                          ;   1-floppy 2-harddisk 3-kernel restart
31
                          ;   4-format ram disk 5-don't use ramdisk
31
                          ;   4-format ram disk 5-don't use ramdisk
32
                          ; !!!! 0 - autodetect !!!!
32
                          ; !!!! 0 - autodetect !!!!
-
 
33
 
33
preboot_biosdisk    db  0 ; use V86 to access disks through BIOS (1-yes, 2-no)
34
; use V86 to access disks through BIOS (1-yes, 2-no)
-
 
35
if defined pretest_build
-
 
36
  preboot_biosdisk  db  1
-
 
37
else
-
 
38
  preboot_biosdisk  db  0
-
 
39
end if
-
 
40
 
34
preboot_syspath     db  '/RD/1',0 ; path to /sys dir
41
preboot_syspath     db  '/RD/1',0 ; path to /sys dir
35
                    rb  20-($-preboot_syspath)
42
                    rb  20-($-preboot_syspath)
36
if defined extended_primary_loader
43
if defined extended_primary_loader
37
; timeout in 1/18th of second for config settings screen
44
; timeout in 1/18th of second for config settings screen
38
preboot_timeout     dw  PREBOOT_TIMEOUT*18
45
preboot_timeout     dw  PREBOOT_TIMEOUT*18
39
end if
46
end if
40
 
47
 
41
      if $>0x200
48
      if $>0x200
42
ERROR:
49
ERROR:
43
       prebooting parameters must fit in first sector!!!
50
       prebooting parameters must fit in first sector!!!
44
      end if
51
      end if
45
hdsysimage          db  'KOLIBRI.IMG',0 ; load from
52
hdsysimage          db  'KOLIBRI.IMG',0 ; load from
46
image_save          db  'KOLIBRI.IMG',0 ; save to
53
image_save          db  'KOLIBRI.IMG',0 ; save to