Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
void wait_change() {
int on;
unsigned char v;
do {
v = inb(status);
on = !!(v & 0x20);
} while (on == laston);
laston = on;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.