Subversion Repositories Kolibri OS

Rev

Rev 3759 | Rev 3796 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
3274 esevece 1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2
;;                                                              ;;
3
;; Copyright (C) KolibriOS team 2004-2011. All rights reserved. ;;
4
;; Distributed under terms of the GNU General Public License    ;;
5
;;                                                              ;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
7
 
8
;======================================================================
9
;
10
;                           BOOT DATA
11
;
12
;======================================================================
13
 
14
$Revision: 2455 $
15
 
16
 
17
d80x25_bottom:
3759 clevermous 18
          db       186,' KolibriOS comes with ABSOLUTELY NO WARRANTY. See file COP'
19
          db       'YING for details    ',186
3274 esevece 20
          line_full_bottom
3759 clevermous 21
d80x25_bottom_num = 2
3274 esevece 22
 
23
msg_apm   db      " APM x.x ", 0
24
novesa    db      "Display: EGA/CGA",13,10,0
25
s_vesa    db      "Version of VESA: "
26
  .ver    db      "?.?",13,10,0
27
 
28
gr_mode   db      "Select a videomode: ",13,10,0
29
 
30
ask_bd     db      "Add disks visible by BIOS emulated in V86-mode? [1-yes, 2-no]: ",0
31
 
32
if defined extended_primary_loader
33
bdev      db      "Load ramdisk from [1-floppy; 2-kolibri.img]: ",0
34
else
35
bdev      db      "Load ramdisk from [1-floppy; 2-C:\kolibri.img (FAT32);"
36
          db      13,10,186,"                    "
37
          db      "3-use preloaded ram-image from kernel restart;"
38
          db      13,10,186,"                    "
39
          db      "4-create blank image]: ",0
40
end if
41
 
42
prnotfnd  db      "Fatal - Videomode not found.",0
43
 
44
not386    db      "Fatal - CPU 386+ required.",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
47
badsect   db      13,10,186," Fatal - Bad sector. Replace floppy.",0
48
memmovefailed db  13,10,186," Fatal - Int 0x15 move failed.",0
49
okt       db      " ... OK"
50
linef     db      13,10,0
51
diskload  db      "Loading diskette: 00 %",8,8,8,8,0
52
pros      db      "00"
53
backspace2 db     8,8,0
54
boot_dev  db      0  ; 0=floppy, 1=hd
3777 yogev_ezra 55
start_msg db      "Press [abcde] to change settings, press [Enter] to continue booting",13,10,0
3274 esevece 56
time_msg  db      " or wait "
57
time_str  db      " 5 seconds"
58
          db      " before automatical continuation",13,10,0
59
current_cfg_msg db "Current settings:",13,10,0
60
curvideo_msg db   " [a] Videomode: ",0
61
 
62
mode0     db      "320x200, EGA/CGA 256 colors",13,10,0
63
mode9     db      "640x480, VGA 16 colors",13,10,0
64
 
65
usebd_msg db      " [b] Add disks visible by BIOS:",0
66
on_msg    db      " on",13,10,0
67
off_msg   db      " off",13,10,0
68
 
3777 yogev_ezra 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
3274 esevece 71
 
3777 yogev_ezra 72
launcher_msg   db " [d] Start LAUNCHER after kernel is loaded:",0
73
ask_launcher   db "Start first app (LAUNCHER) after kernel is loaded? [1-yes, 2-no]: ",0
74
 
75
preboot_device_msg db " [e] Floppy image: ",0
76
 
3274 esevece 77
if defined extended_primary_loader
78
preboot_device_msgs dw 0,pdm1,pdm2,0
79
pdm1      db      "real floppy",13,10,0
80
pdm2      db      "C:\kolibri.img (FAT32)",13,10,0
81
else
82
preboot_device_msgs dw 0,pdm1,pdm2,pdm3
83
pdm1      db      "real floppy",13,10,0
84
pdm2      db      "C:\kolibri.img (FAT32)",13,10,0
85
pdm3      db      "use already loaded image",13,10,0
86
pdm4      db      "create blank image",13,10,0
87
end if
88
 
89
loading_msg db    "Loading KolibriOS...",0
90
 
91
if ~ defined extended_primary_loader
92
save_quest db     "Remember current settings? [y/n]: ",0
93
loader_block_error db "Bootloader data invalid, I cannot continue. Stopped.",0
94
end if
95
 
3539 clevermous 96
_st:latin1 '║                   ┌───────────────────────────────┬─┐',13,10,0
97
_r1:latin1 '║                   │  320x200  EGA/CGA 256 colors  │ │',13,10,0
98
_r2:latin1 '║                   │  640x480  VGA 16 colors       │ │',13,10,0
99
_rs:latin1 '║                   │  ????x????@??  SVGA VESA      │ │',13,10,0
100
_bt:latin1 '║                   └───────────────────────────────┴─┘',13,10,0
3274 esevece 101
 
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 the item [b].",0
104
remarks dw      remark1, remark2
105
num_remarks = 2