Setting Video Mode in Protected-Mode
Setting Video Mode in Protected-Mode
im tired of real mode, and from what ive read, pmode kicks @$$, so I moved over to pmode, but I am unable to set the video mode in it! when I try to set the vid. mode, the computer crashes or resets. Whats up with that? My code is the normal, 2 lines of code that are standerd for setting the video mode, so I have no idea what is going on here.
Re:Setting Video Mode in Protected-Mode
simply put, you can't use the bios in pmode. Any functions that do real mode addressing will blow up. Either have to drop into V86 or communicate directly with the hardware.
Although V86 is the more practical solution, since you will have to write drivers eventually for your OS, you may as well programming the ports or mapped memory (whichever applies).
Although V86 is the more practical solution, since you will have to write drivers eventually for your OS, you may as well programming the ports or mapped memory (whichever applies).