Category : C Source Code
Archive   : RXGRAPH.ZIP
Filename : SCRFILL.C

 
Output of file : SCRFILL.C contained in archive : RXGRAPH.ZIP

scr_fill(color) unsigned int color;
{
int far *video_ram=(int far *)(0xb800<<16);
int i=0x2000; /* 8 K words */
color|=color<<2;
color|=color<<4;
color|=color<<8;
while (i)
{
*video_ram=color;
++video_ram;
--i;
}
}