Avoid page faults for NVA2 memory #9
Labels
cpu-emulation
LLE CPU
enhancement
general improvement of the emu
graphics
GPU and/or game graphics related
LLE
Low Level Emulation
memory
memory manager problem
needs-developer-discussion
devs must discuss this
I'll try to add more specifics to this later, but the general idea here is that miniport API's can be used to move the NV2A command buffer to a pre-allocated memory-range;
As far as I remember from my research, all Direct3D code linked into XBE's aknowledge the miniport-supplied memory range. So, most (perhaps all) Xbox titles don't access hard-coded memory ranges, but will follow what the miniport API dictated.
This means that many page-faults can be avoided, just as long as there's a method in place that will handle writes to the NV2A memory. One method could be to have a separate thread interpreting the data written to the command buffer, translating it to a high level 3D API.
The text was updated successfully, but these errors were encountered: