From: sam AT greenaumARSE!ARSE!ARSE!.demon.co.uk Newsgroups: comp.os.msdos.djgpp Subject: PCI sound card Date: Sat, 29 May 1999 18:28:23 GMT Organization: Rossum's Universal Robots Message-ID: <375730ac.19621769@news.demon.co.uk> NNTP-Posting-Host: greenaum.demon.co.uk X-NNTP-Posting-Host: greenaum.demon.co.uk:194.222.71.189 X-Trace: news.demon.co.uk 928002511 nnrp-04:21225 NO-IDENT greenaum.demon.co.uk:194.222.71.189 X-Complaints-To: abuse AT demon DOT net X-Newsreader: Forte Agent 1.5/32.452 X-No-Archive: yes MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 20 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I've written a program that gets sound data from a Soundblaster compatible simply by IN and OUT ing to it's I/O addresses, I think it's called byte mode, or something. Anyway it works on my computer but I've had a report from someone who says it won't. He says it works fine without sound in Windows NT, so my prog itself is sound. But in Win 95 or DOS it locks up. All I do is reset the SB with the relevant bits to it's reset port, then read the bytes, by outing to it's command register, then inning from the data register. Is there anything strange about PCI sound cards? I try to autodetect the card by running my reset routine, and if it times out, I know I've got the wrong address. Or else where should I start looking? ------------------------------------------------------------------------ D O N ' T V O T E M P ' S A R E A L L C R O O K S http://www.greenaum.demon.co.uk/ Protect privacy, boycott Intel: http://www.bigbrotherinside.org