From owner-freebsd-hackers Fri Mar 8 04:31:39 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id DAA01893 for hackers-outgoing; Fri, 8 Mar 1996 03:20:07 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [192.216.222.3]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id DAA01811 for ; Fri, 8 Mar 1996 03:19:54 -0800 (PST) Received: from ns.okbmei.msk.su (ns.okbmei.msk.su [194.190.170.40]) by who.cdrom.com (8.6.12/8.6.11) with SMTP id XAA21910 for ; Thu, 7 Mar 1996 23:03:25 -0800 Received: from kiae.UUCP by ns.okbmei.msk.su with UUCP id AA03076 (5.67c8/IDA-1.5); Fri, 8 Mar 1996 09:46:09 +0300 Received: from freefall.FreeBSD.ORG by sovcom.kiae.su with SMTP id AA04211 (5.65.kiae-1 for ); Fri, 8 Mar 1996 09:21:11 +0300 Received: from localhost (daemon@localhost) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id TAA03701 Thu, 7 Mar 1996 19:23:30 -0800 (PST) Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id TAA03662 for hackers-outgoing; Thu, 7 Mar 1996 19:23:05 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [192.216.222.3]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id TAA03657 for ; Thu, 7 Mar 1996 19:23:02 -0800 (PST) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by who.cdrom.com (8.6.12/8.6.11) with ESMTP id TAA17367 for ; Thu, 7 Mar 1996 19:23:01 -0800 Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.6.12/8.6.12) with ESMTP id TAA17274; Thu, 7 Mar 1996 19:19:24 -0800 Message-Id: <199603080319.TAA17274@rah.star-gate.com> X-Mailer: exmh version 1.6.5 12/11/95 To: Wilson MacGyver Cc: hackers@freebsd.org, joerg_wunsch@uriah.heep.sax.de Subject: Re: direct access to video card In-Reply-To: Your message of "Thu, 07 Mar 1996 12:11:04 EST." <313F18A8.3DBFAAF4@cylatech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 07 Mar 1996 19:19:24 -0800 From: "Amancio Hasty Jr." X-Charset: KOI8-R X-Char-Esc: 29 Sender: owner-hackers@freebsd.org X-Loop: owner-hackers@FreeBSD.ORG Precedence: bulk >>> Wilson MacGyver said: > > 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. > Hi, Your best bet is to talk to the XFree86 folks about their DGA extensions. The reason for using DGA is to initialize the card properly and to set the given resolution. The wrapper to get into DGA mode is very simple . Once you are in DGA mode you can do whatever you want with the card. The linux svgalib is very very very bad idea and if you really need it we can always port it for you. I have ported it the linux svgalib and always end up deleting from my system. I have a little program called tv which uses DGA if you like I can send you. You shall post on freebsd-multimedia or the xfree86 mailing mostly because the concentration of talents is there and this is a high bandwith mailing lists which your plea for help can get easily lost. Best Regards, Amancio