Re: [PDCurses] Problem with halfdelay(), and fix

2002-03-11 Thread William McBrine

A final note on this subject...

On Sun, 3 Mar 2002, I wrote:

> [For DJGPP,] I changed the "10" in "waitingtenths =
> 10*SP->delaytenths" to 2, changed the napms() parameter from 10 to
> 50, and indeed it works correctly now. I'm not sure if that should be
> applied as is, since it would affect all ports.

I tried it with Win32 (BCC) and OS/2 (EMX), and found that it improved CPU
usage slightly (though it was already low), with no perceptible difference
in response time.

-- 
William McBrine <[EMAIL PROTECTED]>





Re: [PDCurses] Problem with halfdelay(), and fix

2002-03-03 Thread William McBrine

On Sun, 3 Mar 2002, I wrote:

> [Under DJGPP,] PDCurses is calling usleep() with a 10ms parameter, so
> there's no pause. I haven't attempted to fix this yet.

I changed the "10" in "waitingtenths = 10*SP->delaytenths" to 2, and
changed the napms() parameter from 10 to 50, and indeed it works correctly
now. I'm not sure if that should be applied as is, since it would affect
all ports.

> And I haven't yet figured out why the Turbo C++ routine (based on
> delay() from TC's dos.h) isn't working.

Still no luck there... anyone else?

-- 
William McBrine <[EMAIL PROTECTED]>