You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
xbdm_call will call SetMem, which is the first communication with Xbox
xbdm_hack will call SetMem, which is the more communication with Xbox, to setup the next step
xbdm_hack will call xbdm_command which is another communiation with Xbox
xbdm_hack will readback the result which is another communication with Xbox
Ideally we'd pass all optional input data in the xbdm_hack request, and return all optional output data in the response.
Maybe we should also allow packing of commands, simply to avoid XBDM command processing overhead.
The text was updated successfully, but these errors were encountered:
Current code (eb69c7fba9cdd1bb1e81eec60f4fed4394a42c67):
(Also see xbdm-hack.md for more information)
Here is what the hack does for reads and writes:
Reads
xbdm_hack
will callSetMem
, which is the first communication with Xbox, to setup the next stepxbdm_hack
will callxbdm_command
which is another communiation with Xboxxbdm_hack
will readback the result which is another communication with XboxThat is 3 back-and-forth transfers for a single read.
Writes
xbdm_hack
will callSetMem
, which is the first communication with Xbox, to setup the next stepxbdm_hack
will callxbdm_command
which is another communiation with Xboxxbdm_hack
will readback the result which is another communication with Xbox, even if it isn't returned from xbdm_write.That is 3 back-and-forth transfers for a single read, with one of them being completly useless.
There's various ways to optimize it.
Calls
xbdm_call
will callSetMem
, which is the first communication with Xboxxbdm_hack
will callSetMem
, which is the more communication with Xbox, to setup the next stepxbdm_hack
will callxbdm_command
which is another communiation with Xboxxbdm_hack
will readback the result which is another communication with XboxIdeally we'd pass all optional input data in the
xbdm_hack
request, and return all optional output data in the response.Maybe we should also allow packing of commands, simply to avoid XBDM command processing overhead.
The text was updated successfully, but these errors were encountered: