From owner-freebsd-multimedia Wed Jan 28 02:29:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA04863 for freebsd-multimedia-outgoing; Wed, 28 Jan 1998 02:29:11 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.178]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA04800; Wed, 28 Jan 1998 02:29:04 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.8) with ESMTP id CAA01011; Wed, 28 Jan 1998 02:28:46 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Message-Id: <199801281028.CAA01011@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: Mike Smith cc: multimedia@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: http://www.descent2.com/ddn/sources/descent1/index.html In-reply-to: Your message of "Wed, 28 Jan 1998 19:00:21 +1030." <199801280830.TAA01806@word.smith.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 28 Jan 1998 02:28:46 -0800 From: Amancio Hasty Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > > The above is a pointer to Descent I 8) > > Oooh. My favorite game, too. > > > It does *not* compile on FreeBSD and some of the modules use MASM. > > "some"?! This will need someone with a *working* MASM-to-gas > translator, or a penchant for x86 assembler and vector math. The important thing to remember is that the source code is availabe for anyone with the determination to work on it . How many lines of assembler code? find . -name \*.asm -exec wc {} \; | awk -f ~hasty/awk.scr - How many lines of C code? find . -name \*.c -exec wc {} \; | awk -f ~hasty/awk.scr - 178714 Not bad , usually after you go thru the first few large assembler routines you can pick up the rest pretty easy. The rest is a piece of cake given that we can use the linux svga lib Currently, it compiles on FreeBSD under the linux emulation mode so it is no great feat to compile it for FreeBSD . Or we can use the low level kernel vga routines currently available for FreeBSD -- thats probably the best way to go to support dos style graphics on FreeBSD. The sound code we can probably borrow a lot from the doom sources if not I can step in an provide the "low" level ioctl which most likely will be using the user land auto dma ioctl for the sound driver. To put it another way , Descent I will make one hell of a splash screen 8) Amancio Cheers, Amancio