-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pbkit is not 128MB aware #549
Comments
I don't think any of this is a valid option. 128MiB patches on Xbox are a huge mess, but it's not the fault of nxdk. If your app wants to be 128MiB compatible, I suggest to probe for 128MiB yourself, and potentially bring your own drivers and kernel patches? |
|
Played around with this on my fork and it's came up with a non-functioning solution. master...GXTX:feat/pb_kit_128_aware Seems there's more going on. |
The following call may be a better way of determining available RAM?
Yea this should probably use the MmGetPhysicalAddress function |
Because of this, it will only allocate memory in the lower 64MB portion.
#define MAXRAM 0x03FFAFFF
Is used in many places.
HalReadWritePCISpace(0, 0, 0x84, &var, sizeof(uint32_t), FALSE);
Will give you RAM size, however some scene kernels do not set this properly even if you have 128MB, so you could also read
NV_PFB_CFG1
.pb_OldVideoStart=((DWORD)XVideoGetFB())&0x03FFFFFF;
Is also probably problematic.
The text was updated successfully, but these errors were encountered: