don't optimize reading/writing from/to vga memory away in optimized builds. this fixes bug #490

svn path=/trunk/; revision=13330
This commit is contained in:
Thomas Bluemel 2005-01-27 00:29:12 +00:00
parent 002ed92443
commit fb5a8b1c3c

View file

@ -18,8 +18,8 @@ static unsigned char leftMask;
static int byteCounter;
static unsigned char rightMask;
#define READ_REGISTER_UCHAR(p) (*((PUCHAR)(p)))
#define WRITE_REGISTER_UCHAR(p,c) (*((PCHAR)(p))) = (c)
#define READ_REGISTER_UCHAR(p) (*((volatile UCHAR *)(p)))
#define WRITE_REGISTER_UCHAR(p,c) (*((volatile CHAR *)(p))) = (c)
INT abs(INT nm)
{