From 5f16d72e156db19dfef5406781c962261a2b6a89 Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Fri, 12 May 1995 00:00:00 +0000 Subject: [PATCH] Plan 9 from Bell Labs 1995-05-12 --- pc/vgaark2000pv.c | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 pc/vgaark2000pv.c diff --git a/pc/vgaark2000pv.c b/pc/vgaark2000pv.c new file mode 100644 index 0000000000000000000000000000000000000000..5ef67aa4efde4b4a083a606206d260d9808a09ab --- /dev/null +++ b/pc/vgaark2000pv.c @@ -0,0 +1,30 @@ +#include "u.h" +#include "../port/lib.h" +#include "mem.h" +#include "dat.h" +#include "fns.h" +#include "../port/error.h" + +#include +#include "screen.h" +#include "vga.h" + +static void +ark2000pvpage(int page) +{ + vgaxo(Seqx, 0x15, page); + vgaxo(Seqx, 0x16, page); +} + +static Vgac ark2000pv = { + "ark2000pv", + ark2000pvpage, + + 0, +}; + +void +vgaark2000pvlink(void) +{ + addvgaclink(&ark2000pv); +}