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

1998/0511/pc/vgamach64xx.c (diff list | history)

1998/0508/sys/src/9/pc/vgamach64xx.c:96,1031998/0511/sys/src/9/pc/vgamach64xx.c:96,102 (short | long | prev | next)
Comment edit. Uppercase hex.
rsc Fri Mar 4 12:44:25 2005
1998/0507    
	return aperture; 
} 
 
1998/0508    
enum {					/* MM offset */ 
1998/0507    
                 
1998/0511    
enum { 
1998/0508    
	CurClr0		= 0x0B,		/* I/O Select */ 
	CurClr1		= 0x0C, 
	CurOffset	= 0x0D, 
1998/0508/sys/src/9/pc/vgamach64xx.c:110,1181998/0511/sys/src/9/pc/vgamach64xx.c:109,117
1998/0508    
static uchar mmoffset[] = { 
	[CurClr0]	0x18, 
	[CurClr1]	0x19, 
	[CurOffset]	0x1a, 
	[CurHVposn]	0x1b, 
	[CurHVoff]	0x1c, 
1998/0511    
	[CurOffset]	0x1A, 
	[CurHVposn]	0x1B, 
	[CurHVoff]	0x1C, 
1998/0508    
 
	[GenTestCntl]	0x34, 
}; 
1998/0508/sys/src/9/pc/vgamach64xx.c:159,1641998/0511/sys/src/9/pc/vgamach64xx.c:158,173
1998/0507    
	p = KADDR(scr->aperture); 
	p += scr->storage; 
 
1998/0511    
	/* 
	 * Initialise the 64x64 cursor RAM array. 
	 * The cursor mode gives the following truth table: 
	 *	p1 p0	colour 
	 *	 0  0	Cursor Colour 0 
	 *	 0  1	Cursor Colour 1 
	 *	 1  0	Transparent 
	 *	 1  1	Complement 
	 * Put the cursor into the top-right of the 64x64 array. 
	 */ 
1998/0507    
	for(y = 0; y < 16; y++){ 
		for(i = 0; i < (64-16)/8; i++){ 
			*p++ = 0xAA; 


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