Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Single CIA access = 1 E-clock */
- void ata_WaitNano(ULONG ns, struct ataBase *base)
- {
- ns /= 2;
- while (ns >= 65536 * 4) {
- busywait(65535);
- ns -= 65536 * 4;
- }
- if (ns >= 4)
- busywait(ns / 4);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement