Subversion Repositories Kolibri OS

Rev

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

Rev Author Line No. Line
3274 esevece 1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2
;;                                                              ;;
10050 ace_dent 3
;; Copyright (C) KolibriOS team 2004-2024. All rights reserved. ;;
3274 esevece 4
;; Distributed under terms of the GNU General Public License    ;;
5
;;                                                              ;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
7
 
10050 ace_dent 8
 
3274 esevece 9
;======================================================================
10
;
11
;                           BOOT DATA
12
;
13
;======================================================================
14
 
15
 
16
d80x25_bottom:
3989 yogev_ezra 17
          db       186,' KolibriOS comes with ABSOLUTELY NO WARRANTY. See file COPYING for details    ',186
10050 ace_dent 18
          db       186,' If you find any bugs, please report them at: https://board.kolibrios.org     ',186
3274 esevece 19
          line_full_bottom
3989 yogev_ezra 20
d80x25_bottom_num = 3
3274 esevece 21
 
22
msg_apm   db      " APM x.x ", 0
23
novesa    db      "Display: EGA/CGA",13,10,0
24
s_vesa    db      "Version of VESA: "
25
  .ver    db      "?.?",13,10,0
26
 
27
gr_mode   db      "Select a videomode: ",13,10,0
28
 
8091 dunkaist 29
ask_bd    db      "Add disks visible by BIOS emulated in V86-mode? [1-yes, 2-no]: ",0
3274 esevece 30
 
31
if defined extended_primary_loader
8091 dunkaist 32
bdev      db      "Load ramdisk from [1-floppy; 2-kolibri.img; 3-don't load]: ",0
3274 esevece 33
else
34
bdev      db      "Load ramdisk from [1-floppy; 2-C:\kolibri.img (FAT32);"
35
          db      13,10,186,"                    "
9938 leency 36
          db      "3-preloaded ram-image (flash-disk, dualboot, "
3274 esevece 37
          db      13,10,186,"                    "
9938 leency 38
          db      "kernel restart, etc.)]: ",0
3274 esevece 39
end if
40
 
41
prnotfnd  db      "Fatal - Videomode not found.",0
42
 
43
not386    db      "Fatal - CPU 386+ required.",0
44
fatalsel  db      "Fatal - Graphics mode not supported by hardware.",0
45
pres_key  db      "Press any key to choose a new videomode.",0
46
badsect   db      13,10,186," Fatal - Bad sector. Replace floppy.",0
47
memmovefailed db  13,10,186," Fatal - Int 0x15 move failed.",0
48
okt       db      " ... OK"
49
linef     db      13,10,0
50
diskload  db      "Loading diskette: 00 %",8,8,8,8,0
51
pros      db      "00"
52
backspace2 db     8,8,0
53
boot_dev  db      0  ; 0=floppy, 1=hd
3777 yogev_ezra 54
start_msg db      "Press [abcde] to change settings, press [Enter] to continue booting",13,10,0
3274 esevece 55
time_msg  db      " or wait "
56
time_str  db      " 5 seconds"
4694 yogev_ezra 57
          db      " to continue automatically",13,10,0
3274 esevece 58
current_cfg_msg db "Current settings:",13,10,0
59
curvideo_msg db   " [a] Videomode: ",0
60
 
61
mode0     db      "320x200, EGA/CGA 256 colors",13,10,0
62
mode9     db      "640x480, VGA 16 colors",13,10,0
63
 
64
usebd_msg db      " [b] Add disks visible by BIOS:",0
65
on_msg    db      " on",13,10,0
66
off_msg   db      " off",13,10,0
67
 
3777 yogev_ezra 68
debug_mode_msg db " [c] Duplicate debug output to the screen:",0
69
ask_debug      db "Duplicate debug output to the screen? [1-yes, 2-no]: ",0
3274 esevece 70
 
3777 yogev_ezra 71
launcher_msg   db " [d] Start LAUNCHER after kernel is loaded:",0
3796 yogev_ezra 72
ask_launcher   db "Start first application (LAUNCHER) after kernel is loaded? [1-yes, 2-no]: ",0
3777 yogev_ezra 73
 
74
preboot_device_msg db " [e] Floppy image: ",0
75
 
3274 esevece 76
if defined extended_primary_loader
8091 dunkaist 77
preboot_device_msgs dw 0,pdm1,pdm2,pdm3,0
3274 esevece 78
pdm1      db      "real floppy",13,10,0
79
pdm2      db      "C:\kolibri.img (FAT32)",13,10,0
8091 dunkaist 80
pdm3      db      "do not use floppy image",13,10,0
3274 esevece 81
else
3989 yogev_ezra 82
preboot_device_msgs dw 0,pdm1,pdm2,pdm3,pdm4,0
3274 esevece 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
9938 leency 92
save_quest db     "New settings have been applied.",13,10,13,10,186
10050 ace_dent 93
           db     " Do you want to save them for future boots?",13,10,186
9938 leency 94
           db     " Answer 'yes' only if your booting device is writable. [y/n]: ",0
10050 ace_dent 95
loader_block_error db "Bootloader data invalid. Stopped.",0
9942 turbocat 96
write_err_msg db "Recording the configuration has failed. Press any key to resume booting...",0
3274 esevece 97
end if
98
 
4135 clevermous 99
_st latin1 '║                   ┌───────────────────────────────┬─┐',13,10,0
100
_r1 latin1 '║                   │  320x200  EGA/CGA 256 colors  │ │',13,10,0
101
_r2 latin1 '║                   │  640x480  VGA 16 colors       │ │',13,10,0
102
_rs latin1 '║                   │  ????x????@??  SVGA VESA      │ │',13,10,0
103
_bt latin1 '║                   └───────────────────────────────┴─┘',13,10,0
3274 esevece 104
 
10050 ace_dent 105
remark1 db      "Default values were selected to match most configurations, but not all.",0
3989 yogev_ezra 106
remark2 db      "If the system does not boot, try to disable option [b]. If the system gets",0
10050 ace_dent 107
remark3 db      "stuck after booting, enable option [c], disable option [d] and take photo.",0
3989 yogev_ezra 108
remarks dw      remark1, remark2, remark3
8091 dunkaist 109
num_remarks = 3