9,7 → 9,7 |
; |
; Load of videomode driver in memory |
; |
; (driver is located at 0x760000-0x768000 - 32kb) // if this area not occuped anything |
; (driver is located at VMODE_BASE - 32kb) // if this area not occuped anything |
; |
; Author: Trans |
; Date: 19.07.2003 |
21,11 → 21,11 |
; LOAD VIDEOMODE DRIVER |
; If vmode.mdr file not found |
or eax,-1 ; Driver ID = -1 (not present in system) |
mov [OS_BASE+0x760000],eax ; |
mov [OS_BASE+0x760100],byte 0xC3 ; Instruction RETN - driver loop |
mov [VMODE_BASE],eax ; |
mov [VMODE_BASE+0x100],byte 0xC3 ; Instruction RETN - driver loop |
|
mov esi, vmode |
xor ebx, ebx |
mov ecx, 0x8000 ; size of memory area for driver |
mov edx, OS_BASE+0x760000 ; Memory position of driver |
mov edx, VMODE_BASE ; Memory position of driver |
call fs_RamdiskRead |