First post, by Blackthorn00
This is probably a trivial question, but I have read contradicting posts regarding an answer.
Some posts suggests that since EMS emulation is based on XMS, which is basically a memcopy interface, then when swapping those 16k pages in the EMS window, the system is actually performing a copy under the hood.
Other posts suggest that since EMM386 puts the processor in v86 mode, then it enables paging. As a result, swapping those 16k pages is just a use of virtual memory (mapping logical pages to phisical ones) which doesn't require a copy and thus is very fast.
So which one is the truth? (I speculate it's the first on 286 and the second on 386).
Since some games required EMS into the early 90s, I'd expect the EMS access was faster than XMS, suggesting it didn't involve a copy.
Btw, I'm learning to use both EMS and XMS interfaces, so I guess I could just benchmark it. There is also the fact that when emm386 is loaded, the system can become up to 10% slower, according to Microsoft, so I wonder of this slowdown eats all the allegedly overspeed of EMS usage over XMS.