wm3.h revision 45e9809aff7304721fddb95654901b32195c9c7a
#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. */ \