<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
True. And at least some of us have now upgraded to Sound Blaster! <span
class="moz-smiley-s5"><span> :-D </span></span><br>
<br>
Cheers,<br>
M.<br>
<br>
<br>
Daniël Mantione wrote:
<blockquote cite="midPine.LNX.4.61.0709021928260.14147@idefix.wisa.be"
type="cite">
<pre wrap="">
Op Sun, 2 Sep 2007, schreef Mark Wood:
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">Naturally, this is not possible: The PC speaker is simply controlled by a
timer, which creates a square wave (on/off). In ancient DOS times there
was a trick by doing a frequency modulation, i.e. you turn the timer on
and off quite fast. But on Linux etc. the drivers don't support such
cheats.
</pre>
</blockquote>
<pre wrap=""><scratches chin> Hmmm... could you use that old Turbo Pascal code to do an
inline of the ASM for it? (talking completely through my hat having never
attempted such a thing on a linux platform)
</pre>
</blockquote>
<pre wrap=""><!---->
If you run as root, acquire I/O port access and run SCHED_FIFO (so you are
not pre-empted), it might work.
However, as nowadays all PCs have a 16 bit audio possibility I don't see a
reason to do such ugly tricks with the PC speaker.
Daniël</pre>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
fpc-pascal maillist - <a class="moz-txt-link-abbreviated" href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</a></pre>
</blockquote>
<br>
</body>
</html>