Page 1 of 1

Real Mode Monitor Without BIOS Ints.

Posted: Tue Feb 27, 2007 7:00 pm
by Alboin
Hello,
In protected mode, one accesses the monitor through 0xb8000. However, how is this done in real mode? (That is, without using BIOS calls.) Thanks.

Edit: Also, does anyone know where to find a tech doc of sorts for monitors? (I'm working on an emulator.)

Re: Real Mode Monitor Without BIOS Ints.

Posted: Tue Feb 27, 2007 7:28 pm
by frank
Alboin wrote:Hello,
In protected mode, one accesses the monitor through 0xb8000. However, how is this done in real mode? (That is, without using BIOS calls.) Thanks.

Edit: Also, does anyone know where to find a tech doc of sorts for monitors? (I'm working on an emulator.)
It can be done the same way in real mode. You would still write too the location 0xB8000. You just have to use segments to do it with. IE set es to 0xB800 and write to memory relative to that.

Posted: Tue Feb 27, 2007 7:49 pm
by Alboin
Thanks!

Posted: Wed Feb 28, 2007 12:17 am
by pcmattman
It may be worth mentioning that a monochrome monitor has a different address for the text buffer (0xB0000 insead of 0xB8000)... If you're working on an emulator, may as well have support for monochrome emulation as well.

Posted: Wed Feb 28, 2007 8:13 pm
by Tyler
Monitor?... or video card?

Monochrome that is?

Posted: Wed Feb 28, 2007 8:25 pm
by pcmattman
I'm assuming that this is for the video hardware... I'm only just saying what I read someplace.

Posted: Thu Mar 01, 2007 2:14 am
by Combuster
One cant access the monitor directly. One accesses the video card instead and tell it to send video signals to the attached monitor.
Recommended reading: VGA Resources and VGA Hardware