Also, this may be simpler/faster:
void count(int time)
{
int value = 0;
while (value < time) {
while (inb(BASEPORT+1) & 0x80));
while (inb(BASEPORT+1) ^ 0x80));
value++;
}
}
- Kal.
-- [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/
- [rtl] Parallel port problem Bart Vandewoestyne
- Re: [rtl] Parallel port problem Tomasz Motylewski
- Re: [rtl] Parallel port problem Kulwinder Atwal
- Re: [rtl] Parallel port problem Kulwinder Atwal
- [rtl] Parallel port problem Bart Vandewoestyne
- Re: [rtl] Parallel port problem Kulwinder Atwal
- Re: [rtl] Parallel port problem Bart Vandewoestyne
- Re: [rtl] Parallel port problem Stuart Hughes
- Re: [rtl] Parallel port problem Kulwinder Atwal
- Re: [rtl] Parallel port probl... Bart Vandewoestyne
- Re: [rtl] Parallel port problem yodaiken
- Re: [rtl] Parallel port problem Stuart Hughes
