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.
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.)
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.
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.
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
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]