uyjulian
Developer
One thing I'd like to eventually do is make the pad, mc, and fileio RPC libraries "universal" (like I did with the rm RPC library).
Basically, how I'd like to get it is no matter what version of the modules are running on the IOP, it will "just work". No need to make a library variant for each version as the library can feature check to see what version it is.
For pad, check if/which RPC ID is binded.
For mc, check if RPC command is supported/handled.
For fileio, at least between 1000 and 2100, fill buffer of at least 144 bytes with e.g. 0xff, do a read RPC operation with invalid fd and 0 bytes, then check buffer to see if it is filled with something else. For between 2100 and 2200, and between 2200 and 3100, it needs more investigation.
Basically, how I'd like to get it is no matter what version of the modules are running on the IOP, it will "just work". No need to make a library variant for each version as the library can feature check to see what version it is.
For pad, check if/which RPC ID is binded.
For mc, check if RPC command is supported/handled.
For fileio, at least between 1000 and 2100, fill buffer of at least 144 bytes with e.g. 0xff, do a read RPC operation with invalid fd and 0 bytes, then check buffer to see if it is filled with something else. For between 2100 and 2200, and between 2200 and 3100, it needs more investigation.