Subject: Linux-Misc Digest #735
From: Digestifier <[email-masked]>
To: [email-masked]
Date: Sat, 10 Sep 94 18:16:37 EDT

Linux-Misc Digest #735, Volume #2                Sat, 10 Sep 94 18:16:37 EDT

Contents:
  Linux DOOM! running script (H. Peter Anvin)
  384 kb reserved memory (Stephen A. Wood)
  Re: DOOM, X, Linux, 320x200 video mode ?? (Christopher M. May)
  Re: Thanks ID and ddt - Linux DOOM is perf (Christopher M. May)
  Re: 320x200 X resolution? (CLAYTON MICHAEL O'NEILL)
  Re: DOOM and Linux (Christopher Wiles)
  Re: Thanks ID and ddt - Linux DOOM is perfect. (Christopher Wiles)
  Re: Thanks ID and ddt - Linux DOOM is perf (Marc Fraioli)
  Re: 320x200 X resolution? (Christopher Wiles)
  When can a new  system-admin-guide be expected?? (Johan Wideberg)
  Re: Thanks ID and ddt - Linux DOOM is perfect. (Yanming PENG)
  Re: DOOM and Linux (Aaron G Goldstein)
  Re: Fix for LinuxDOOM Ctrl-Key sequence (Yanming PENG)
  Re: Thanks ID and ddt - Linux DOOM is perfect. (John Paul Morrison)
  Re: Registering Linux Doom (Stephen Parkinson)
  Re: WordPerfect (Christopher M. May)
  Re: Any Sound Blaster drivers for Linux abailable? (James CE Johnson)

----------------------------------------------------------------------------

From: [email-masked] (H. Peter Anvin)
Subject: Linux DOOM! running script
Reply-To: [email-masked] (H. Peter Anvin)
Date: Sat, 10 Sep 1994 18:13:20 GMT

Here is a quick little script which I wrote yesterday while making a
DOOM package for our local Slackware install server.  It does the
following tricky stuff:

a) installs in .../bin while all the real DOOM! files go in
   .../lib/doom.
b) restores the functionality of the DOOMWADDIR variable while still
   permitting system-wide *.wad files (e.g. doom1.wad) to be stored in
   .../lib/doom.
c) defines a new variable DOOMSAVEDIR, where the DOOM! save files go
   (the default is the current directory).

Note that .wad files referenced on the command line which are not in
DOOMWADDIR (or current directory) or .../lib/doom will have to be
references with an absolute path, since the way all this is done is by
building a small symlink farm in /tmp and cd'ing there.

#!/bin/bash
#
# The Linux version of DOOM! doesn't seem to like it if the .wad files
# aren't in the current directory when playing.  Solve this problem in
# an extremely klugy fashion.
#
# This script makes DOOMWADDIR work as advertised, and also implements
# an environment variable DOOMSAVEDIR, where your DOOM! saved games appear.
#
# Symbolic links saves the day... 
#
# Written 1994-09-09 by H. Peter Anvin <[email-masked]>
# This script is in the public domain, although I would appreciate it
# if attribution is retained in any derivative works.
#

DOOMLIBDIR=/usr/X11/lib/doom

allow_null_glob_expansion=Yes

DOOMSAVES="doomsav0.dsg doomsav1.dsg doomsav2.dsg \
doomsav3.dsg doomsav4.dsg doomsav5.dsg"

OLDDIR=`/bin/pwd`

mkdir /tmp/doom.$$
cd /tmp/doom.$$

if [ "$DOOMSAVEDIR" = "" ]; then
  DOOMSAVEDIR="$OLDDIR"
fi

for dsg in $DOOMSAVES; do
  ln -s $DOOMSAVEDIR//$dsg .
done

ln -s $DOOMLIBDIR//*.wad .

if [ "$DOOMWADDIR" = "" ]; then
  DOOMWADDIR="$OLDDIR"
fi

ln -sf $DOOMWADDIR//*.wad . 2>/dev/null

ln -s /usr/X11/lib/doom/sndserver .

$DOOMLIBDIR//linuxxdoom "$@"

cd /tmp
rm -rf doom.$$

-- 
INTERNET: [email-masked]             --- Allah'u'abha ---
IBM MAIL: I0050052 at IBMMAIL     HAM RADIO:   N9ITP or SM4TKN
FIDONET:  1:115/511 or 1:115/512  STORMNET:    181:294/1 or 181:294/101
Si fractum non sit, noli id reficere.

------------------------------

From: [email-masked] (Stephen A. Wood)
Subject: 384 kb reserved memory
Reply-To: [email-masked] (Stephen A. Wood)
Date: Fri, 9 Sep 1994 16:19:26 GMT

When I boot linux, it says that there are 384 kb in reserved memory.  Looking
at mm/memory.c, it seems clear that this memory is from 0xA0000 to 0x100000,
presumably reserved since video memory and BIOS's are in that range.  However,
it seems that the actual physical memory in this region is lost.

I assume that there is no general way to remap this physical memory so that
it can be used, but is there a way to turn on selected say 64k chunks of
this memory that don't conflict with video memory etc?  

At present, if I go into memory.c and unreserve a bit of this reserved
region, (say 0xF0000 to 0x100000).  The kernel crashes on boot up with
a general protection error.

I am using an OPTI 495SX motherboard with 8 MB of memory.  The manual says
that the motherboard has some ROM->RAM shadow features, but doesn't say
how to program it.

                                Steve

=========================================================
Stephen A. Wood                                CEBAF/SURA
Internet: [email-masked]              Mail Stop 12H
Internet: [email-masked]            12000 Jefferson Avenue
Bitnet:   saw@cebaf                Newport News, VA 23606

Phone: (804)249-7367            Office: CEBAF Center C121
FAX:   (804)249-7363

------------------------------

From: [email-masked] (Christopher M. May)
Crossposted-To: alt.games.doom
Subject: Re: DOOM, X, Linux, 320x200 video mode ??
Date: 10 Sep 1994 18:05:47 GMT

David Engel ([email-masked]) wrote:
: Bill C. Riemers ([email-masked]) wrote:
: : It sounds like, from other people's post, sound isn't working properly
: : for anyone.  If I turn off the speakers and drop the screen resolution

: The sound, both music and effects, works fine on my system running
: 1.1.50 with a SoundBlaster 16.

: David

The sound, music, and effects work perfectly on my 
PAS-16 with kernel 1.1.49

It's faster than DOS, and I use 320x240 in X!

--
-Chris May, Computer Science, University of MA, Amherst
-       Technical Assistant, P.C. Maintenance Lab

------------------------------

From: [email-masked] (Christopher M. May)
Subject: Re: Thanks ID and ddt - Linux DOOM is perf
Date: 10 Sep 1994 18:18:32 GMT

The Doom Port works GREAT!

I recommend:  16 bit Sound card (I use an old PAS-16)
              A recent kernel (you need new sound drivers...)
              Don't use pixel doubling
              Find a 320x240 mode for X (see my posts elsewhere...)

THANKS ID, I plan on buying a registered version....

BTW, I can have two instances of DOOM running at ONCE!
I think I get sound from both mixed together... but I'm not sure...

Wouldn't it be cool if you could play 1 on 1 on a single X server?

--

-Chris May, Computer Science, University of MA, Amherst
-       Technical Assistant, P.C. Maintenance Lab

------------------------------

From: [email-masked] (CLAYTON MICHAEL O'NEILL)
Crossposted-To: comp.os.linux.development
Subject: Re: 320x200 X resolution?
Date: 10 Sep 1994 16:22:58 GMT

Christopher Wiles ([email-masked]) wrote:

: Seriously, IMHO Doom will probably be more useable in the promised 
: pixel-doubling mode than in a straight 320x200.  Easier to make things 
: look innocent when the boss walks in ... "Hey, you're not actually 
: _working_ in 320x200, are you?"

The only problem is that the pixel doubling mode (at least in 256 colors)
looks really horrible.  However, I'm _extremely_ impressed by the speed of
the thing.  Just two real complaints.

1)  I wish 8 bit sound sounded decent.  He makes a comment that if you 
don't have 16-bit sound, you'll wish you did.  I don't and I do.

2)  I have an annoying problem w/ the shift keys getting stuck down, so
I get in a situation where I'm always strafing or running fast. You get
the idea.

Clayton O'Neill

------------------------------

Crossposted-To: alt.games.doom
From: [email-masked] (Christopher Wiles)
Subject: Re: DOOM and Linux
Date: Sat, 10 Sep 1994 17:21:39 GMT

[email-masked] (Paul Barnett) writes:

: If you read the README.linux file carefully, you will note that Dave
: is already aware of the problem.  His description of the magnification
: option(s) (-1, -2, -3, etc. on the command line) concludes with
: something to the effect of "this turns out to be a bad idea on Linux".

Are you sure?  I construed that line to mean that Linux took a 
performance hit, rather than meaning the modes didn't work at all.

If they didn't work, and he knew it, why'd he leave them in?  Why mention 
them in the README?

Logic indicates ...

-- Chris

[email-masked]   [email-masked]   [email-masked]
       "... but I want to use all eight comm ports SIMULTANEOUSLY!"
   PGP 2.6 public key available by finger for the clinically paranoid.

------------------------------

From: [email-masked] (Christopher Wiles)
Subject: Re: Thanks ID and ddt - Linux DOOM is perfect.
Date: Fri, 9 Sep 1994 19:34:44 GMT

[email-masked] (Alan Cox) writes:

: Umm it seems to be unplayable on standard ISA video cards - even the better
: dumb ISA cards. Anyone running it with an ISA S3 card and a 8Mb 386DX40 and
: want to give a performance report since I need a new video card anyway.

Almost completely unplayable on a 386/40/8.  Runs 'way too slow, and _that_ 
is at 320x200.  Video card is an OTI-087, using an experimental accel 
driver that speeds everything else up ...

Found a couple possible bugs already, too:

a) When one stupidly cranks up the mouse sensitivity, the action window 
becomes half-size until the .doomrc is wiped.

b) Pixel-doubling/tripling results in weird endianness problems in the 
display.  This could be my driver, though.

 -- Chris

[email-masked]   [email-masked]   [email-masked]
       "... but I want to use all eight comm ports SIMULTANEOUSLY!"
   PGP 2.6 public key available by finger for the clinically paranoid.

------------------------------

From: [email-masked] (Marc Fraioli)
Subject: Re: Thanks ID and ddt - Linux DOOM is perf
Date: 10 Sep 1994 17:16:20 GMT
Reply-To: [email-masked]

In article [email-masked],  [email-masked] (Alan Cox) writes:
>Umm it seems to be unplayable on standard ISA video cards - even the better
>dumb ISA cards. Anyone running it with an ISA S3 card and a 8Mb 386DX40 and
>want to give a performance report since I need a new video card anyway.
>
Well, it _is_ quite playable on my system.  I've got a 486/33 with 8MB
RAM and an Orchid Fahrenheit 1280+ (S3 801, 1MB, ISA), using Linux 1.1.49,
XFree86 2.0 in 1024x768x256.  It hesitates occasionally, but it is generally
pretty smooth.  It is also, of course, quite small at 1024x768.  And I
only have an old 8-bit Soundblaster, so no sound :-(.

---
Marc Fraioli          | "They couldn't hit an elephant at this dist- " 
[email-masked]         |    - Last words of Union General John Sedgwick,
                      |    Battle of Spotsylvania Court House, U.S. Civil War

------------------------------

Crossposted-To: comp.os.linux.development
From: [email-masked] (Christopher Wiles)
Subject: Re: 320x200 X resolution?
Date: Sat, 10 Sep 1994 17:09:36 GMT

[email-masked] (Sam Oscar Lantinga) writes:

:       I suppose you speak in ignorance. :)  It's out, and
: available from sunsite.unc.edu in /pub/Linux/Incoming and at
: dewdrop.water.ca.gov in /pub/doom as the file lnxdoom.tgz

I posted the night before DOOM showed up at sunsite.  Nice timing.

:       Well, a couple of things... I've tried it in pixel doubling
: mode, and not only is it slower, but the display is broken.  It looks
: like you are looking through one of those windows with glass ribs.
: Also... if you should happen to be one of those that actually play
: games at work, you might want to know that Ctrl-Alt-+ and Ctrl-Alt--
: change X11 resolutions on the fly at the Linux console. :)

The pixel-increase modes _are_ broken.  Dammit.  And, yeah, res swapping 
has so far enabled me to keep my job ;)

-- Chris

[email-masked]   [email-masked]   [email-masked]
       "... but I want to use all eight comm ports SIMULTANEOUSLY!"
   PGP 2.6 public key available by finger for the clinically paranoid.

------------------------------

From: [email-masked] (Johan Wideberg)
Subject: When can a new  system-admin-guide be expected??
Date: 8 Sep 1994 09:51:08 +0200

Is there anyone who knows when a new version of the System Administrators 
Guide is due out?

Johan

------------------------------

From: [email-masked] (Yanming PENG)
Subject: Re: Thanks ID and ddt - Linux DOOM is perfect.
Date: 10 Sep 1994 11:25:39 -0600

[email-masked] (Trent Piepho) writes:

>I'm running it with a 486/66 and a trident 8900CL, which I hear is the slowest
>non-accelerated card you can get. (does this strike anyone as ironic)  Doom 
>seems to run at about the same speed as DOS, maybe even faster.  Of course I
>have sound in DOS but I had to turn it off in Linux.  Anyone know what you
>need for sound? Kernel >1.1.23?  Over 105 linux luck points? 

Sound driver >= 2.90 beta will do. it is reported 1.0.9 kernel is OK.
Mine is Kernel 1.1.37 + snd driver 2.90 beta on 486DX-33/8MB+trident 
8900C/1MB (really the slowest non-accelerated card you can get). It
is playable at 320x200. I use -grabmouse to enable mouse on my OpenLook
because Alt key doesn't work as expected (close the desktop:-( ).
Sound is good (I have a Sound Galaxy NX 16) but no music (like SGIxDoom).

the environment DOOMWADDIR does not work as said in README.linux. the
DOOM*.wad and sndserver HAVE TO BE in the current directory. I wrote
a script to create symbolic links before playing them and erase them
after playing.

Yanming

------------------------------

From: Aaron G Goldstein <[email-masked]>
Crossposted-To: alt.games.doom
Subject: Re: DOOM and Linux
Date: Sat, 10 Sep 1994 14:58:18 -0400

Excerpts from netnews.alt.games.doom: 10-Sep-94 Re: DOOM and Linux by
Christopher Wiles@wsuaix 
> That's four messages so far that report that pixel doubling is trashed.
>  
> Gee, even though the README says "no bug reports," does anyone think iD 
> can be convinced to fix this?
>  
> -- Chris

I have a feeling that if there'd been an easy way to fix the problem, it
wouldn't have been there (it even said that pixel-doubling didn't work
right in the README.linux file).  Personally, I think the option should
have been removed if it couldn't be implemented correctly, but perhaps
that's just my opinion.  Besides, I'd rather see the DOOMWADDIR problem
fixed before anything else.
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
 My opinions may have changed, but the fact that I am correct has not.
         - wish I knew who said that first

                        Enjoy life to its fullest!

 PGP public key availabe via: finger [email-masked]

------------------------------

From: [email-masked] (Yanming PENG)
Subject: Re: Fix for LinuxDOOM Ctrl-Key sequence
Date: 10 Sep 1994 11:39:47 -0600

[email-masked] (Daniel L Moore   ) writes:

>[email-masked] writes:

>>When using the Ctrl-Key (FIRE) at the same time than the arrows, I switch 
>>to the other rooms (screens). The only way out of this is to run Olwm instead
>>of fvwm or others mwm like.

>Edit your .fvwmrc (or fvwmrc.system) file and comment out the "Key" entries
>near the end of the file, these trap the sequences and don't send them on
>to your app.  

I am playing LinuxXDoom under OPENLOOK. I am looking for a way to switch
focus to different application with keyboard because I use -grabmouse
to use mouse to play doom. But I can't use keyboard at the same time
because the doom window is NOT focused at the time.

>Please don't run Olwm! fvwm rules.

>>I patched my registered version 1.2 to 1.666 but the file is not recognized
>>by linuxxdoom.

>Same here.

I patched mine form 1.2 to 1.666. It works fine for me. I have not tried
the shareware doom1.wad nor commercial doom ][ doom2.wad.

Yanming

------------------------------

From: [email-masked] (John Paul Morrison)
Subject: Re: Thanks ID and ddt - Linux DOOM is perfect.
Date: Sat, 10 Sep 1994 16:52:58 GMT

In article <[email-masked]>,
Alan Cox <[email-masked]> wrote:
>In article <[email-masked]> [email-masked] (Robert Logan) writes:
>>Yes, Linux DOOM is out  and its superb - as smooth
>>as in DOS and just as tasty. Much appreciation to
>>Dave Taylor for the work in the port - I can now
>>Dump DOS...
>
>Umm it seems to be unplayable on standard ISA video cards - even the better
>dumb ISA cards. Anyone running it with an ISA S3 card and a 8Mb 386DX40 and
>want to give a performance report since I need a new video card anyway.

Hah! I'm running it on a Trident 8900! Actually I've always been quite
surprised with how *good* the Trident's performance in Xfree86. It's
not bad, really. 

>
>Alan
>
>-- 
>  ..-----------,,----------------------------,,----------------------------,,
> // Alan Cox  //  [email-masked]   //  GW4PTS@GB7SWN.#45.GBR.EU  //
> ``----------'`----------------------------'`----------------------------''

-- 
===========================================================================
BogoMIPS Research Labs  --  bogosity research & simulation  --  VE7JPM  -- 
[email-masked] [email-masked] [email-masked]
===========================================================================

------------------------------

From: [email-masked] (Stephen Parkinson)
Subject: Re: Registering Linux Doom
Date: Sat, 10 Sep 1994 17:08:42 +0000

In article <[email-masked]> [email-masked] (Robert Ashcroft) writes:
> In article <[email-masked]>,
> H. Peter Anvin <[email-masked]> wrote:
> >The only thing about this that really saddens me is that ddt thinks
> >that the Linux version doesn't generate revenue; I will be getting the
> >registered version next week to use on my Linux system!
> 
> I was thinking about this today.
> 
> Linux Doom users who register should make it clear that they are
> registering because of the Linux version.  This might help open Id's
> eyes to Linux's potential.
> 
> RNA
> 
Anyone know an e-mail address to send questions
about registration to ?

Stephen Parkinson

------------------------------

From: [email-masked] (Christopher M. May)
Subject: Re: WordPerfect
Date: 10 Sep 1994 18:39:19 GMT

David Cabot ([email-masked]) wrote:
: I remember someone here saying that they were able to run WP for SCO and 
: WP for DOS on Linux.  Someone here tried to install the SCO version here and
: it core dumped.  Any suggestions?
Did you recompile and install the iBCS module, available from tsx-11.mit.edu?

Did you run the wpfix script available from sunsite.unc.edu?

--

-Chris May, Computer Science, University of MA, Amherst
-       Technical Assistant, P.C. Maintenance Lab

------------------------------

From: [email-masked] (James CE Johnson)
Subject: Re: Any Sound Blaster drivers for Linux abailable?
Date: Sat, 10 Sep 1994 14:37:13 GMT

Hannu Savolainen ([email-masked]) wrote:
: [email-masked] (Matt Bruce) writes:

: It's not possible to write a driver which supports full features of the
: AWE32. Creative Technology has not released information about the Emu
: chip and I bet they will never do that. The same is true with the ASP
: also.

I can't say anything about the AWE but I was told recently that the
specs for the ASP *may* be out soon.  I consider the source to
be very reliable...  Take it for what it's worth.

CU,
J

------------------------------

** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [email-masked]

You can send mail to the entire list (and comp.os.linux.misc) via:

    Internet: [email-masked]

Linux may be obtained via one of these FTP sites:
    nic.funet.fi				pub/OS/Linux
    tsx-11.mit.edu				pub/linux
    sunsite.unc.edu				pub/Linux

End of Linux-Misc Digest
******************************