How do I draw a line using IO ports when making an operating system for x86 systems?

I am making a kernel in C, but I was wondering how i could use the outb instruction in AT&T syntax assembly (the as command on linux) to draw graphics. I plan to place the assembly as inline assembly in my kernel.

In a quick summary, I am trying to use inline assembly in C to be able to draw something like this for my kernel: slkdkfhsjkdlfhskdjf

Also I am trying to make my OS for x86 CPUs



Comments

Popular posts from this blog

I get wrong characters when retreiving the message body of an email using TIdIMAP4.UIDRetrieveTextPeek2()

How to drop the all the 1's in a correlation matrix

Today Walkin 14th-Sept