Subversion Repositories Kolibri OS

Rev

Rev 1 | Blame | Last modification | View Log | Download | RSS feed

  1. ;
  2. ; Call of videomode driver's functions
  3. ;
  4. ; (Add in System function 21 (and/or 26) as a subfunction 13)
  5. ;
  6. ; Author: Trans
  7. ; Date:  19.07.2003
  8. ;
  9. ; Include in MeOS kernel and compile with FASM
  10. ;
  11.      cmp  eax,13                 ; CALL VIDEOMODE DRIVER FUNCTIONS
  12.      jne  .no_vmode_drv_access
  13.      or   eax,-1                 ; If driver is absent then eax does not change
  14.      call 0x760100               ; Entry point of video driver
  15.      mov  [esp+36],eax
  16.      mov  [esp+24],ebx
  17.      mov  [esp+32],ecx
  18. ;    mov  [esp+28],edx
  19.      ret
  20.    .no_vmode_drv_access:
  21.