Subversion Repositories Kolibri OS

Rev

Rev 5201 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
3500 Serge 1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2
;;                                                              ;;
5565 serge 3
;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;;
3500 Serge 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:
4265 Serge 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
3500 Serge 20
          line_full_bottom
4265 Serge 21
d80x25_bottom_num = 3
3500 Serge 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
3908 Serge 55
start_msg db      "Press [abcde] to change settings, press [Enter] to continue booting",13,10,0
3500 Serge 56
time_msg  db      " or wait "
57
time_str  db      " 5 seconds"
5201 serge 58
          db      " to continue automatically",13,10,0
3500 Serge 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
 
3908 Serge 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
3500 Serge 71
 
3908 Serge 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
74
 
75
preboot_device_msg db " [e] Floppy image: ",0
76
 
3500 Serge 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
4265 Serge 82
preboot_device_msgs dw 0,pdm1,pdm2,pdm3,pdm4,0
3500 Serge 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
 
4265 Serge 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
3500 Serge 101
 
102
remark1 db      "Default values were selected to match most of configurations, but not all.",0
4265 Serge 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
105
remarks dw      remark1, remark2, remark3
106
num_remarks = 3