plan 9 kernel history: overview | file list | diff list

1991/0929/pc/vga.c (diff list | history)

1991/0928/sys/src/9/pc/vga.c:168,1761991/0929/sys/src/9/pc/vga.c:168,173 (short | long | prev | next)
1991/0928    
	arout(Acpe, 0x0f);	/* enable 4 planes for output */ 
} 
 
/* 
1991/0727    
 *  Set up for 4 separately addressed bit planes.  Each plane is  
 */ 
void 
1991/0730    
screeninit(void) 
1991/0723    
{ 
1991/0928/sys/src/9/pc/vga.c:179,1841991/0929/sys/src/9/pc/vga.c:176,182
1991/0730    
	ulong *l; 
1991/0723    
 
1991/0928    
	vga1(); 
1991/0929    
 
1991/0727    
	/* 
1991/0801    
	 *  swizzle the font longs. 
1991/0921    
	 *  we do it here since the font is initialized with big 
1991/0928/sys/src/9/pc/vga.c:189,2021991/0929/sys/src/9/pc/vga.c:187,193
1991/0801    
	for(i = defont->bits->width*Dy(defont->bits->r); i > 0; i--, l++) 
		*l = (*l<<24) | ((*l>>8)&0x0000ff00) | ((*l<<8)&0x00ff0000) | (*l>>24); 
 
	/* 
1991/0727    
	 *  zero out display 
	 */ 
1991/0801    
	gbitblt(&gscreen, Pt(0, 0), &gscreen, gscreen.r, flipD[0]); 
1991/0730    
                 
	/* 
1991/0801    
	 *  start printing at the top of screen 
1991/0730    
	 */ 
	out.pos.x = MINX; 
	out.pos.y = 0; 
	out.bwid = defont0.info[' '].width; 


source code copyright © 1990-2005 Lucent Technologies; see license
Plan 9 distribution
comments to russ cox (rsc@swtch.com)