Subversion Repositories Kolibri OS

Rev

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

Rev 5201 Rev 5565
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2
;;                                                              ;;
2
;;                                                              ;;
3
;; Copyright (C) KolibriOS team 2004-2011. 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
;======================================================================
8
;======================================================================
9
;
9
;
10
;                           BOOT DATA
10
;                           BOOT DATA
11
;
11
;
12
;======================================================================
12
;======================================================================
13
 
13
 
14
$Revision: 2455 $
14
$Revision: 2455 $
15
 
15
 
16
 
16
 
17
d80x25_bottom:
17
d80x25_bottom:
18
          db       186,' KolibriOS comes with ABSOLUTELY NO WARRANTY. See file COPYING for details    ',186
18
          db       186,' KolibriOS comes with ABSOLUTELY NO WARRANTY. See file COPYING for details    ',186
19
          db       186,' If you find any bugs, please report them at: http://board.kolibrios.org      ',186
19
          db       186,' If you find any bugs, please report them at: http://board.kolibrios.org      ',186
20
          line_full_bottom
20
          line_full_bottom
21
d80x25_bottom_num = 3
21
d80x25_bottom_num = 3
22
 
22
 
23
msg_apm   db      " APM x.x ", 0
23
msg_apm   db      " APM x.x ", 0
24
novesa    db      "Display: EGA/CGA",13,10,0
24
novesa    db      "Display: EGA/CGA",13,10,0
25
s_vesa    db      "Version of VESA: "
25
s_vesa    db      "Version of VESA: "
26
  .ver    db      "?.?",13,10,0
26
  .ver    db      "?.?",13,10,0
27
 
27
 
28
gr_mode   db      "Select a videomode: ",13,10,0
28
gr_mode   db      "Select a videomode: ",13,10,0
29
 
29
 
30
ask_bd     db      "Add disks visible by BIOS emulated in V86-mode? [1-yes, 2-no]: ",0
30
ask_bd     db      "Add disks visible by BIOS emulated in V86-mode? [1-yes, 2-no]: ",0
31
 
31
 
32
if defined extended_primary_loader
32
if defined extended_primary_loader
33
bdev      db      "Load ramdisk from [1-floppy; 2-kolibri.img]: ",0
33
bdev      db      "Load ramdisk from [1-floppy; 2-kolibri.img]: ",0
34
else
34
else
35
bdev      db      "Load ramdisk from [1-floppy; 2-C:\kolibri.img (FAT32);"
35
bdev      db      "Load ramdisk from [1-floppy; 2-C:\kolibri.img (FAT32);"
36
          db      13,10,186,"                    "
36
          db      13,10,186,"                    "
37
          db      "3-use preloaded ram-image from kernel restart;"
37
          db      "3-use preloaded ram-image from kernel restart;"
38
          db      13,10,186,"                    "
38
          db      13,10,186,"                    "
39
          db      "4-create blank image]: ",0
39
          db      "4-create blank image]: ",0
40
end if
40
end if
41
 
41
 
42
prnotfnd  db      "Fatal - Videomode not found.",0
42
prnotfnd  db      "Fatal - Videomode not found.",0
43
 
43
 
44
not386    db      "Fatal - CPU 386+ required.",0
44
not386    db      "Fatal - CPU 386+ required.",0
45
fatalsel  db      "Fatal - Graphics mode not supported by hardware.",0
45
fatalsel  db      "Fatal - Graphics mode not supported by hardware.",0
46
pres_key  db      "Press any key to choose a new videomode.",0
46
pres_key  db      "Press any key to choose a new videomode.",0
47
badsect   db      13,10,186," Fatal - Bad sector. Replace floppy.",0
47
badsect   db      13,10,186," Fatal - Bad sector. Replace floppy.",0
48
memmovefailed db  13,10,186," Fatal - Int 0x15 move failed.",0
48
memmovefailed db  13,10,186," Fatal - Int 0x15 move failed.",0
49
okt       db      " ... OK"
49
okt       db      " ... OK"
50
linef     db      13,10,0
50
linef     db      13,10,0
51
diskload  db      "Loading diskette: 00 %",8,8,8,8,0
51
diskload  db      "Loading diskette: 00 %",8,8,8,8,0
52
pros      db      "00"
52
pros      db      "00"
53
backspace2 db     8,8,0
53
backspace2 db     8,8,0
54
boot_dev  db      0  ; 0=floppy, 1=hd
54
boot_dev  db      0  ; 0=floppy, 1=hd
55
start_msg db      "Press [abcde] to change settings, press [Enter] to continue booting",13,10,0
55
start_msg db      "Press [abcde] to change settings, press [Enter] to continue booting",13,10,0
56
time_msg  db      " or wait "
56
time_msg  db      " or wait "
57
time_str  db      " 5 seconds"
57
time_str  db      " 5 seconds"
58
          db      " to continue automatically",13,10,0
58
          db      " to continue automatically",13,10,0
59
current_cfg_msg db "Current settings:",13,10,0
59
current_cfg_msg db "Current settings:",13,10,0
60
curvideo_msg db   " [a] Videomode: ",0
60
curvideo_msg db   " [a] Videomode: ",0
61
 
61
 
62
mode0     db      "320x200, EGA/CGA 256 colors",13,10,0
62
mode0     db      "320x200, EGA/CGA 256 colors",13,10,0
63
mode9     db      "640x480, VGA 16 colors",13,10,0
63
mode9     db      "640x480, VGA 16 colors",13,10,0
64
 
64
 
65
usebd_msg db      " [b] Add disks visible by BIOS:",0
65
usebd_msg db      " [b] Add disks visible by BIOS:",0
66
on_msg    db      " on",13,10,0
66
on_msg    db      " on",13,10,0
67
off_msg   db      " off",13,10,0
67
off_msg   db      " off",13,10,0
68
 
68
 
69
debug_mode_msg db " [c] Duplicate debug output to the screen:",0
69
debug_mode_msg db " [c] Duplicate debug output to the screen:",0
70
ask_debug      db "Duplicate debug output to the screen? [1-yes, 2-no]: ",0
70
ask_debug      db "Duplicate debug output to the screen? [1-yes, 2-no]: ",0
71
 
71
 
72
launcher_msg   db " [d] Start LAUNCHER after kernel is loaded:",0
72
launcher_msg   db " [d] Start LAUNCHER after kernel is loaded:",0
73
ask_launcher   db "Start first application (LAUNCHER) after kernel is loaded? [1-yes, 2-no]: ",0
73
ask_launcher   db "Start first application (LAUNCHER) after kernel is loaded? [1-yes, 2-no]: ",0
74
 
74
 
75
preboot_device_msg db " [e] Floppy image: ",0
75
preboot_device_msg db " [e] Floppy image: ",0
76
 
76
 
77
if defined extended_primary_loader
77
if defined extended_primary_loader
78
preboot_device_msgs dw 0,pdm1,pdm2,0
78
preboot_device_msgs dw 0,pdm1,pdm2,0
79
pdm1      db      "real floppy",13,10,0
79
pdm1      db      "real floppy",13,10,0
80
pdm2      db      "C:\kolibri.img (FAT32)",13,10,0
80
pdm2      db      "C:\kolibri.img (FAT32)",13,10,0
81
else
81
else
82
preboot_device_msgs dw 0,pdm1,pdm2,pdm3,pdm4,0
82
preboot_device_msgs dw 0,pdm1,pdm2,pdm3,pdm4,0
83
pdm1      db      "real floppy",13,10,0
83
pdm1      db      "real floppy",13,10,0
84
pdm2      db      "C:\kolibri.img (FAT32)",13,10,0
84
pdm2      db      "C:\kolibri.img (FAT32)",13,10,0
85
pdm3      db      "use already loaded image",13,10,0
85
pdm3      db      "use already loaded image",13,10,0
86
pdm4      db      "create blank image",13,10,0
86
pdm4      db      "create blank image",13,10,0
87
end if
87
end if
88
 
88
 
89
loading_msg db    "Loading KolibriOS...",0
89
loading_msg db    "Loading KolibriOS...",0
90
 
90
 
91
if ~ defined extended_primary_loader
91
if ~ defined extended_primary_loader
92
save_quest db     "Remember current settings? [y/n]: ",0
92
save_quest db     "Remember current settings? [y/n]: ",0
93
loader_block_error db "Bootloader data invalid, I cannot continue. Stopped.",0
93
loader_block_error db "Bootloader data invalid, I cannot continue. Stopped.",0
94
end if
94
end if
95
 
95
 
96
_st latin1 '║                   ┌───────────────────────────────┬─┐',13,10,0
96
_st latin1 '║                   ┌───────────────────────────────┬─┐',13,10,0
97
_r1 latin1 '║                   │  320x200  EGA/CGA 256 colors  │ │',13,10,0
97
_r1 latin1 '║                   │  320x200  EGA/CGA 256 colors  │ │',13,10,0
98
_r2 latin1 '║                   │  640x480  VGA 16 colors       │ │',13,10,0
98
_r2 latin1 '║                   │  640x480  VGA 16 colors       │ │',13,10,0
99
_rs latin1 '║                   │  ????x????@??  SVGA VESA      │ │',13,10,0
99
_rs latin1 '║                   │  ????x????@??  SVGA VESA      │ │',13,10,0
100
_bt latin1 '║                   └───────────────────────────────┴─┘',13,10,0
100
_bt latin1 '║                   └───────────────────────────────┴─┘',13,10,0
101
 
101
 
102
remark1 db      "Default values were selected to match most of configurations, but not all.",0
102
remark1 db      "Default values were selected to match most of configurations, but not all.",0
103
remark2 db      "If the system does not boot, try to disable option [b]. If the system gets",0
103
remark2 db      "If the system does not boot, try to disable option [b]. If the system gets",0
104
remark3 db      "stuck after booting, enable option [c], disable option [d] and make photo.",0
104
remark3 db      "stuck after booting, enable option [c], disable option [d] and make photo.",0
105
remarks dw      remark1, remark2, remark3
105
remarks dw      remark1, remark2, remark3
106
num_remarks = 3
106
num_remarks = 3