Mail Archives: djgpp/2005/08/26/05:18:03
In the DJGPP version the program does not seem to want to work;
in the mingw version, that one fails after running.
The ascii text is sent to a Text-to-Speech card via a outportb
instruction, the status as to whether or not it is ok to send
characters is checked by a inportw instruction.
(yes the program has a way to escape incase it hangs)
In the mingw application it appears to "stutter" at the 1st couple
lines, works fine for about a couple minutes after that, than
consistantly stutters to a point where its total gibberish.
For whatever it is worth, a Borland 16-bit version of my application
runs 100% of the time correctly and consistantly. Using the exact
same code (at least in appearence).
DJGPP has "issues" I get the stutter/scrambled speech instead of
the proper characters coming together to form words. It is as if
only certain acknowledgements from inportw() are "correct", and/or
only certain writes by outportb() are correct, or even being
performed. I honestly do not know.
Someone suggested I examine the -S output to see what DJGPP
is really putting in there for inport/outport; and do the same for
Borland 16, and try to determine whats actually happening.
I am aware of no real-time debugger for Borland 16 except through
the IDE which I only rarely use. I am a command-line user.
But probably should give that a try.
I was thinking 32-bit mode vs. 16-bit mode somehow influences how
inport/outport react/operate, and all that sort of line of reasoning.
This would not be the first program under Borland that has inp* and
outp* issues. Running it under a Windows DOS-Shell concerned me
too, except the Borland one works fine (at least in 16-bit).
Thanks!
On Wed, 24 Aug 2005 17:31:59 -0400, DJ Delorie <dj AT delorie DOT com> wrote:
>
>What do you mean by "fails miserably"? That's a very vague
>description, and certainly not a useful way to get us to help you
>figure out what's wrong.
>
>Those functions have been working fine for over a decade now, so I'm
>pretty sure it's not actually broken.
- Raw text -