Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!lucy.swin.edu.au!news.rmit.EDU.AU!news.unimelb.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!newshub2.home.com!newshub1.home.com!news.home.com!news1.best.com!nntp2.ba.best.com!shellx!front From: front@best.com (4Front Technologies) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Running Quake on FreeBSD, HELP! Date: 12 Jun 1997 04:41:00 GMT Lines: 25 Message-ID: <5nnuks$r97$1@nntp2.ba.best.com> References: <339D2990.41C67EA6@earthling.net> <5njk4e$8r$1@stargate.stdio.com> <Pine.BSF.3.95q.970611094155.8457E-100000@artorius.sunflower.com> NNTP-Posting-Host: shellx.best.com X-Newsreader: TIN [version 1.2 PL2] Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:42788 Stephen D. Spencer (gladiatr@sunflower.com) wrote: : Hmm... well, the Linux/ELF version of xquake runs under FreeBSD. : Unfortunately, due to an idiosyncracy in the way the BSD OSS driver sets : up /dev/sndstat it won't give sound. :( Hi, Here's the reason why Quake wont make sound on BSD with OSS: Quake uses mmap() to output sound on Linux, FreeBSD's mmap() has slightly different sematics. OSS/FreeBSD does implement FreeBSD's mmap(). Linux Doom does work with FreeBSD and produces sound since it doesn't use mmap(). The two possible solutions are : 1) Do a native FreeBSD port of Quake 2) Modify FreeBSD's mmap() to include Linux's mmap() sematics. We've informed Jordan Hubbard about this. Best regards, Dev Mazumdar 4Front Technologies http://www.4front-tech.com (Home of Open Sound System)