Rev 465 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 465 | Rev 472 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | $Revision: 465 $ |
1 | $Revision: 472 $ |
2 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
2 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
3 | ;; ;; |
3 | ;; ;; |
4 | ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; |
4 | ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; |
5 | ;; Distributed under terms of the GNU General Public License ;; |
5 | ;; Distributed under terms of the GNU General Public License ;; |
6 | ;; ;; |
6 | ;; ;; |
7 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
7 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 8... | Line 8... | ||
8 | 8 | ||
9 | ; |
9 | ; |
10 | ; Load of videomode driver in memory |
10 | ; Load of videomode driver in memory |
11 | ; |
11 | ; |
12 | ; (driver is located at 0x760000-0x768000 - 32kb) // if this area not occuped anything |
12 | ; (driver is located at VMODE_BASE - 32kb) // if this area not occuped anything |
13 | ; |
13 | ; |
14 | ; Author: Trans |
14 | ; Author: Trans |
15 | ; Date: 19.07.2003 |
15 | ; Date: 19.07.2003 |
16 | ; |
16 | ; |
Line 19... | Line 19... | ||
19 | 19 | ||
20 | 20 | ||
21 | ; LOAD VIDEOMODE DRIVER |
21 | ; LOAD VIDEOMODE DRIVER |
22 | ; If vmode.mdr file not found |
22 | ; If vmode.mdr file not found |
23 | or eax,-1 ; Driver ID = -1 (not present in system) |
23 | or eax,-1 ; Driver ID = -1 (not present in system) |
Line 24... | Line 24... | ||
24 | mov [OS_BASE+0x760000],eax ; |
24 | mov [VMODE_BASE],eax ; |
25 | mov [OS_BASE+0x760100],byte 0xC3 ; Instruction RETN - driver loop |
25 | mov [VMODE_BASE+0x100],byte 0xC3 ; Instruction RETN - driver loop |
26 | 26 | ||
27 | mov esi, vmode |
27 | mov esi, vmode |
28 | xor ebx, ebx |
28 | xor ebx, ebx |