Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

TripleFault [3] (DOSX)

posted by DOS386, 16.08.2007, 10:09

> > Is there a way to test whether the IDT is writable before actually
> writing
> > ? VESAMTRR seems to do so ( "Ring0 is inaccessible" , no crash ) but
> > couldn't find the test in the source :-|
>
> VESAMTRR doesn't need write access to GDT, just read-access. And it is
> easy to find since int 31h, ax=203h | ax=212h are the only - legal - ways
> to set an exception handler in DPMI.

Thanks ... this is documented this way and I write into IDT only ... but VESAMTRR seems not to use INT $31 to deal with exceptions ... it seems to give up because the GDT/LDT search fails somewhat :-|

But is there a good way to verify accessibility or writability of the IDT (or just any address), besides the touch-and-get-burnt strategy ?

---
This is a LOGITECH mouse driver, but some software expect here
the following string:*** This is Copyright 1983 Microsoft ***

 

Complete thread:

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