ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

vgavideo.h File Reference

Go to the source code of this file.

Data Structures

struct  VideoMode

Defines

#define SCREEN_X   640
#define SCREEN_Y   480
#define SCREEN_STRIDE   80
#define VGA_NORMAL   0
#define VGA_AND   8
#define VGA_OR   16
#define VGA_XOR   24
#define MISC   0x3c2
#define SEQ   0x3c4
#define CRTC   0x3d4
#define GRAPHICS   0x3ce
#define FEATURE   0x3da
#define ATTRIB   0x3c0
#define STATUS   0x3da
#define SEQ_I   0x3C4 /* Sequencer Index */
#define SEQ_D   0x3C5 /* Sequencer Data Register */
#define GRA_I   0x3CE /* Graphics Controller Index */
#define GRA_D   0x3CF /* Graphics Controller Data Register */
#define LowByte(w)   (*((unsigned char *)&(w) + 0))
#define HighByte(w)   (*((unsigned char *)&(w) + 1))
#define ASSIGNVP4(x, y, vp)   vp = vidmem /* VBUF */ + (((x) + (y)*SCREEN_X) >> 3);
#define ASSIGNMK4(x, y, mask)   mask = 0x80 >> ((x) & 7);
#define mod8(n)   ((n)&7)
#define mod2(n)   ((n)&1)

Functions

VOID vgaPreCalc (VOID)
VOID vgaPutPixel (INT x, INT y, UCHAR c)
VOID vgaPutByte (INT x, INT y, UCHAR c)
VOID vgaGetByte (ULONG offset, UCHAR *b, UCHAR *g, UCHAR *r, UCHAR *i)
INT vgaGetPixel (INT x, INT y)
BOOL vgaHLine (INT x, INT y, INT len, UCHAR c)
BOOL vgaVLine (INT x, INT y, INT len, UCHAR c)
INT __cdecl abs (INT nm)
BOOL VGADDIIntersectRect (PRECTL prcDst, PRECTL prcSrc1, PRECTL prcSrc2)
void get_masks (int x, int w)
void DIB_BltFromVGA (int x, int y, int w, int h, void *b, int Dest_lDelta)
void DIB_BltToVGA (int x, int y, int w, int h, void *b, int Source_lDelta, int StartMod)
void DIB_BltToVGAWithXlate (int x, int y, int w, int h, void *b, int Source_lDelta, XLATEOBJ *Xlate)
void DIB_TransparentBltToVGA (int x, int y, int w, int h, void *b, int Source_lDelta, ULONG trans)

Variables

int maskbit [640]
int y80 [480]
int xconv [640]
int bit8 [640]
int startmasks [8]
int endmasks [8]
UCHAR PreCalcReverseByte [256]
PBYTE vidmem

Generated on Sat May 26 2012 06:08:57 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.