Hello,
I was wondering, is it possible to enter VGA in protected mode? I've heard of several methods, including temporarily dropping back to real mode, and running a v8086 task (how would one do that?), are there any other methods, and which do you think would be best?
Entering VGA in protected mode
- salil_bhagurkar
- Member
- Posts: 261
- Joined: Mon Feb 19, 2007 10:40 am
- Location: India
Re: Entering VGA in protected mode
'Enter VGA' -- You mean use the VGA functions provided by your BIOS i guess.. Yes it is possible to do that. I drop to real mode and come back in my os (that was when i was making a stupid GUI). But this is a really bad idea if you are using the VGA system frequently.
Optionally you could do what linux does. It sets up the video information and video mode while it is in the real mode at boot time. Using a v8086 task is also feasible. For that you will have to read up on v8086 from the 386 manuals. You can search this post or google for v8086.
Besides you could also directly use the VGA registers to do stuff. Refer to tauron vga utilities (google it)...
Optionally you could do what linux does. It sets up the video information and video mode while it is in the real mode at boot time. Using a v8086 task is also feasible. For that you will have to read up on v8086 from the 386 manuals. You can search this post or google for v8086.
Besides you could also directly use the VGA registers to do stuff. Refer to tauron vga utilities (google it)...
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: Entering VGA in protected mode
Try the wiki: VGA Hardware
EDIT: and please use the search function as this question has been asked many times before.
EDIT: and please use the search function as this question has been asked many times before.
Re: Entering VGA in protected mode
I'm programming video directly. It is just necessary to check existng VGA compatible video card and not to use other video drivers, because they may support additional features for vga modes.RevivalDBM wrote:which do you think would be best?
If you have seen bad English in my words, tell me what's wrong, please.