mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-12 18:07:06 +03:00
822a9715c4
* Deleted useless sysfunction 59 (syscalls trace) * Load vmode.mdr via new file subsystem * KFar 0.2 git-svn-id: svn://kolibrios.org@314 a494cfbc-eb01-0410-851d-a64ba20cac60
23 lines
751 B
PHP
23 lines
751 B
PHP
;
|
|
; Load of videomode driver in memory
|
|
;
|
|
; (driver is located at 0x760000-0x768000 - 32kb) // if this area not occuped anything
|
|
;
|
|
; Author: Trans
|
|
; Date: 19.07.2003
|
|
;
|
|
; Include in MeOS kernel and compile with FASM
|
|
;
|
|
|
|
|
|
; LOAD VIDEOMODE DRIVER
|
|
; If vmode.mdr file not found
|
|
or eax,-1 ; Driver ID = -1 (not present in system)
|
|
mov [0x760000],eax ;
|
|
mov [0x760100],byte 0xC3 ; Instruction RETN - driver loop
|
|
|
|
mov esi, vmode
|
|
xor ebx, ebx
|
|
mov ecx, 0x8000 ; size of memory area for driver
|
|
mov edx, 0x760000 ; Memory position of driver
|
|
call fs_RamdiskRead |