Hardware cursor
Re:Hardware cursor
If the code in the Wiki didn't work for you, and the new one did, feel free to edit the Wiki page. For the benefit of our 2.95 using dev'ers here, you might want to leave the old code in a sidenote on the Wiki page.
Every good solution is obvious once you've found it.
Re:Hardware cursor
@AR
No warnings now, thanks
@Solar
There's little difference between the two:
old code:
new code:
No warnings now, thanks
@Solar
There's little difference between the two:
old code:
Code: Select all
__asm__ __volatile__ ("outb %%al, $0x80");
Code: Select all
__asm__ __volatile__ ("outb %%al, $0x80" :: "a"(0));