12.11.2012 07:04, Bart Oldeman пишет:
> Sorry, but PROT_WRITE implies PROT_READ on x86, so that cannot work. 
OK, but there might still be the workaround.
How about this:
1. Write-protect video mem
2. On PF save CR2, remove protection, set TF and return
3. On SIGTRAP use saved CR2 to perform the write handling.
4. Clear TF and goto 1
I guess its going to be horribly slow on "rep movsb"...
So the trivial implementation seems still possible, but the
performance would be far from perfection, for sure.

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Dosemu-devel mailing list
Dosemu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dosemu-devel

Reply via email to