Mail Archives: djgpp/1997/12/10/16:31:58
Make sure that you're using the correct values. Outportb will send one
BYTE (or character) to the address given, whereas I believe OutportW will
send the first BYTE of an Integer to the address, and the second byte of
the integer to address+1. What would help is for you to post the
questionable code in QB and in C and then I can see what you're trying to
do.
-Steve
Simon Ironside <ceesdi AT pp DOT hw DOT ac DOT uk> wrote in article
<348EBEAA DOT 5C7C AT pp DOT hw DOT ac DOT uk>...
> 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.
>
- Raw text -