Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Can a DPMI program enter V86M with iretd instruction? (DOSX)

posted by alexfru, USA, 21.01.2023, 17:13

> So it does look like only ring 0 code can iret into Virtual
> 8086 mode. Another interesting fact is that an iret to V86
> mode will also pop additional registers from the ring 0 stack.

Yep. It's similar to transferring control between different CPLs in regular protected mode.

> (Another way I can think of to transition from ring 3 PM to V86 mode, is to
> jump to a task gate or a TSS which has been set up for V86 mode. But in
> this case the ring 0 supervisor would need to have set up the TSS
> beforehand, to allow such a thing...)

Yes, this too.

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 85 users online (0 registered, 85 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum