From owner-freebsd-emulation Tue Apr 29 20:48:38 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id UAA00835 for emulation-outgoing; Tue, 29 Apr 1997 20:48:38 -0700 (PDT) Received: from pegasus.rutgers.edu (pegasus.rutgers.edu [128.6.10.45]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id UAA00809; Tue, 29 Apr 1997 20:48:27 -0700 (PDT) Received: from hell.dorm.rutgers.edu (nomad@hell.dorm.rutgers.edu [165.230.177.4]) by pegasus.rutgers.edu (8.6.12+bestmx+oldruq+newsunq/8.5) with SMTP id XAA28160; Tue, 29 Apr 1997 23:48:13 -0400 Message-ID: <3366C141.41C67EA6@pegasus.rutgers.edu> Date: Tue, 29 Apr 1997 23:49:21 -0400 From: Red Barchetta X-Mailer: Mozilla 3.01Gold (X11; I; FreeBSD 2.2.1-RELEASE i386) MIME-Version: 1.0 To: questions@freebsd.org, emulation@freebsd.org Subject: Linux squake bombs under FreeBSD Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-emulation@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I recently tried running Dave "Zoid" Kirsch's recently-released 'squake' version of id Software's Quake. This version is supposed to add high-res video modes and (finally!) mouse support within the game. While older versions of Linux Quake will run under FreeBSD 2.2 (albeit with no sound-- all versions complain about the sound driver being too old), squake crashes before any graphics are shown. It exits with a bus error and compAdded packfile ./id1/pak0.pak (339 files) lains of an unimplemented mode in our emulation. My question is this: has anyone put any effort into modifying the Linux emulation code to be able to support squake, or would anyone be interested in doing so? I for one would like to be able to avoid running Win95 or NT just to play Quake. I don't yet have the skill to attempt such a project myself :( Any input would be appreciated. I've appended the squake program output and the "system requirements" from the readme file. Thanks! Ernie Pistor Squake output: Added packfile ./id1/pak0.pak (339 files) Added packfile ./id1/pak1.pak (85 files) PackFile: ./id1/pak1.pak : gfx/pop.lmp Playing registered version. PackFile: ./id1/pak0.pak : gfx.wad Console initialized. UDP Initialized Exe: 13:46:53 Apr 9 1997 8.0 megabyte heap PackFile: ./id1/pak0.pak : gfx/palette.lmp PackFile: ./id1/pak0.pak : gfx/colormap.lmp Sound Initialization LINUX: 'ioctl' fd=6, typ=0x450(P), num=0xf not implemented /dev/dsp: Invalid argument Sound driver too old S_Startup: SNDDMA_Init failed. CDAudio_Init: open of "/dev/cdrom" failed (2) svgalib: Configuration file /etc/vga/libvga.config not found. svgalib: Assuming Microsoft mouse. svgalib: Assuming low end SVGA/8514 monitor (35.5 KHz). LINUX: 'ioctl' fd=7, typ=0x56(V), num=0x1 not implemented Bus error >From the README: Requirements: - SVGALib 1.20 or later (/lib/libvga.so.1.2.10) - libc 5.2.18 or later (5.0.9 will not work, /lib/libc.so.5.2.18) - CD-ROM for CDAudio - Soundcard capable of mmap'd buffers. USSLite 3.5.4 was used to build squake with. Works fine on SoundBlaster 16 and Gravis Ultrasound MAX. - SVGALib supported mouse (usually if it works with X, it'll work with squake). - Kernel 2.0.24 or later - untested with 2.1 kernels, your mileage may vary From owner-freebsd-emulation Tue Apr 29 21:25:59 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id VAA02638 for emulation-outgoing; Tue, 29 Apr 1997 21:25:59 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id VAA02633; Tue, 29 Apr 1997 21:25:54 -0700 (PDT) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.5/8.7.3) id NAA25695; Wed, 30 Apr 1997 13:55:44 +0930 (CST) From: Michael Smith Message-Id: <199704300425.NAA25695@genesis.atrad.adelaide.edu.au> Subject: Re: Linux squake bombs under FreeBSD In-Reply-To: <3366C141.41C67EA6@pegasus.rutgers.edu> from Red Barchetta at "Apr 29, 97 11:49:21 pm" To: paradox@pegasus.rutgers.edu (Red Barchetta) Date: Wed, 30 Apr 1997 13:55:43 +0930 (CST) Cc: questions@freebsd.org, emulation@freebsd.org X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-emulation@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Red Barchetta stands accused of saying: > I recently tried running Dave "Zoid" Kirsch's recently-released 'squake' > version of id Software's Quake. This version is supposed to add > high-res video modes and (finally!) mouse support within the game. > While older versions of Linux Quake will run under FreeBSD 2.2 (albeit > with no sound-- all versions complain about the sound driver being too > old), With a recent fix to the Linux emulator, quake should work with the OSS beta code. I'm not sure just how unstable it actually is. > Sound Initialization > LINUX: 'ioctl' fd=6, typ=0x450(P), num=0xf not implemented That's SNDCTL_DSP_SETTRIGGER/GETTRIGGER; courtesy of the older Voxware code in the FreeBSD sound driver. > svgalib: Configuration file /etc/vga/libvga.config not found. > svgalib: Assuming Microsoft mouse. > svgalib: Assuming low end SVGA/8514 monitor (35.5 KHz). > LINUX: 'ioctl' fd=7, typ=0x56(V), num=0x1 not implemented That's VT_GETMODE. You are trying to use an SVGALIB executable. > Requirements: > > - SVGALib 1.20 or later (/lib/libvga.so.1.2.10) Yup. SVGALIB stuff is not supported by the emulator. If you have some time and energy, this would probably be a worthwhile project. -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[ From owner-freebsd-emulation Sat May 3 06:30:13 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id GAA28568 for emulation-outgoing; Sat, 3 May 1997 06:30:13 -0700 (PDT) Received: from pulp.nildram.co.uk (root@pulp.nildram.co.uk [195.112.4.8]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA28530; Sat, 3 May 1997 06:29:59 -0700 (PDT) Received: (from uucp@localhost) by pulp.nildram.co.uk (8.7.5/8.7.3) with UUCP id OAA30567; Sat, 3 May 1997 14:19:05 GMT Received: from i.vaudrey ([10.0.0.5]) by mail.nemko.ltd.uk (8.8.5/8.8.5) with ESMTP id OAA14013; Sat, 3 May 1997 14:20:34 +0100 (BST) Message-Id: <199705031320.OAA14013@mail.nemko.ltd.uk> From: "Ian Vaudrey" To: Cc: Subject: Fw: Problem with 22upgrade-97.04.18 ports update? Date: Sat, 3 May 1997 14:17:18 +0100 X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1161 Sender: owner-emulation@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I've now tried making and installing the latest unzip port (5.3), and it worked perfectly. I guess the problem is with the mtools port and not the 22upgrade-97.04.18 update? - Ian P.S. I should've mentioned that this is on 2.2.1-RELEASE. ---------- > From: Ian Vaudrey > To: freebsd-questions@freebsd.org > Subject: Problem with 22upgrade-97.04.18 ports update? > Date: 03 May 1997 14:01 > > I've just installed the 22upgrade-97.04.18.tgz ports update. As there were > no installation instructions, I did this by copying it to / and then > running gunzip and tar -xvf on it. > > I then tried to make and install the latest mtools port (3.6). The make > goes fine, but the install phase produces this output: > > # make install > >> Checksum OK for mtools-3.6.tar.gz. > ===> Installing for mtools-3.6 > /usr/local/man/man1/mattrib.1 > /usr/local/man/man1/mbadblocks.1 > /usr/local/man/man1/mcd.1 > /usr/local/man/man1/mcopy.1 > /usr/local/man/man1/mdel.1 > /usr/local/man/man1/mdeltree.1 > /usr/local/man/man1/mdir.1 > /usr/local/man/man1/mformat.1 > /usr/local/man/man1/mkmanifest.1 > /usr/local/man/man1/mlabel.1 > /usr/local/man/man1/mmd.1 > /usr/local/man/man1/mmount.1 > /usr/local/man/man1/mmove.1 > /usr/local/man/man1/mrd.1 > /usr/local/man/man1/mread.1 > /usr/local/man/man1/mren.1 > /usr/local/man/man1/mtoolstest.1 > /usr/local/man/man1/mtools.1 > /usr/local/man/man1/mtype.1 > /usr/local/man/man1/mwrite.1 > /usr/local/man/man1/mzip.1 > /usr/local/man/man5/mtools.5 > /usr/local/bin/mattrib > /usr/local/bin/mcd > /usr/local/bin/mcopy > /usr/local/bin/mdel > /usr/local/bin/mdeltree > /usr/local/bin/mdir > /usr/local/bin/mformat > /usr/local/bin/minfo > /usr/local/bin/mlabel > /usr/local/bin/mmd > /usr/local/bin/mmount > /usr/local/bin/mmove > /usr/local/bin/mpartition > /usr/local/bin/mrd > /usr/local/bin/mread > /usr/local/bin/mren > /usr/local/bin/mtype > /usr/local/bin/mwrite > /usr/local/bin/mtoolstest > /usr/local/bin/mbadblocks > /usr/local/bin/mzip > install: ./scripts/mcheck: No such file or directory > /usr/local/bin/mcheck > install: ./scripts/mxtar: No such file or directory > /usr/local/bin/mxtar > install: ./scripts/xcopy: No such file or directory > /usr/local/bin/xcopy > install: ./scripts/mcomp: No such file or directory > /usr/local/bin/mcomp > rm -f /usr/local/bin/lz > ln -s uz /usr/local/bin/lz > ../mkinstalldirs /usr/local/info > if test -f mtools.info; then \ > for i in mtools.info*; do \ > /usr/bin/install -c -o bin -g bin -m 644 $i /usr/local/info/$i; \ > done; \ > else \ > for i in ./mtools.info*; do \ > /usr/bin/install -c -o bin -g bin -m 644 $i /usr/local/info/`echo $i | > sed ' > s|^./||'`; \ > done; \ > fi > install-info: No such file or directory for /usr/local/info/dir > *** Error code 1 > > Stop. > *** Error code 1 > > Stop. > *** Error code 1 > > Stop. > # > > What did I do wrong? > > - Ian >