Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Unable to return from DPMI real mode callback. (Miscellaneous)

posted by Japheth Homepage, Germany (South), 07.11.2011, 17:29

> What am I missing? Thanks in advance.

It might be that you are NOT supposed to "pop" the flags from the real-mode stack. This depends on how your callback is called from real-mode. If it is just a far call, then you "should" NOT "pop" the flags - that is, pRmRegs->sp is to be increased by 4 only, not 6.

---
MS-DOS forever!

 

Complete thread:

Back to the forum
Board view  Mix view
22760 Postings in 2121 Threads, 402 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum