On Tuesday 31 July 2001 18:42, Wayne Dunkel wrote:
> I have a variable declared as a short. which function should I use to
> output it to hardware? I assume one of the following: outsb, outsw,
> outsl, but I don't know which.
That depends on what platform you're on (short, int, long, long long etc
differ between CPUs and compilers), but short is usually 16 bits, so you
should use outsw. b = byte = 8 bits, w = word = 16 bits, l = longword
(motorola) or doubleword (intel) = 32 bits.
//David Olofson --- Programmer, Reologica Instruments AB
.- M A I A -------------------------------------------------.
| Multimedia Application Integration Architecture |
| A Free/Open Source Plugin API for Professional Multimedia |
`----------------------> http://www.linuxaudiodev.com/maia -'
.- David Olofson -------------------------------------------.
| Audio Hacker - Open Source Advocate - Singer - Songwriter |
`--------------------------------------> [EMAIL PROTECTED] -'
----- End of forwarded message from [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/