delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/16/22:15:38

From: Myknees AT aol DOT com
Message-ID: <a2e5e788.34e9004f@aol.com>
Date: Mon, 16 Feb 1998 22:13:17 EST
To: eliz AT is DOT elta DOT co DOT il
Cc: djgpp AT delorie DOT com
Mime-Version: 1.0
Subject: Re: DOS mem command crashes after running prog

eliz AT is DOT elta DOT co DOT il (Eli Zaretskii) writes:
> On Mon, 16 Feb 1998 Myknees AT aol DOT com wrote:
> 
> >     /* Taking out this if block makes mem NOT crash. */
> >     if (install_sound(DIGI_AUTODETECT, MIDI_NONE, argv[
> >     argv[0]) != 0) {
> >       printf("Error initialising sound system\n%s\n", a
> >       allegro_error);
> >       exit(1);
> >     }
> 
> I don't know enough about Allegro to tell whether
> something isn't kosher 
> here.  Anybody?
> 
> If nobody else can help, you will have to dig into
> `install_sound' and 
> see what part there causes this problem.

Hmm.  I'm sure I will dig, but not tonight, and I'm not sure I'll understand
what I find, but, hey!  

> Btw, what happens if you remove the `printf' inside the
> if block above?

Then you would be denied the pleasure of Neutral Milk Hotel's wonderful
lyrics!

(Just in case you were serious, though, it has no effect on the crashing mem.)

--Ed (Myknees)

- Raw text -


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