Virtual 8086 Help!!!!!!!!

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.
Post Reply
Jim
Member
Member
Posts: 27
Joined: Sun Nov 05, 2006 3:46 am

Virtual 8086 Help!!!!!!!!

Post by Jim »

:roll: :roll: :roll: I have some qustions about V8086 :roll: :roll: :roll:

:roll: :roll: :roll:
1) Does any one know a good article about V8086 (Something else from the Intel specification). :?: :?:

:roll: :roll: :roll:
2) I want to support V8086 so I can call the VBA BIOS for setting Display resolutions etc. Does some one now a better way how to do it. :?: :?:

Thank you for any help
User avatar
Dex
Member
Member
Posts: 1444
Joined: Fri Jan 27, 2006 12:00 am
Contact:

Post by Dex »

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.
User avatar
bubach
Member
Member
Posts: 1223
Joined: Sat Oct 23, 2004 11:00 pm
Location: Sweden
Contact:

Post by bubach »

This might help you:

http://osdev.berlios.de/v86.html
http://my.execpc.com/~geezer/osd/pmode/index.htm

Actually, all I did was to google for you. You should try it. :wink:
"Simplicity is the ultimate sophistication."
http://bos.asmhackers.net/ - GitHub
digo_rp
Member
Member
Posts: 233
Joined: Sun Jun 05, 2005 11:00 pm

Post by digo_rp »

in case you need I can send to your email my source, It has vm86 with sh
taskswtiching

just email me

[email protected]
Ready4Dis
Member
Member
Posts: 571
Joined: Sat Nov 18, 2006 9:11 am

Post by Ready4Dis »

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.
Post Reply