Hi Eric,

I don't remember ever having problem with those sound() functions. In fact the time I thought I had, I made my own functions end the problem was NOT there ;-)

Alain

Eric Auer escreveu:
Hi Alain!


FreeCOM uses direct hardware access to beep in TAB completion,
maybe THAT hangs your system.


Apart from that, the direct access style beep is MUCH too long in DOSEMU.

void beep_low(void)
{
  sound(900);
  delay(400);
  nosound();
  delay(100);
}

void beep(void)
{
  sound(900);
  delay(400);
  nosound();
  delay(100);
}

I only had 0.82pl1 sources around, not sure what 0.82pl3 or even 0.82pl3w do.

Looks like library functions from the compiler - hopefully NOT using a
compiler which has broken delay() !?!?
Would be better to use the 40[6c] timer tick counter instead.

Eric


------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ Freedos-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-devel





-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Freedos-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to