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

Spring Elasticsearch Operations

Network Error and Timeout on Authorize.net JS

Object oriented programming concepts (OOPs)