[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

BOUNCE rtl@rtlinux.org: Approval required: Non-member submissionfrom [Andrew Vaught <andy@xena.eas.asu.edu>] (fwd)



>From owner-rtl Tue Jun  5 15:23:22 2001
Received: from xena.eas.asu.edu (IDENT:root@xena.eas.asu.edu [129.219.38.222])
	by hq.fsmlabs.com (8.11.2/8.11.2) with ESMTP id f55LNLx11938
	for <rtl@rtlinux.org>; Tue, 5 Jun 2001 15:23:21 -0600
Received: from localhost (andy@localhost)
	by xena.eas.asu.edu (8.9.3/8.9.3) with ESMTP id OAA08172
	for <rtl@rtlinux.org>; Tue, 5 Jun 2001 14:24:08 -0700
Date: Tue, 5 Jun 2001 14:24:08 -0700 (MST)
From: Andrew Vaught <andy@xena.eas.asu.edu>
To: rtl@rtlinux.org
Subject: PC speaker
Message-ID: <Pine.LNX.4.21.0106051416570.8168-100000@xena.eas.asu.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Hi--

  I'm running version 3 of RTLinux and it works great.  The only minor nit
I have is that the beep on my IBM compatible pc speaker is just a low
buzzing sound instead of the usual 750Hz.  I've tried using the console
escape sequences to raise the frequency of the beep, but although this
works fine when not running RTLinux, it doesn't appear to change the
frequency with RTLinux.  Trying the same thing with the beep duration
works fine.

  From what I understand of how the pc speaker circuitry works, a timer is
programmed with the frequency, and the connection to the speaker is then
enabled and later disabled, producing a beep.  Is this timer being used
internally by RTLinux??

  My application is a loop that gets control every 10ms for about 1-2ms.
Anyone know how I can get the beep back?

        Andy

-----------------                        XOLD(K,IC,I)=
Andy Vaught               ....        DO ITERS=1, 10  XOLD(K,IC,I)
andy@xena.eas.asu.edu     |  |   /CALLMSOLVE(A,B,X,I,ITERS,TOL)+(RANNYU(0)
Arizona State University  ======|WRITE(6,'(I5,2X,F12.6)')ITERS,TOL -HALF)
Tempe, Arizona USA        OOOOOO \ENDDORETURN PARAMETER(ZERO=1.D0)*TENTH*DELTA

----- End of forwarded message from owner-rtl@fsmlabs.com -----