Page 2 of 2
Re:Hardware cursor
Posted: Mon Jul 25, 2005 7:08 am
by Solar
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.
Re:Hardware cursor
Posted: Mon Jul 25, 2005 7:41 am
by marcio.f
@AR
No warnings now, thanks
@Solar
There's little difference between the two:
old code:
Code: Select all
__asm__ __volatile__ ("outb %%al, $0x80");
new code:
Code: Select all
__asm__ __volatile__ ("outb %%al, $0x80" :: "a"(0));