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

1992/1108/port/devbit.c (diff list | history)

1992/1108/sys/src/9/port/devbit.c:309,3141992/1112/sys/src/9/port/devbit.c:309,330 (short | long | prev | next)
1990/05313    
	Cursortocursor(&arrow); 
1990/0324    
} 
 
1992/1112    
/* 
 *  screen bit depth changed, reset backup map for cursor 
 */ 
void 
bitdepth(void) 
{ 
	cursoroff(1); 
	if(gscreen.ldepth > 3) 
		cursorback.ldepth = 0; 
	else{ 
		cursorback.ldepth = gscreen.ldepth; 
		cursorback.width = ((16 << gscreen.ldepth) + 31) >> 5; 
	} 
	cursoron(1); 
} 
 
1990/0324    
void 
bitinit(void) 
{ 


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