src/vesainit.c
/**************************************************************/
/*                      V E S A _ c a l l                     */
/* General utility function for doing a BIOS call to the VESA */
/* bios.                                                      */
/**************************************************************/
V E S A _ c a l l
General utility function for doing a BIOS call to the VESA
bios.
V E S A _ c a l l General utility function for doing a BIOS call to the VESA bios .
int VESA_call(int class, int subfunc)
{
  union REGS inregs, outregs;
  inregs.h.ah = VESA;
  inregs.h.al = class;
  inregs.x.bx = subfunc;
  int86(0x10, &inregs, &outregs);
  return ((outregs.h.al == VESA) && (outregs.h.ah == SUCESS));
}
int VESA_call ( int class , int subfunc ) { union REGS inregs , outregs ; inregs . h . ah = VESA ; inregs . h . al = class ; inregs . x . bx = subfunc ; int86 ( 0x10 , & inregs , & outregs ) ; return ( ( outregs . h . al == VESA ) && ( outregs . h . ah == SUCESS ) ) ; }
V E S A _ c a l l
General utility function for doing a BIOS call to the VESA
bios.
V E S A _ c a l l General utility function for doing a BIOS call to the VESA bios .