Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

SET HDPMI=1 should help (DOSX)

posted by Japheth Homepage, Germany (South), 14.01.2008, 03:26

> edit: the triple fault's cause is a host stack overflow, that is, your
> application loops (real-mode -> real-mode callback -> prot-mode ->
> real-mode -> ...)

"set hdpmi=1" most likely will avoid the loop. It has been implemented exactly for those DOS extenders which behave paranoid: they except all interrupt and exception vectors and route IRQs from real-mode to protected-mode themselves - apparently they don't trust any external code. The latter thing is dangerous to do, because it's the DPMI host's job.

---
MS-DOS forever!

 

Complete thread:

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