ROM-Reader for Super Nintendo / Super Famicom Game Cartridges

0x01 means AMD, 0x04 means Fujitsu. According to the datasheet both manufactured AM29F016D chips, so the 0x04AD ID makes sense. They should behave identically to the AMD chips.

So in flash.ino below the AMD and ST entrys:

  else if (strcmp(flashid, "01AD") == 0) {
    println_Msg(F("AM29F016B detected"));
    flashSize = 2097152;
    flashromType = 1;
  }
  else if (strcmp(flashid, "20AD") == 0) {
    println_Msg(F("AM29F016D detected"));
    flashSize = 2097152;
    flashromType = 1;
  }

Add a third entry for Fujitsu:

  else if (strcmp(flashid, "04AD") == 0) {
    println_Msg(F("AM29F016D detected"));
    flashSize = 2097152;
    flashromType = 1;
  }

.

Then in GB.ino below:

    else if (strcmp(flashid, "01AD") == 0) {
      println_Msg(F("AM29F016B"));
      print_Msg(F("Banks: "));
      print_Msg(romBanks);
      println_Msg(F("/128"));
      display_Update();
    }

Add:

    else if (strcmp(flashid, "04AD") == 0) {
      println_Msg(F("AM29F016D"));
      print_Msg(F("Banks: "));
      print_Msg(romBanks);
      println_Msg(F("/128"));
      display_Update();
    }

Then test if flashing works, if yes I'll add it to github. :slight_smile: