1998-11-01 12:51:47 +00:00
|
|
|
|
/*
|
|
|
|
|
* VGA emulation
|
|
|
|
|
*
|
|
|
|
|
* Copyright 1998 Ove K<EFBFBD>ven
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef __WINE_VGA_H
|
|
|
|
|
#define __WINE_VGA_H
|
|
|
|
|
|
1999-02-09 15:46:25 +00:00
|
|
|
|
#include "wingdi.h"
|
1998-11-01 12:51:47 +00:00
|
|
|
|
|
|
|
|
|
int VGA_SetMode(unsigned Xres,unsigned Yres,unsigned Depth);
|
|
|
|
|
int VGA_GetMode(unsigned*Height,unsigned*Width,unsigned*Depth);
|
|
|
|
|
void VGA_Exit(void);
|
|
|
|
|
void VGA_SetPalette(PALETTEENTRY*pal,int start,int len);
|
|
|
|
|
void VGA_SetQuadPalette(RGBQUAD*color,int start,int len);
|
|
|
|
|
LPSTR VGA_Lock(unsigned*Pitch,unsigned*Height,unsigned*Width,unsigned*Depth);
|
|
|
|
|
void VGA_Unlock(void);
|
1998-12-10 10:47:26 +00:00
|
|
|
|
void VGA_Poll(WORD timer);
|
1998-11-01 12:51:47 +00:00
|
|
|
|
void VGA_ioport_out(WORD port, BYTE val);
|
1998-11-08 15:06:31 +00:00
|
|
|
|
BYTE VGA_ioport_in(WORD port);
|
1998-11-01 12:51:47 +00:00
|
|
|
|
|
|
|
|
|
#endif /* __WINE_VGA_H */
|