VOGONS


First post, by japheth

User metadata
Rank Newbie
Rank
Newbie

Hello,

I'm using DosBox for testing some protected-mode apps and just discovered that pages marked as readonly can be written to from ring 3 protected mode, which on a real cpu is not possible.

Is this by design or is this a bug? I can imagine that some dos-extender apps may rely on getting page faults if someone tries to write such pages.

Regards

Japheth

Reply 2 of 6, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

dosbox doesn't care about page protection (only for the
first access to a non-present page), doesn't care about
segment limits etc. all because those would greatly
reduce the speed.

Reply 3 of 6, by japheth

User metadata
Rank Newbie
Rank
Newbie

> all because those would greatly reduce the speed.

that's understandable, but at least optionally (possibly not at runtime if it is a speed issue, but at compiletime) it would be good to have these things included.