Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jul 1996 18:46:31 -0400 (EDT)
From:      rhh@ct.picker.com (Randall Hopper)
To:        wangel@wgrobez1.remote.louisville.edu (Gary Roberts)
Cc:        current@freebsd.org
Subject:   Re: Linux Emu.
Message-ID:  <199607252246.SAA15868@elmer.picker.com>
In-Reply-To: <Pine.BSI.3.93.960721061727.2352A-100000@wgrobez1.remote.louisville.edu> from "Gary Roberts" at Jul 21, 96 06:21:05 am

next in thread | previous in thread | raw e-mail | index | archive | help

Gary Roberts:
 >Well, I'll try that I suppose .... I was looking forward to getting Quake
 >.91 or 1.01 to work.   It starts to load but then core dumps ... I was

I'd be interested in where to get this.

 >wondering if I need to do some kernel tweeking or what not ? ... Also, if
 >it helps, Doom doesn't work either -- it loads, then bombs out with a
 >broken pipe and when trying to reload, it yells about shared mem or
 >something.

Yes, when it dumps it leaves shared memory allocated.  I hit the broken
pipe problem too but did something to get around it.  If it helps, here's
my /opt/bin/doom script:

    #!/bin/sh
    #
    # Launch doom, and clean up shared memory when it's done (RHH - 6/1/96)
    #

    DOOMDIR=/opt/pkg/doom-1.8
    musserver_pid=99999

    DOOMWADDIR=$DOOMDIR
    PATH=$DOOMDIR:/usr/bin:$PATH
    export DOOMWADDIR PATH

    cd $DOOMDIR
    /opt/pkg/doom-1.8/musserver.fbsd -f -u 0 & musserver_pid=$!
    joystick4doom /dev/joy0 Control Space -strafe &

    #trap "kill -9 $musserver_pid; ipcrm -m `ipcs | grep ^m | cut -f2 -d" "` > /dev/null 2>&1; trap 0; exit" 0 1 2 3 4 5 6 7 8 10 12 13 14 15
    trap "ipcrm -m `ipcs | grep ^m | cut -f2 -d" "` > /dev/null 2>&1; trap 0;
    exit" 0 1 2 3 4 5 6 7 8 10 12 13 14 15

    xdoom-mus
    joystick4doom -k

Should give you doom with sound effects and a joystick.  With Amancio's
musserver port, I get the intro music, but the musserver core dumps after
that, while the rest of the game and sound effects go on.  I'm running a
Sound Blaster 32 (16) with stock 2.2-960612-SNAP sound drivers, so you
might get better music results with other combinations.

By the way, the URL with the joystick and music server:

    ftp://rah.star-gate.com/pub 

Randall Hopper
rhh@ct.picker.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607252246.SAA15868>