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

[MCMAN] different return value compared to sce modules. why? #542

Open
israpps opened this issue Mar 4, 2024 · 2 comments
Open

[MCMAN] different return value compared to sce modules. why? #542

israpps opened this issue Mar 4, 2024 · 2 comments

Comments

@israpps
Copy link
Contributor

israpps commented Mar 4, 2024

on the following line, -2 is returned, instead of -46 like SCE modules. I found this while reversing DONGLEMAN. any idea why?

return sceMcResNoFormat; // -46

@sp193
Copy link
Member

sp193 commented Mar 5, 2024

Are you aware that the design of MCMAN and various SDK modules may have changed between SDK versions? I guess, such a change in semantics may be the result of the SDK being of a different version.

The original PlayStation 2 boot ROM module set was roughly equivalent to 1.3.4. For backward-compatibility, no changes were made to the basic module set (i.e. rom0:MCMAN). The X, P or T modules are usually related to some other app, such as the OSD. Which may be built with a newer SDK. And as such, they reboot the IOP with an command that targets an IOPRP image containing IOPBTCONF that lists the new modules. These modules may not be of the exact same versions, between consoles.

I forgot which MCMAN module Jimmikaelkael based this MCMAN on. But you should try to refer to a module that is as similar to the one used.

@israpps
Copy link
Contributor Author

israpps commented Mar 5, 2024

Are you aware that the design of MCMAN and various SDK modules may have changed between SDK versions? I guess, such a change in semantics may be the result of the SDK being of a different version.

The original PlayStation 2 boot ROM module set was roughly equivalent to 1.3.4. For backward-compatibility, no changes were made to the basic module set (i.e. rom0:MCMAN). The X, P or T modules are usually related to some other app, such as the OSD. Which may be built with a newer SDK. And as such, they reboot the IOP with an command that targets an IOPRP image containing IOPBTCONF that lists the new modules. These modules may not be of the exact same versions, between consoles.

I forgot which MCMAN module Jimmikaelkael based this MCMAN on. But you should try to refer to a module that is as similar to the one used.

I asked because I see the -46 value commented there. Just curiosity,

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

No branches or pull requests

2 participants