Date: Thu, 07 Mar 1996 12:11:04 -0500 From: Wilson MacGyver <macgyver@infinet.com> To: hackers@freebsd.org Cc: joerg_wunsch@uriah.heep.sax.de Subject: Re: direct access to video card Message-ID: <313F18A8.3DBFAAF4@cylatech.com> References: <199603070857.JAA16268@uriah.heep.sax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
J Wunsch wrote: > You can mmap() the frame buffer, but have a look at the ten thousands > lines of code in the XFree86 Xserver that deal with every and each > hardware idiosyncrasy of the various not-really-compatible graphics > cards. I'm sure, you'll immediately give up your idea. > > Your best bet by the time the next release of XFree86/tm will be out > is to use their ``DGA'' (direct graphics access ?) Xserver extension. well, I'd really like to avoid using X if at all possible. The company I work for is working on a game (for DOS). As the developementing is progressing, I want to be able to first port what we've done to FreeBSD, and possbilly do my part of development on FreeBSD. The way I see it, first I'd have to implment a library to handle direct video access, much like the svgalib on Linux. And frankly, I'm lost as to where to start. For example, what funication call would I make to say, set the videocard to various mode? I suppose I could use inline asm within GCC. Though I rather not do that. -- Wilson MacGyver macgyver@cylatech.com -------------------------------------- Veni, Vidi, Concidi.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?313F18A8.3DBFAAF4>