4 * Copyright 1998 Ove KÅven
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
28 int VGA_SetMode(unsigned Xres
,unsigned Yres
,unsigned Depth
);
29 int VGA_GetMode(unsigned*Height
,unsigned*Width
,unsigned*Depth
);
31 void VGA_SetPalette(PALETTEENTRY
*pal
,int start
,int len
);
32 void VGA_SetColor16(int reg
,int color
);
33 void VGA_SetQuadPalette(RGBQUAD
*color
,int start
,int len
);
34 LPSTR
VGA_Lock(unsigned*Pitch
,unsigned*Height
,unsigned*Width
,unsigned*Depth
);
35 void VGA_Unlock(void);
38 int VGA_SetAlphaMode(unsigned Xres
,unsigned Yres
);
39 void VGA_GetAlphaMode(unsigned*Xres
,unsigned*Yres
);
40 void VGA_SetCursorPos(unsigned X
,unsigned Y
);
41 void VGA_GetCursorPos(unsigned*X
,unsigned*Y
);
42 void VGA_WriteChars(unsigned X
,unsigned Y
,unsigned ch
,int attr
,int count
);
45 void VGA_ioport_out(WORD port
, BYTE val
);
46 BYTE
VGA_ioport_in(WORD port
);
49 #endif /* __WINE_VGA_H */