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.
Yes go to realmode change modes and return to pmode.
You see lots of crap about, this is not a good thing to do, all i can say is that bull ****. As long as you set thing up right its is not only easy, but also works well.
You are not doing anythink that is bad for your processor etc. it is a function of the processor to switch between real and pmode.
But its up to you to use the right way for your setup.
I concur, if you are only implementing it to support changing video resolutions, don't bother, just drop back to real mode, set resolution, and back to pmode. This is how my video 'driver' works and it works fine, i don't change resolutions very often, so it's not speed critical, nor does it have to be multitasking friendly since it's so fast an operation and done so infrequently. I have no other use for v86 mode, so I see no reason to do a full implementation for a driver that will only run as default if no other video driver is found.