From add6aa9acaa84391e219417c209c8fe4c0e7af88 Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Sun, 29 Sep 1991 00:00:00 +0000 Subject: [PATCH] Plan 9 from Bell Labs 1991-09-29 --- pc/vga.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/pc/vga.c b/pc/vga.c index e80762be8d5393df594c33c8bd9123fe7f97de3c..92301d73e89d423bfb500d9583692bb90a87b8e0 100644 --- a/pc/vga.c +++ b/pc/vga.c @@ -168,9 +168,6 @@ vga1(void) arout(Acpe, 0x0f); /* enable 4 planes for output */ } -/* - * Set up for 4 separately addressed bit planes. Each plane is - */ void screeninit(void) { @@ -179,6 +176,7 @@ screeninit(void) ulong *l; vga1(); + /* * swizzle the font longs. * we do it here since the font is initialized with big @@ -189,14 +187,7 @@ screeninit(void) for(i = defont->bits->width*Dy(defont->bits->r); i > 0; i--, l++) *l = (*l<<24) | ((*l>>8)&0x0000ff00) | ((*l<<8)&0x00ff0000) | (*l>>24); - /* - * zero out display - */ gbitblt(&gscreen, Pt(0, 0), &gscreen, gscreen.r, flipD[0]); - - /* - * start printing at the top of screen - */ out.pos.x = MINX; out.pos.y = 0; out.bwid = defont0.info[' '].width;