Skip to content

Namco system 246/256 support#19

Draft
israpps wants to merge 9 commits into
F0bes:masterfrom
israpps:sys2x6
Draft

Namco system 246/256 support#19
israpps wants to merge 9 commits into
F0bes:masterfrom
israpps:sys2x6

Conversation

@israpps
Copy link
Copy Markdown

@israpps israpps commented May 29, 2024

Mostly because ps2ident is complicated to maintain and because we currently don't have any means of dumping the arcade flash memory

@israpps israpps changed the title Sysnamco system 246/256 support Namco system 246/256 support May 29, 2024
Comment thread biosdrain.c
Comment thread irx/arcade_ioprp.img
Comment thread irx/ioprp_img.c Outdated
Comment thread biosdrain.c Outdated
@israpps israpps requested a review from F0bes May 29, 2024 16:40
@F0bes
Copy link
Copy Markdown
Owner

F0bes commented May 29, 2024

Can you verify if the generated artifact works for you on a retail console?
I'm pretty positive it has nothing to do with your changes, but is instead an SDK regression. But it doesn't seem to detect my USB.

@israpps
Copy link
Copy Markdown
Author

israpps commented May 29, 2024

Can you verify if the generated artifact works for you on a retail console? I'm pretty positive it has nothing to do with your changes, but is instead an SDK regression. But it doesn't seem to detect my USB.

usb should not be affected

On emulator it boots file (with COH-H31100 boot rom)

I could check tomorrow on my SCPH-50009

@israpps
Copy link
Copy Markdown
Author

israpps commented May 29, 2024

I see you are using the vfat driver instead of fatfs. I havent used that one in any of my programs, I always use fatfs.

@F0bes
Copy link
Copy Markdown
Owner

F0bes commented May 29, 2024

I see you are using the vfat driver instead of fatfs. I havent used that one in any of my programs, I always use fatfs.

Hmm, good catch. I'll try using fatfs instead.

@israpps
Copy link
Copy Markdown
Author

israpps commented May 29, 2024

I see you are using the vfat driver instead of fatfs. I havent used that one in any of my programs, I always use fatfs.

Hmm, good catch. I'll try using fatfs instead.

I would also recommend the USB wait approach made by fjtrujy

    struct stat buffer;
    int ret = -1;
    int retries = 50;

    while (ret != 0 && retries > 0) {
        ret = stat("mass:/", &buffer);
        /* Wait until the device is ready */
        nopdelay();

        retries--;
    }

edit: also, maybe loading usbd.irx before bdm.irx so we save time while the BDM interface setups youre doing this already

israpps added 3 commits May 29, 2024 14:19
this makes sure CDVD RPC is setup by the time program tries to retrieve console model number
@F0bes
Copy link
Copy Markdown
Owner

F0bes commented Jun 1, 2024

I'm currently waiting for @fjtrujy to test his ps2_drivers usb sample. I'm currently unable to get it, and using fatfs directly, to work for me.
Once the issue is resolved I'll migrate to fatfs and when you're ready, merge this PR :)

@israpps
Copy link
Copy Markdown
Author

israpps commented Jun 2, 2024

I'm currently waiting for @fjtrujy to test his ps2_drivers usb sample. I'm currently unable to get it, and using fatfs directly, to work for me. Once the issue is resolved I'll migrate to fatfs and when you're ready, merge this PR :)

No hurry.

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.

2 participants