mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-29 01:39:41 +03:00
d5c0fed779
git-svn-id: svn://kolibrios.org@2 a494cfbc-eb01-0410-851d-a64ba20cac60
21 lines
581 B
PHP
21 lines
581 B
PHP
;
|
|
; Call of videomode driver's functions
|
|
;
|
|
; (Add in System function 21 (and/or 26) as a subfunction 13)
|
|
;
|
|
; Author: Trans
|
|
; Date: 19.07.2003
|
|
;
|
|
; Include in MeOS kernel and compile with FASM
|
|
;
|
|
cmp eax,13 ; CALL VIDEOMODE DRIVER FUNCTIONS
|
|
jne .no_vmode_drv_access
|
|
or eax,-1 ; If driver is absent then eax does not change
|
|
call 0x760100 ; Entry point of video driver
|
|
mov [esp+36],eax
|
|
mov [esp+24],ebx
|
|
mov [esp+32],ecx
|
|
; mov [esp+28],edx
|
|
ret
|
|
.no_vmode_drv_access:
|