Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

some modern UEFI/CSM leaves CR0.WP set at boot (Developers)

posted by Japheth Homepage, Germany (South), 23.01.2024, 13:24
(edited by Japheth on 23.01.2024, 13:56)

> Not sure if this can cause issues also under DOS with JEMM/DPMI,

Not with Jemm or Hdpmi. I'm aware of this possibility since at least 10 years and ensured that it's no problem.

That doesn't mean that it's irrelevant. The Deb386 ring 0 debugger may cause page faults if the WP bit is set and the G(o) cmd is used with a breakpoint argument. That's why the little tool ResWP.exe is supplied with the debugger - guess what it does! Most DPMI host won't set page table attributes to R/O, but HX's DPMILD32 does so for code sections.

---
MS-DOS forever!

 

Complete thread:

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