delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/01/06:22:15

From: sam AT greenaum DOT demonARSE!ARSE!ARSE!.co.uk
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DJGPP and IO Port Programming.
Date: Mon, 01 Feb 1999 11:03:10 GMT
Organization: Rossum's Universal Robots
Message-ID: <36c089eb.7855812@158.152.254.70>
References: <36AF2EB6 DOT 9C53127E AT voicenet DOT com>
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 917867027 nnrp-06:19991 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
Lines: 19
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I have no problems using DJGPP in a Win95 DOS box. My program writes
samples to the Soundblaster's IO port, simply by blasting the bytes at
it one by one, I haven't got DMA figured out yet. Obviously it sounds
terrible, and the timing waves all over the place, but I get about
10,000 samples a second through it, and each one of those is 2 or 3 IO
writes. This is on a 486DX4/100 on the ISA bus.

If a Windows program tries to use the sound card, and my program
claimed it first, the Windows one just reports the device isn't
available. If Windows is using it when I start my prog, my prog
doesn't go anywhere, I think Windows might be blocking it. Anyway you
shouldn't have problems, Windows is quite good with it.


------------------------------------------------------------------------

The person who said he was a crap presenter knows nothing because compared
to the outwardly camp stuart miles, speech impediment Katy Hill and nothing
upstairs Konnie Huq, he was a true professional. Heh heh heh.

- Raw text -


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