Subversion Repositories Kolibri OS

Rev

Rev 5 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

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