From owner-freebsd-hackers Sat Mar 9 03:57:24 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id DAA15139 for hackers-outgoing; Sat, 9 Mar 1996 03:57:24 -0800 (PST) Received: from iaehv.IAEhv.nl (root@iaehv.IAEhv.nl [192.87.208.2]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id DAA15134 for ; Sat, 9 Mar 1996 03:57:20 -0800 (PST) Received: by iaehv.IAEhv.nl (8.6.13/1.63) id MAA09232; Sat, 9 Mar 1996 12:57:12 +0100 Received: from localhost (localhost [127.0.0.1]) by nietzsche.bowtie.nl (8.6.12/8.6.9) with ESMTP id MAA26778; Sat, 9 Mar 1996 12:30:48 +0100 Message-Id: <199603091130.MAA26778@nietzsche.bowtie.nl> X-Mailer: exmh version 1.6.1 5/23/95 To: Wilson MacGyver cc: hackers@FreeBSD.ORG, joerg_wunsch@uriah.heep.sax.de Subject: Re: direct access to video card In-reply-to: macgyver's message of Thu, 07 Mar 1996 12:11:04 -0500. <313F18A8.3DBFAAF4@cylatech.com> Date: Sat, 09 Mar 1996 12:30:47 +0100 From: Marc van Kempen Sender: owner-hackers@FreeBSD.ORG X-Loop: owner-hackers@FreeBSD.ORG Precedence: bulk > 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. I thought we had libsvga working in part, Joerg? Marc. ---------------------------------------------------- Marc van Kempen BowTie Technology Email: marc@bowtie.nl WWW & Databases tel. +31 40 2 43 20 65 fax. +31 40 2 44 21 86 http://www.bowtie.nl ----------------------------------------------------