delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/11/25/15:04:15

From: mcchow AT onebox DOT com (Jabez McClelland)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro: slow install_sound() and compile on 486
Date: 25 Nov 2001 07:44:01 -0800
Organization: http://groups.google.com/
Lines: 47
Message-ID: <ee953275.0111250744.4eeb3ac4@posting.google.com>
References: <ee953275 DOT 0111221957 DOT 37c5d1a2 AT posting DOT google DOT com> <8011-Fri23Nov2001102901+0200-eliz AT is DOT elta DOT co DOT il>
NNTP-Posting-Host: 66.92.149.119
X-Trace: posting.google.com 1006703042 5962 127.0.0.1 (25 Nov 2001 15:44:02 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: 25 Nov 2001 15:44:02 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> > - The call to install_sound(DIGI_AUTODETECT, MIDI_AUTODETECT, NULL)
> > takes a full 45 seconds to execute.  I wonder if I'm stuck with
> > that
> 
> I suggest to check again after you configure the system as described
> in the FAQ.  This is especially important if you see your system's
> disk LED lit constantly during the slow operations.


Thanks, Eli for your prompt and patient reponses.

My system is now set up according to FAQ 3.9:

- EMM386 has "ram", "frame=none",  "noems",  novcpi"  switches
- All drivers in autoexec.bat and config.sys loaded high
- smatrdrv set with +c 1048
- on boot, there is about 570k free conventional memory and 7 Mb total
free memmory.

install_sound() still takes exactly 45 seconds to execute.  There is
absolutely no disk activity during this wait.  It's exactly as if
there were a sleep(45) command in the code somewhere.

There are some unusual aspects to my system - do you think these have
anything to do with this 45 second delay?

- Nominal 486 40 MHz system with 8 Mb RAM - but actually a 386 20 MHz
motherboard with a Cyrix 386->486 plug-in (this gave me lots of
trouble when I tried Linux...)

- true Soundblaster 16 (at least this is ordinary)

- Video is 256k onboard with only 16 colors, and uses system RAM. 
(Note I will never try any allegro graphics with this.  I only want to
use the sound libraries.)

- PC-DOS 6.2 installed

- In order to avoid conflicts between video ram and EMM386 I run
ramsetup.exe, which adds a bunch of "i=..." and "x=..." switches to
EMM386.

Any further comments or suggestions would be appreciated.

Thanks,

Jabez

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019