From: Simon Ironside Newsgroups: comp.os.msdos.djgpp Subject: writing to Adlib ports 0x388 & 0x389 Date: Wed, 10 Dec 1997 16:09:14 +0000 Organization: Heriot-Watt University Lines: 12 Message-ID: <348EBEAA.5C7C@pp.hw.ac.uk> NNTP-Posting-Host: clmpc20.ma.hw.ac.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hi everyone, I've got a problem, after defecting from QB45 to DJGPP (don't react) I've been re-writing one of my soundcard programs in C++ I can't get outportb to work properly, it seems to be a little unreliable.. as the beeps I get out of the FM synth (using the same algorithm that worked in QB) aren't the same each time.. My detection code also.. isn't totally reliable. Any suggestions? Thanks in advance, Simon.