~kris/9p

9hist

ref: 9f9f12b3fa4f2c529ed1e00a8b85fe1dce3f155c 9hist/pc/vgaclgd542x.c -rw-r--r-- 361 bytes
9f9f12b3 — David du Colombier Plan 9 from Bell Labs 1996-08-08 30 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#include "u.h"
#include "../port/lib.h"
#include "mem.h"
#include "dat.h"
#include "fns.h"
#include "../port/error.h"

#include <libg.h>
#include "screen.h"
#include "vga.h"

static void
clgd542xpage(int page)
{
	vgaxo(Grx, 0x09, page<<4);
}

static Vgac clgd542x = {
	"clgd542x",
	clgd542xpage,

	0,
};

void
vgaclgd542xlink(void)
{
	addvgaclink(&clgd542x);
}