From owner-freebsd-hackers Thu Mar 7 01:55:30 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id BAA23471 for hackers-outgoing; Thu, 7 Mar 1996 01:55:30 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id BAA23428 for ; Thu, 7 Mar 1996 01:54:22 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id KAA26393; Thu, 7 Mar 1996 10:50:55 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id KAA28709; Thu, 7 Mar 1996 10:50:54 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.4/8.6.9) id JAA16268; Thu, 7 Mar 1996 09:57:39 +0100 (MET) From: J Wunsch Message-Id: <199603070857.JAA16268@uriah.heep.sax.de> Subject: Re: direct access to video card To: freebsd-hackers@freebsd.org (FreeBSD hackers) Date: Thu, 7 Mar 1996 09:57:39 +0100 (MET) Cc: macgyver@infinet.com (Wilson MacGyver) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <313E7677.23477815@cylatech.com> from "Wilson MacGyver" at Mar 7, 96 00:39:03 am X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL24 ME8a] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org Precedence: bulk As Wilson MacGyver wrote: > I have a question, how can I access the video card directly? > > I'm trying to implement a 2d/3d primitive library, and I don't > want to have to use X for it. 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. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)