Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

VESAMTTR (recovered from Google) (DOSX)

posted by DOS386, 23.07.2007, 02:42

Japheth wrote:

> VESAMTRR "switches" to ring 0 to run the privileged instructions.

I wrote:

> * VERY * interesting source :-)

Japheth wrote:

> Rayer's switches to "real-mode" and runs the instructions.
> But since "real-mode" very often is "v86-mode"

I wrote:

> Looks like very bad design :-( He uses DGJPP, and then goes "real" for
> the relevant activity ... 500 Bytes of real mode assembly could probably
> replace the 100 KB from DGJPP :lol:

> Had thought that Rayer found out how to execute privileged
> instructions under DPMI ... but he didn't ... but you did :-)

> Seem to be at least 4 ways how to execute privileged instruction from DPMI code:

> - Go "real" (bad hack needed to switch ?) ... bad
> - Emulate them in the DPMI host (CR accesses & HLT in HDPMI32)
> - Run "client" in Ring0 (CWSDPR0, DOS/32A, other "WATCOM" extenders ?)
> - Shoot a hole into the protection :lol: and jump to Ring0 (VESAMTRR)

 

Complete thread:

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