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

1993/0915/pc/devvga.c (diff list | history)

1993/0409/sys/src/9/pc/devvga.c:103,1091993/0915/sys/src/9/pc/devvga.c:103,109 (short | long | prev | next)
1992/1119    
static	Rectangle mbb; 
static	Rectangle NULLMBB = {10000, 10000, -10000, -10000}; 
1992/1216    
static	void nopage(int), tsengpage(int), tridentpage(int), parapage(int); 
1993/0106    
static	void atipage(int); 
1993/0915    
static	void atipage(int), cirruspage(int); 
1992/1216    
static	void vgaupdate(void); 
1992/1119    
 
/* 
1993/0409/sys/src/9/pc/devvga.c:122,1271993/0915/sys/src/9/pc/devvga.c:122,128
1992/1124    
	Pvga1a,		/* paradise */ 
1992/1216    
	Trident,	/* Trident 8900 */ 
	Tseng,		/* tseng labs te4000 */ 
1993/0915    
	Cirrus,		/* Cirrus CLGD542X */ 
1992/1119    
	Generic, 
}; 
 
1993/0409/sys/src/9/pc/devvga.c:131,1361993/0915/sys/src/9/pc/devvga.c:132,138
1992/1124    
[Pvga1a]	{ "pvga1a", parapage, }, 
1992/1216    
[Trident]	{ "trident", tridentpage, }, 
1992/1119    
[Tseng]		{ "tseng", tsengpage, }, 
1993/0915    
[Cirrus]	{ "cirrus", cirruspage, }, 
1992/1119    
[Generic]	{ "generic", nopage, }, 
		{ 0, 0, }, 
}; 
1993/0409/sys/src/9/pc/devvga.c:659,6651993/0915/sys/src/9/pc/devvga.c:661,667
1993/0106    
static void 
1992/1216    
tridentpage(int page) 
{ 
1993/0206    
	srout(0x0e, (srin(0x0e)&0xf0) | page^0x02); 
1993/0915    
	srout(0xe, (srin(0xe)&0xf0) | page^0x2); 
1992/1119    
} 
static void 
tsengpage(int page) 
1993/0409/sys/src/9/pc/devvga.c:667,6751993/0915/sys/src/9/pc/devvga.c:669,682
1992/1119    
	outb(0x3cd, (page<<4)|page); 
1992/1124    
} 
static void 
1993/0915    
cirruspage(int page) 
{ 
	grout(0x9, page<<4); 
} 
static void 
1992/1124    
parapage(int page) 
{ 
	grout(9, page<<4); 
1993/0915    
	grout(0x9, page<<4); 
1992/1119    
} 
 
/* 
1993/0409/sys/src/9/pc/devvga.c:918,9351993/0915/sys/src/9/pc/devvga.c:925,940
1992/1119    
	return ~0; 
} 
 
int 
hwcursset(uchar *s, uchar *c, int ox, int oy) 
1993/0915    
void 
hwcursset(ulong *s, ulong *c, int ox, int oy) 
1992/1119    
{ 
	USED(s, c, ox, oy); 
	return 0; 
} 
 
int 
1993/0915    
void 
1992/1119    
hwcursmove(int x, int y) 
{ 
	USED(x, y); 
	return 0; 
} 
 
/* 


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