From: "Ian Pitt" Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro demos problem (was: Allegro 2.2) Date: 3 Apr 1997 21:47:20 GMT Organization: AT&T WorldNet Services Lines: 147 Message-ID: <01bc4078$d8ff6280$3a2392cf@ian> References: <334356D9 DOT 4B27 AT eik DOT bme DOT hu> Reply-To: "Ian Pitt" NNTP-Posting-Host: 207.146.35.58 Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_01BC404E.F0295A80" Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp This is a multi-part message in MIME format. ------=_NextPart_000_01BC404E.F0295A80 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I figured out that the problem occurred when the sound card was initialize using the AUTODETECT option. I simply replaced AUTODETECT with DIGI_SB (sound card I use) and that seem to work around the problem. DR. Andras Solyom wrote in article <334356D9 DOT 4B27 AT eik DOT bme DOT hu>... > Shawn Hargreaves wrote: > > > > > > Ian Pitt writes: > > > >I am unable to execute the demo program that is bundled with Allegro 2.2. > > > >Most of the other examples work fine. > > > > > > Most? If there are any others that don't work, that would be very > > > helpful in identifying the problem... > > > > > > >When I try the demo it simply returns me back to my Win95 desktop. Anybody > > > >knows why? > > > > > > Nope :-) It would be useful if you could do some investigating of this. > > > > I also have problems running the demos, both in Win95 and in DOS 6.22. > > Most of them most of the times exits with a stack trace consisting of > > only one level backtrace. But sometimes some of them runs. This means > > that if I start some of them 20 times in succession then in one try they > > run without any errors, but most of the time they just quit with a > > segmentation error. > > I was able to compile them with DJGPP 2 without any problem, simply > > running make. > > I have tried the following combinations so far: > > Pentium 100 Mhz system, w. 40 Mbytes RAM, 2 GBytes Quantum IDE drive > > (free space about 300 Mbytes), > > 2 Mbytes Trio64 video card > > - Under Win95 in a DOS window > > - under plain DOS 6.22 with Himem only and with QEMM (but no qdpmi) > > A DX266 system with 16 Mbytes memory, 340 Mbytes HD, Trident 8900 CL > video card > > - Under Win95 in a DOS window > > - under plain DOS 6.22 with Himem only and with QEMM (but no qdpmi) > > I found that the programs stop in 'allegro_init'. > > > > Oh, I just see, that perhaps the problem is not with Allegro itself, but > > with the 'palantir' event library of Dim Zegebart, as I have > > incorporated it in allegro before the make. I will re-make Allegro again > > without it, and come back with he results. > > Andras > ------=_NextPart_000_01BC404E.F0295A80 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

I figured out that the problem occurred = when the sound card was initialize using the AUTODETECT option.

I = simply replaced AUTODETECT with DIGI_SB (sound card I use) and that seem = to work around the problem.



DR. Andras Solyom <solyom AT eik DOT bme DOT hu> = wrote in article <334356D9 DOT 4B27 AT eik DOT bme DOT hu>...
> Shawn Hargreaves wrote:
> =
> >
>
> > Ian Pitt writes:
>
> = > >I am unable to execute the demo program that is bundled with = Allegro 2.2.
>
> > >Most of the other examples work = fine.
>
> >
>
> > Most? If there are = any others that don't work, that would be very
>
> > = helpful in identifying the problem...
>
> >
> =
> > >When I try the demo it simply returns me back to my = Win95 desktop.  Anybody
>
> > >knows = why?
>
> >
>
> > Nope :-) It would be = useful if you could do some investigating of this.
>
> =
>
> I also have problems running the demos, both in Win95 = and in DOS 6.22.
>
> Most of them most of the times exits = with a stack trace consisting of
>
> only one level = backtrace. But sometimes some of them runs. This means
>
> = that if I start some of them 20 times in succession then in one try = they
>
> run without any errors, but most of the time they = just quit with a
>
> segmentation error.
>
> I = was able to compile them with DJGPP 2 without any problem, = simply
>
> running make.
>
> I have tried the = following combinations so far:
>
> Pentium 100 Mhz = system, w. 40 Mbytes RAM, 2 GBytes Quantum IDE drive
> =
> (free space about 300 Mbytes),
>
> 2 Mbytes = Trio64 video card
>
> - Under Win95 in a DOS window =
>
> - under plain DOS 6.22 with Himem only and with = QEMM (but no qdpmi)
>
> A DX266 system with 16 Mbytes = memory, 340 Mbytes HD, Trident 8900 CL
> video =  card
>
> - Under Win95 in a DOS window =
>
> - under plain DOS 6.22 with Himem only and with = QEMM (but no qdpmi)
>
> I found that the programs stop in = 'allegro_init'.
>
>
>
> Oh, I just see, that = perhaps the problem is not with Allegro itself, but
>
> = with the 'palantir' event library of Dim Zegebart, as I have
> =
> incorporated it in allegro before the make. I will re-make = Allegro again
>
> without it, and come back with he = results.
>
> Andras
> =

------=_NextPart_000_01BC404E.F0295A80--