Skip to content
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

mips eabi64 support #270

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open

mips eabi64 support #270

wants to merge 21 commits into from

Conversation

ethteck
Copy link
Contributor

@ethteck ethteck commented Mar 21, 2024

Very much a WIP, but this PR brings us from

void func_001099D8(void) {
    sceGsSetDefLoadImage(&D_002B8700, 0xE00, 8, 1);
    FlushCache(0);
    sceGsSyncPath(0, 0);
    sceGsExecLoadImage(&D_002B8700, &func_F20000);
    sceGsSetDefLoadImage(&D_002B8760, 0x1400, 8, 1);
    FlushCache(0);
    sceGsSyncPath(0, 0);
    sceGsExecLoadImage(&D_002B8760, &func_F20000 + 0x48000);
}

to the more accurate

void func_001099D8(s64 arg0, s64 arg2, s64 arg4) {
    sceGsSetDefLoadImage(&D_002B8700, 0xE00, 8, 1, 0, 0, 0x200, 0xC0);
    FlushCache(0);
    sceGsSyncPath(0, 0);
    sceGsExecLoadImage(&D_002B8700, &func_F20000);
    sceGsSetDefLoadImage(&D_002B8760, 0x1400, 8, 1, 0, 0, 0x200, 0xC0);
    FlushCache(0);
    sceGsSyncPath(0, 0);
    sceGsExecLoadImage(&D_002B8760, &func_F20000 + 0x48000);
}

That being said, the signature of this function is broken now, and some actual code changes will probably be needed here

@ethteck ethteck changed the title mipsee arch (n32 abi) support mipsee arch (eabi64) support Mar 21, 2024
@ethteck ethteck changed the title mipsee arch (eabi64) support mips eabi64 support Mar 24, 2024
@ethteck ethteck marked this pull request as ready for review April 3, 2024 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants