Dr. Dobb's Journal October 1998
while (!done) { if (inpw (FIFOport) & S_FIFOFull) { delay (1); } else { outpw (FIFOport, buf [bufptr++]); if (bufptr >= BlockSize) { done = 1; } } }
Back to Article