mirror of
https://github.com/reactos/wine.git
synced 2024-12-11 13:26:00 +00:00
1499a845ff
file. Made it use a system timer and trap I/O accesses to the VGA DAC registers to accommodate DisplayDib-using programs that try to access the VGA hardware directly.
24 lines
578 B
C
24 lines
578 B
C
/*
|
|
* VGA emulation
|
|
*
|
|
* Copyright 1998 Ove KÅven
|
|
*
|
|
*/
|
|
|
|
#ifndef __WINE_VGA_H
|
|
#define __WINE_VGA_H
|
|
|
|
#include "wintypes.h"
|
|
|
|
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);
|
|
void VGA_Poll(void);
|
|
void VGA_ioport_out(WORD port, BYTE val);
|
|
|
|
#endif /* __WINE_VGA_H */
|