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 ecm Homepage E-mail, Düsseldorf, Germany, 20.01.2023, 17:52

I played around with lDebugX and the dpmimini example in my local Linux box's dosemu2, and found that an iretd (or o32 iret) which sets the VM flag apparently tries to load a stack pointer from the PM stack, I get a Stack fault if this cannot succeed. In case it does succeed, the DPMI host apparently returns a General protection fault.

Is it possible to enter V86M using just iretd in DPMI protected mode? If yes: How much does the DPMI host get confused by this, and can it avoid that?

---
l

 

Complete thread:

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