Subversion Repositories Kolibri OS

Rev

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

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