Unable to return from DPMI real mode callback. (Miscellaneous)
> 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:
- Unable to return from DPMI real mode callback. - tgr, 07.11.2011, 16:31
![Open in board view [Board]](img/board_d.gif)
![Open in mix view [Mix]](img/mix_d.gif)
- Unable to return from DPMI real mode callback. - Japheth, 07.11.2011, 17:29
- Unable to return from DPMI real mode callback. - tgr, 08.11.2011, 23:15
- Unable to return from DPMI real mode callback. - Japheth, 09.11.2011, 05:33
- Unable to return from DPMI real mode callback. - tgr, 08.11.2011, 23:15
- Unable to return from DPMI real mode callback. - Japheth, 07.11.2011, 17:29
Mix view