biosdrain icon indicating copy to clipboard operation
biosdrain copied to clipboard

Namco system 246/256 support

Open israpps opened this issue 1 year ago • 7 comments

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

israpps avatar May 29 '24 16:05 israpps

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.

F0bes avatar May 29 '24 17:05 F0bes

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 avatar May 29 '24 17:05 israpps

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.

israpps avatar May 29 '24 17:05 israpps

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.

F0bes avatar May 29 '24 17:05 F0bes

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 avatar May 29 '24 17:05 israpps

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 :)

F0bes avatar Jun 01 '24 17:06 F0bes

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.

israpps avatar Jun 02 '24 16:06 israpps