Rev 521 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 521 | Rev 544 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | $Revision: 521 $ |
1 | $Revision: 544 $ |
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 | ;; ;; |
Line 22... | Line 22... | ||
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) |
24 | mov [VMODE_BASE],eax ; |
24 | mov [VMODE_BASE],eax ; |
25 | mov [VMODE_BASE+0x100],byte 0xC3 ; Instruction RETN - driver loop |
25 | mov [VMODE_BASE+0x100],byte 0xC3 ; Instruction RETN - driver loop |
Line -... | Line 26... | ||
- | 26 | ||
26 | 27 | stdcall read_file, vmode, VMODE_BASE, 0, 0x8000 ;{SPraid.simba} |
|
27 | mov esi, vmode |
28 | ; mov esi, vmode |
28 | xor ebx, ebx |
29 | ; xor ebx, ebx |
29 | mov ecx, 0x8000 ; size of memory area for driver |
30 | ; mov ecx, 0x8000 ; size of memory area for driver |
30 | mov edx, VMODE_BASE ; Memory position of driver |
31 | ; mov edx, VMODE_BASE ; Memory position of driver |
31 | xor ebp, ebp |
32 | ; xor ebp, ebp |