Hardware cursor

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re:Hardware cursor

Post 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.
Every good solution is obvious once you've found it.
marcio.f

Re:Hardware cursor

Post 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));
Post Reply