56_COLOR_MODE 0x13
#define TEXT_MODE 0x03

void
set_mode(Uint8 mode)
{
	union REGS regs;
	regs.h.ah = 0x00;
	regs.h.al = mode;
	int86(VIDEO_INT, &regs, &regs);
}
</pre>

<h3>Pixels</h3>

<p>The variable offset must be an unsigned short data type (16 bits with a range from 0 to 65,535) because the size of memory needed for mode 0x13 is 64,000 bytes. Using an unsigned short data type helps insure that we won't accidently write to an area of memory that isn't part of the video memory, which might cause our pro