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

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.
Post Reply
MagicalTux
Posts: 22
Joined: Mon Dec 04, 2006 5:34 pm

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

Post 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.
User avatar
carbonBased
Member
Member
Posts: 382
Joined: Sat Nov 20, 2004 12:00 am
Location: Wellesley, Ontario, Canada
Contact:

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

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