delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/16/14:47:57

Message-ID: <39207DC1.9962DDD2@nic.fi>
From: Antti =?iso-8859-1?Q?Koskip=E4=E4?= <antti DOT koskipaa AT nic DOT fi>
X-Mailer: Mozilla 4.6 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: SB128 PCI IRQ-handling problems
References: <Pine DOT LNX DOT 4 DOT 10 DOT 10005151242230 DOT 4063-100000 AT cantor DOT hal DOT st DOT schule DOT de>
Lines: 48
Date: Tue, 16 May 2000 01:44:17 +0300
NNTP-Posting-Host: 212.38.225.122
X-Trace: uutiset.nic.fi 958497713 212.38.225.122 (Tue, 16 May 2000 15:21:53 GMT)
NNTP-Posting-Date: Tue, 16 May 2000 15:21:53 GMT
Organization: NIC Tietoverkot Oy - NIC Data Networks Ltd.
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Stephan Diestelhorst wrote:
> 
> Dear djgpp folks,
>   I'm in serious trouble with the Creative Labs soundcard SB128 PCI. I
> wrote my own soundlibrary, (perhaps published soon) which worked well on
> SB Pro and also on SB128 in the DOS Box of Win98.
> But under DOS-Mode of Win98 my IRQ-handler doesn't seem to be called
> correctly by the soundcard (better to say it's driver).

Ok, let me clear this up. I have had that #¤%"&@$!! "sound card"
(as creative calls it) And I threw it away for an SB16 ISA.

Reason: the SB emulation that the card's DOS driver uses depends
strongly on EMM386's VCPI services. The driver virtualizes
the entire card. For some reason the driver is unable to pass the
IRQ to a *protected* mode ISR.

The card is also a plain DAC, which means it does all the MIDI and FM
sound generation in software.
Dunno what DMX (the sound lib that doom etc. uses) does
to get it work, it might use V86 mode. No, Allegro does not work.

There is no workaround. Get the Ensoniq ES1370/1371 specs from
ftp://ftp.alsa-project.org/pub/manuals/ and write a native driver.
 
> The handler is just a protected mode handler written in assembly.
> I suppose that this are some protected mode problems, as the driver of the
> soundcard is using VCPI stuff to emulate the SB 16 (could be exception
> handling for several ports, etc.)

Exactly. A GPF for each port access. Ouch =)

> It is also strange that games like Quake I or DOOM (which are also using
> protected mode) work fine.
> Of course I can't expect to get detailed instructions, but I hope that
> some of you had simillar problems and/or could give any advice.

Advice: Awful card. Throw it away. Honestly.
 
> Thanks for any support/help in advance,
>   Stephan Diestelhorst aka. SyoN

-- 
- Antti

Windows, a 32 bit extension for a 16 bit patch to an 8 bit operating
system  originally coded for a 4 bit microprocessor by a 2 bit company
that can't stand 1 bit of competition.

- Raw text -


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