Bart Oldeman
Bart Oldeman
Oh I think I misread.. this is about using faultless simx86 in combination with native or KVM. Yes it's certainly possible but also a fair amount of work of course.
I'm not sure if it helps, there are some pros and cons. I doubt it will help performance since page faults are quite rare for DPMI already as code and...
I don't really want to build it into the macros, ideally I'd let `SEL_ADR_X()` return a `dosaddr_t` and not use any pointers into DOS space, instead use only functions (`read_byte(),...
No I don't want to force them to unprotect, that is indeed not good! Just do what `memcpy_2dos` (which takes a dosaddr_t, the aliased pointer is hidden inside the function)...
Correct I mean the latter since pages in dpmi progs typically don't share code and data... Of course there is some self modifying code. I'll get some stats later.
Correct there was code and data mixed in, and that faulted about 10 times. That's nothing compared to the 1000s of other faults that happen.. but like I said I'll...
The patch would be enormous indeed :( I'm warming up more and more to the idea of the fault-less JIT. I experimented a bit more with using the CPatches unconditionally...
I am happy about 2.b. for sure, however do note that SEL_ADR_X is also used for read-addresses and sometimes it uses strcmp on those. Introducing SEL_ADR_W and then using memcpy_2dos...
That should already work except for Windows 3.x LDT writes and DPMI page faults (fairly uncommon but tested in test-i386.exe). Basically the write routines in the sim need to be...
Faultless JIT works with vgaemu and should work with LDTs too, but not page faults, although I have a proof of concept stashed somewhere for that case, after which I...