Hi,
I read the code of the sound.c example (by Michael Barabanov, 1997,
[EMAIL PROTECTED]) and be interest to know a the following thing. This is
not directly a rtlinux question but can help to produce super-fast periodic
interrupt driven routine.
The 8254 Timer on a PC is driven by a base time. This base time, on the
define of the file mc146818rtc.h can be set with one of the three time bases :
/* divider control: refclock values 4.194 / 1.049 MHz / 32.768 kHz */
# define RTC_REF_CLCK_4MHZ 0x00
# define RTC_REF_CLCK_1MHZ 0x10
# define RTC_REF_CLCK_32KHZ 0x20
Can I program the time base on my computer or this time base is hardware
dependant and must stay with the original configuration ?
If I can program then, can I program the time base independently for each
counter? I mean then the counter 0 and 1 are set for the int controller and
the RAM refresh. If I change the configuration and the time bases are
dependant, the timing cannot be preserved at the same rate for the 18.2Hz
for the int0 and for RAM refresh. That's right?
Thanks a lot your answers,
Stephane Bouchard
[EMAIL PROTECTED]
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/