meesokim / msxslot

MSX slot interface for Raspberry Pi
13 stars 3 forks source link

msxslot with konami8 megarom mapper >=128k #1

Open psxdev opened 5 years ago

psxdev commented 5 years ago

Hello i am trying to test your msxslot with your last rpmc. I got valid dump for real cartridge from sony and konami all 16k for example:

billiard konami tennins othello

But did you get konami4 and konami5 mapper with megarom like vampire killer rc-744 ? I dont get a valid dump .

Which resistor values are you using in rpmc8?

Regards

psxdev commented 5 years ago

finally i figured out how to dump vampire killer :) so it should be fine for konami4 until 256kb

Do you know how figure out size of the rom? I can autodetect mapper but how to choose the right size? For konami games i can detect with the rc code and get the size previously known but for non konami games do you know a system to do it?

  if (pagetest)
  {

      pagetest:
      slot = 1;
//    while(1)
    int k=0;
        fp = fopen("myrom.rom", "wb");
    for(k=0;k<=5;k++) //test pages before after 4 times dump the whole rom per page
    {
      for(i = 0; i < 16; i++)
      {
         msxwrite(slot, 0x6000, i);
#if 1
         printf("slot%d/page%02d:", slot, i);
         for(j = 0; j < 16; j++)
         {
            printf("%02x ", msxread(slot, 0x6000+j));

         }
         printf("\n");
         if(k==5)
        {   
            for(j=0;j<8192;j++)
            {
                byte=msxread(slot,0x6000+j);
                if(fp)
                fwrite(&byte,1,1,fp);   
            }   
        }
#endif
      }
    }
meesokim commented 5 years ago

Sorry for late response. I can not figure out how to get right rom size. But each mapping address should be limit. So you can examine all the address page you reach and it can be identified real rom data or gabage. And this msxslot is only for test. If you can use BlueberryMSX in my repositories, it runs in realtime. You don't need to identify actual rom size.

To run wih RPMC v9 board, bluemsx-pi /romtype1 msxbus /romtype2 msxbus.

psxdev commented 5 years ago

Thanks, which resistor values are you using in RPMC v9?