Page 1 of 1

Write text to the console in protected mode (no interrupts)

Posted: Mon Dec 18, 2006 7:09 am
by MagicalTux
Ok, something bad again...

Is ther a way to either :
  • Display a character on the console (without realmode help)
  • Know the memory location of the console (to put text on it)
In fact I discovered recently that my display code wasn't portable, so I don't have any debug output on some kinds of machines...

EDIT: Sorry about this post, I found my answer by searching more ;)

For those who wonder what the answer is, 0xb8000 is the default memory location.

Re: Write text to the console in protected mode (no interrup

Posted: Thu Dec 28, 2006 4:02 pm
by carbonBased
MagicalTux wrote: For those who wonder what the answer is, 0xb8000 is the default memory location.
For colour text modes, yes. 0xb0000 is used for monochrome text modes.

--Jeff