wm3.h revision deb4998ba50060c48cce222fd18a8eed053918d7
/* $XConsortium: wm3.h /main/4 1996/02/21 17:59:24 kaleb $ */
#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#endif
#include "vgaReg.h"
#ifdef PC98_EGC
#define VGA_ALLPLANES 0xFL
#endif
/* Do call in Write Mode 3.
* We take care of the possibility that two passes are needed.
*/
#ifndef PC98_EGC
(call); \
if ( _tp ) { \
(call); \
} \
}
#else
(call); \
}
#endif
#ifndef PC98_EGC
#define WM3_SET_INK(ink) \
#else
#define WM3_SET_INK(ink) \
#endif
/* GJA -- Move a long word to screen memory.
* The reads into 'dummy' are here to load the VGA latches.
* This is a RMW operation except for trivial cases.
* Notice that we ignore the operation.
*/
#ifdef PC98_EGC
{ volatile unsigned short *_dtmp = \
(volatile unsigned short *)(destp); \
#else
volatile int dummy; /* Bit bucket. */ \
#endif
{ volatile int dummy; /* Bit bucket. */ \