V86 without TSS

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
guest

V86 without TSS

Post by guest »

Hello !

I want change to V86 without using the TSS.

How does the iret frame look for switching into V86 ?

push SS ring 3
push ESP
pushf with VM enabled
push CS with ring 3 and D, G bit cleared
push offset
iret

Is that right ?
Post Reply