*BSD News Article 11374


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA1704 ; Tue, 23 Feb 93 14:54:27 EST
Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!spool.mu.edu!torn!mcshub!maccs!dsantry
From: dsantry@maccs.mcmaster.ca (Doug Santry)
Subject: Accessing the VGA in 386BSD
Message-ID: <1993Feb19.190256.1247@mcshub.dcss.mcmaster.ca>
Sender: usenet@mcshub.dcss.mcmaster.ca
Nntp-Posting-Host: maccs.dcss.mcmaster.ca
Organization: Department of Computer Science, McMaster University
Date: Fri, 19 Feb 1993 19:02:56 GMT
Lines: 10


Hi, I was wondering if anyone out there knows how to access the VGA in
bsd.  I want to change the videomode to a super-vga mode, draw my stuff,
then return to standard text mode.  I assume the kernel won't let you simply
access the VGA yourself and protects it.  Turning on a pixel involves writing
a byte to the VGA, in other words accessing memory that your session doesn't
own.  Any advice or suggestions would be greatly appreciated.  I have never
done any low-level UNIX programming before so this is perplexing.

thankx