Page 1 of 1

Printing Text Onto Screen

Posted: Tue Aug 14, 2007 8:53 pm
by JoeTheProgrammer
I have tried to do this, but failed, can someone please post an example on how to print text on the screen in 32 bit protected mode using C?

Thanks,
Joseph

Posted: Tue Aug 14, 2007 9:00 pm
by dushara
Have a look at the latest rev (49) of console.c

http://sugatha.svn.sourceforge.net/view ... rc/pc_gcc/

It doesn't update the cursor position though (I think there's an article in the wiki that describes how to do this).

Posted: Tue Aug 14, 2007 9:06 pm
by JoeTheProgrammer
Thanks for the example, this will help me alot.

Joseph