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(R) 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
15297 Postings in 1378 Threads, 254 registered users, 17 users online (0 registered, 17 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum