Subversion Repositories Kolibri OS

Rev

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

Rev Author Line No. Line
1065 Lrz 1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2
;;                                                                     ;;
3
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved.        ;;
4
;; Copyright (C) MenuetOS 2000-2004 Ville Mikael Turjanmaa             ;;
5
;; Distributed under terms of the GNU General Public License           ;;
6
;;                                                                     ;;
7
;;  booteng.asm the module for Secondary Loader                        ;;
8
;;                                                                     ;;
9
;;  KolibriOS 16-bit loader module,                                    ;;
10
;;                        based on bootcode for KolibriOS              ;;
11
;;                                                                     ;;
12
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
13
 
14
;======================================================================
15
;
16
;                           BOOT DATA
17
;
18
;======================================================================
19
 
20
d80x25_bottom:
21
          db       186,' KolibriOS is based on MenuetOS and comes with ABSOLUTELY '
22
          db       'NO WARRANTY         ',186
23
          db       186,' See file COPYING for details                             '
24
          db       '                    ',186
25
          line_full_bottom
26
d80x25_bottom_num = 3
27
 
28
msg_apm   db      " APM x.x ", 0
29
vervesa   db      "Version of Vesa: Vesa x.x",13,10,0
30
novesa    db      "Display: EGA/CGA",13,10,0
31
s_vesa    db      "Version of VESA: "
32
  .ver    db      "?.?",13,10,0
33
 
34
gr_mode   db      "Select a videomode: ",13,10,0
35
 
36
vrrmprint db      "Apply VRR? (picture frequency greater than 60Hz"
37
          db      " only for transfers:",13,10
38
          db      186," 1024*768->800*600 and 800*600->640*480) [1-yes,2-no]:",0
39
 
40
 
41
ask_bd     db      "Add disks visible by BIOS emulated in V86-mode? [1-yes, 2-no]: ",0
42
 
43
bdev      db      "Load ramdisk from [1-floppy; 2-C:\kolibri.img (FAT32);"
44
          db      13,10,186,"                    "
45
          db      "3-use preloaded ram-image from kernel restart;"
46
          db      13,10,186,"                    "
47
          db      "4-create blank image]: ",0
48
probetext db      13,10,13,10,186," Use standart graphics mode? [1-yes, "
49
          db      "2-probe bios (Vesa 3.0)]: ",0
50
prnotfnd  db      "Fatal - Videomode not found.",0
51
not386    db      "Fatal - CPU 386+ required.",0
52
btns      db      "Fatal - Can't determine color depth.",0
53
fatalsel  db      "Fatal - Graphics mode not supported by hardware.",0
54
pres_key  db      "Press any key to choose a new videomode.",0
55
badsect   db      13,10,186," Fatal - Bad sector. Replace floppy.",0
56
memmovefailed db  13,10,186," Fatal - Int 0x15 move failed.",0
57
okt       db      " ... OK"
58
linef     db      13,10,0
59
diskload  db      "Loading diskette: 00 %",8,8,8,8,0
60
pros      db      "00"
61
backspace2 db     8,8,0
62
boot_dev  db      0  ; 0=floppy, 1=hd
1156 Lrz 63
start_msg db      "Press [abc] to change settings, press [Enter] to continue booting",13,10,0
1065 Lrz 64
time_msg  db      " or wait "
65
time_str  db      " 5 seconds"
66
          db      " before automatical continuation",13,10,0
67
current_cfg_msg db "Current settings:",13,10,0
68
curvideo_msg db   " [a] Videomode: ",0
69
 
70
mode0     db      "320x200, EGA/CGA 256 colors",13,10,0
71
mode9     db      "640x480, VGA 16 colors",13,10,0
72
 
73
usebd_msg db      " [b] Add disks visible by BIOS:",0
74
on_msg    db      " on",13,10,0
75
off_msg   db      " off",13,10,0
76
;readonly_msg db   " only for reading",13,10,0
77
vrrm_msg  db      " [c] Use VRR:",0
78
preboot_device_msg db " [d] Floppy image: ",0
79
preboot_device_msgs dw 0,pdm1,pdm2,pdm3
80
pdm1      db      "real floppy",13,10,0
81
pdm2      db      "C:\kolibri.img (FAT32)",13,10,0
82
pdm3      db      "use already loaded image",13,10,0
83
pdm4      db      "create blank image",13,10,0
84
loading_msg db    "Loading KolibriOS...",0
85
save_quest db     "Remember current settings? [y/n]: ",0
86
loader_block_error db "Bootloader data invalid, I cannot continue. Stopped.",0
87
 
88
_st db 186,'                   ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄ¿',13,10,0
89
_r1 db 186,'                   ³  320x200  EGA/CGA 256 colors  ³ ³',13,10,0
90
_r2 db 186,'                   ³  640x480  VGA 16 colors       ³ ³',13,10,0
91
_rs db 186,'                   ³  ????x????@??  SVGA VESA      ³ ³',13,10,0
92
_bt db 186,'                   ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÙ',13,10,0
93
 
94
remark1 db      "Default values were selected to match most of configurations, but not all.",0
95
remark2 db      "If you have LCD-monitor, disable VRR in the item [c] - you do not need it.",0
96
remark3 db      "If the system does not boot, try to disable the item [b].",0
97
remarks dw      remark1, remark2, remark3
98
num_remarks = 3