Subversion Repositories Kolibri OS

Rev

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

Rev 401 Rev 438
-
 
1
$Revision: 437 $
1
;======================================================================
2
;======================================================================
2
;
3
;
3
;                           BOOT DATA
4
;                           BOOT DATA
4
;
5
;
5
;======================================================================
6
;======================================================================
6
 
-
 
7
macro line_full_top {
-
 
8
          db       201
-
 
9
          times    78   db 205
-
 
10
          db       187
-
 
11
}
-
 
12
macro line_full_bottom {
-
 
13
          db       200
-
 
14
          times    78   db 205
-
 
15
          db       188
-
 
16
}
-
 
17
macro line_half {
-
 
18
          db      186,' '
-
 
19
          times    76   db 0xc4
-
 
20
          db      ' ',186
-
 
21
}
-
 
22
macro line_space {
-
 
23
          db      186
-
 
24
          times   78 db 32
-
 
25
          db      186
-
 
26
}
-
 
27
d80x25_top:
-
 
28
		line_full_top
-
 
29
space_msg:	line_space
-
 
30
verstr:
-
 
31
;		line_space
-
 
32
; version string
-
 
33
	db 186,32
-
 
34
	repeat 78
-
 
35
		load a byte from version+%-1
-
 
36
		if a = 13
-
 
37
			break
-
 
38
		end if
-
 
39
		db a
-
 
40
	end repeat
-
 
41
	repeat 78 - ($-verstr)
-
 
42
		db	' '
-
 
43
	end repeat
-
 
44
	db 32,186
-
 
45
		line_half
-
 
46
d80x25_top_num = 4
7
 
47
d80x25_bottom:
8
d80x25_bottom:
48
          db       186,' KolibriOS based on MenuetOS and comes with ABSOLUTELY '
9
          db       186,' KolibriOS based on MenuetOS and comes with ABSOLUTELY '
49
          db       'NO WARRANTY            ',186
10
          db       'NO WARRANTY            ',186
50
          db       186,' See file COPYING for details                          '
11
          db       186,' See file COPYING for details                          '
51
          db       '                       ',186
12
          db       '                       ',186
52
          line_full_bottom
13
          line_full_bottom
53
d80x25_bottom_num = 3
14
d80x25_bottom_num = 3
54
 
15
 
55
novesa    db      "Display: EGA/CGA",13,10,0
16
novesa    db      "Display: EGA/CGA",13,10,0
56
vervesa   db      "Version of Vesa: Vesa x.x",13,10,0
17
vervesa   db      "Version of Vesa: Vesa x.x",13,10,0
57
vervesa_off=22
18
vervesa_off=22
58
msg_apm	  db      " APM x.x ", 0
19
msg_apm	  db      " APM x.x ", 0
59
gr_mode   db      186," Vesa 2.0+ 16 M LFB:  [1] 640x480, [2] 800x600, "
20
gr_mode   db      186," Vesa 2.0+ 16 M LFB:  [1] 640x480, [2] 800x600, "
60
          db      "[3] 1024x768, [4] 1280x1024",13,10
21
          db      "[3] 1024x768, [4] 1280x1024",13,10
61
          db      186," Vesa 1.2  16 M Bnk:  [5] 640x480, [6] 800x600, "
22
          db      186," Vesa 1.2  16 M Bnk:  [5] 640x480, [6] 800x600, "
62
          db      "[7] 1024x768, [8] 1280x1024",13,10
23
          db      "[7] 1024x768, [8] 1280x1024",13,10
63
          db      186," EGA/CGA   256 Colors:  [9] 320x200, "
24
          db      186," EGA/CGA   256 Colors:  [9] 320x200, "
64
          db      "VGA 16 Colors: [0]  640x480",13,10
25
          db      "VGA 16 Colors: [0]  640x480",13,10
65
          db      186," Select mode: ",0
26
          db      186," Select mode: ",0
66
bt24      db      "Bits Per Pixel: 24",13,10,0
27
bt24      db      "Bits Per Pixel: 24",13,10,0
67
bt32      db      "Bits Per Pixel: 32",13,10,0
28
bt32      db      "Bits Per Pixel: 32",13,10,0
68
vrrmprint db      "Apply VRR? (picture frequency greater than 60Hz"
29
vrrmprint db      "Apply VRR? (picture frequency greater than 60Hz"
69
          db      " only for transfers:",13,10
30
          db      " only for transfers:",13,10
70
          db      186," 1024*768->800*600 and 800*600->640*480) [1-yes,2-no]:",0
31
          db      186," 1024*768->800*600 and 800*600->640*480) [1-yes,2-no]:",0
71
;askmouse  db      " Mouse at:"
32
;askmouse  db      " Mouse at:"
72
;          db      " [1] PS/2 (USB), [2] Com1, [3] Com2."
33
;          db      " [1] PS/2 (USB), [2] Com1, [3] Com2."
73
;          db      " Select port [1-3]: ",0
34
;          db      " Select port [1-3]: ",0
74
;no_com1   db      13,10,186, " No COM1 mouse",0
35
;no_com1   db      13,10,186, " No COM1 mouse",0
75
;no_com2   db      13,10,186, " No COM2 mouse",0         
36
;no_com2   db      13,10,186, " No COM2 mouse",0         
76
ask_dma   db      "Use DMA for HDD writing? [1-yes/2-no]: ",0
37
ask_dma   db      "Use DMA for HDD writing? [1-yes/2-no]: ",0
77
;gr_direct db      186," Use direct LFB writing? "
38
;gr_direct db      186," Use direct LFB writing? "
78
;          db      "[1-yes/2-no] ? ",0
39
;          db      "[1-yes/2-no] ? ",0
79
;mem_model db      13,10,186," Motherboard memory [1-16 Mb / 2-32 Mb / "
40
;mem_model db      13,10,186," Motherboard memory [1-16 Mb / 2-32 Mb / "
80
;          db      "3-64Mb / 4-128 Mb / 5-256 Mb] ? ",0
41
;          db      "3-64Mb / 4-128 Mb / 5-256 Mb] ? ",0
81
;bootlog   db      13,10,186," After bootlog display [1-continue/2-pause] ? ",0
42
;bootlog   db      13,10,186," After bootlog display [1-continue/2-pause] ? ",0
82
bdev      db      "Load ramdisk from [1-floppy; 2-C:\kolibri.img (FAT32);"
43
bdev      db      "Load ramdisk from [1-floppy; 2-C:\kolibri.img (FAT32);"
83
          db      13,10,186,"                    "
44
          db      13,10,186,"                    "
84
          db      "3-use preloaded ram-image from kernel restart]: ",0
45
          db      "3-use preloaded ram-image from kernel restart]: ",0
85
probetext db      13,10,13,10,186," Use standart graphics mode? [1-yes, "
46
probetext db      13,10,13,10,186," Use standart graphics mode? [1-yes, "
86
          db      "2-probe bios (Vesa 3.0)]: ",0
47
          db      "2-probe bios (Vesa 3.0)]: ",0
87
;memokz256 db      13,10,186," RAM 256 Mb",0
48
;memokz256 db      13,10,186," RAM 256 Mb",0
88
;memokz128 db      13,10,186," RAM 128 Mb",0
49
;memokz128 db      13,10,186," RAM 128 Mb",0
89
;memokz64  db      13,10,186," RAM 64 Mb",0
50
;memokz64  db      13,10,186," RAM 64 Mb",0
90
;memokz32  db      13,10,186," RAM 32 Mb",0
51
;memokz32  db      13,10,186," RAM 32 Mb",0
91
;memokz16  db      13,10,186," RAM 16 Mb",0
52
;memokz16  db      13,10,186," RAM 16 Mb",0
92
prnotfnd  db      "Fatal - Videomode not found.",0
53
prnotfnd  db      "Fatal - Videomode not found.",0
93
;modena    db      "Fatal - VBE 0x112+ required.",0
54
;modena    db      "Fatal - VBE 0x112+ required.",0
94
not386    db      "Fatal - CPU 386+ required.",0
55
not386    db      "Fatal - CPU 386+ required.",0
95
btns      db      "Fatal - Can't determine color depth.",0
56
btns      db      "Fatal - Can't determine color depth.",0
96
fatalsel  db      "Fatal - Graphics mode not supported by hardware.",0
57
fatalsel  db      "Fatal - Graphics mode not supported by hardware.",0
97
badsect   db      13,10,186," Fatal - Bad sector. Replace floppy.",0
58
badsect   db      13,10,186," Fatal - Bad sector. Replace floppy.",0
98
memmovefailed db  13,10,186," Fatal - Int 0x15 move failed.",0
59
memmovefailed db  13,10,186," Fatal - Int 0x15 move failed.",0
99
okt       db      " ... OK"
60
okt       db      " ... OK"
100
linef     db      13,10,0
61
linef     db      13,10,0
101
diskload  db      "Loading diskette: 00 %",8,8,8,8,0
62
diskload  db      "Loading diskette: 00 %",8,8,8,8,0
102
pros      db      "00"
63
pros      db      "00"
103
backspace2 db     8,8,0
64
backspace2 db     8,8,0
104
boot_dev  db      0  ; 0=floppy, 1=hd
65
boot_dev  db      0  ; 0=floppy, 1=hd
105
start_msg db      "Press [abcd] to change settings, press [Enter] to continue booting",13,10,0
66
start_msg db      "Press [abcd] to change settings, press [Enter] to continue booting",13,10,0
106
time_msg  db      " or wait "
67
time_msg  db      " or wait "
107
time_str  db      " 5 seconds"
68
time_str  db      " 5 seconds"
108
          db      " before automatical continuation",13,10,0
69
          db      " before automatical continuation",13,10,0
109
current_cfg_msg db "Current settings:",13,10,0
70
current_cfg_msg db "Current settings:",13,10,0
110
curvideo_msg db   " [a] Videomode: ",0
71
curvideo_msg db   " [a] Videomode: ",0
111
mode1     db      "640x480",0
72
mode1     db      "640x480",0
112
mode2     db      "800x600",0
73
mode2     db      "800x600",0
113
mode3     db      "1024x768",0
74
mode3     db      "1024x768",0
114
mode4     db      "1280x1024",0
75
mode4     db      "1280x1024",0
115
modes_msg dw mode4,mode1,mode2,mode3
76
modes_msg dw mode4,mode1,mode2,mode3
116
modevesa20 db     " with LFB",0
77
modevesa20 db     " with LFB",0
117
modevesa12 db     ", VESA 1.2 Bnk",0
78
modevesa12 db     ", VESA 1.2 Bnk",0
118
mode9     db      "320x200, EGA/CGA 256 colors",0
79
mode9     db      "320x200, EGA/CGA 256 colors",0
119
mode10    db      "640x480, VGA 16 colors",0
80
mode10    db      "640x480, VGA 16 colors",0
120
probeno_msg db    " (standard mode)",0
81
probeno_msg db    " (standard mode)",0
121
probeok_msg db    " (check nonstandard modes)",0
82
probeok_msg db    " (check nonstandard modes)",0
122
dma_msg   db      " [b] Use DMA for HDD writing:",0
83
dma_msg   db      " [b] Use DMA for HDD writing:",0
123
on_msg    db      " on",13,10,0
84
on_msg    db      " on",13,10,0
124
off_msg   db      " off",13,10,0
85
off_msg   db      " off",13,10,0
125
vrrm_msg  db      " [c] Use VRR:",0
86
vrrm_msg  db      " [c] Use VRR:",0
126
preboot_device_msg db " [d] Floppy image: ",0
87
preboot_device_msg db " [d] Floppy image: ",0
127
preboot_device_msgs dw 0,pdm1,pdm2,pdm3
88
preboot_device_msgs dw 0,pdm1,pdm2,pdm3
128
pdm1      db      "real floppy",13,10,0
89
pdm1      db      "real floppy",13,10,0
129
pdm2      db      "C:\kolibri.img (FAT32)",13,10,0
90
pdm2      db      "C:\kolibri.img (FAT32)",13,10,0
130
pdm3      db      "use already loaded image",13,10,0
91
pdm3      db      "use already loaded image",13,10,0
131
loading_msg db    "Loading KolibriOS...",0
92
loading_msg db    "Loading KolibriOS...",0
132
save_quest db     "Remember current settings? [y/n]: ",0
93
save_quest db     "Remember current settings? [y/n]: ",0
133
loader_block_error db "Bootloader data invalid, I cannot continue. Stopped.",0
94
loader_block_error db "Bootloader data invalid, I cannot continue. Stopped.",0