diff --git a/Cart_Reader/Cart_Reader.ino b/Cart_Reader/Cart_Reader.ino index ea96a5f..c47d431 100644 --- a/Cart_Reader/Cart_Reader.ino +++ b/Cart_Reader/Cart_Reader.ino @@ -2,8 +2,8 @@ Cartridge Reader for Arduino Mega2560 Author: sanni - Date: 17.12.2019 - Version: 4.3 + Date: 21.12.2019 + Version: 4.4 SD lib: https://github.com/greiman/SdFat LCD lib: https://github.com/adafruit/Adafruit_SSD1306 @@ -43,7 +43,7 @@ **********************************************************************************/ #include -char ver[5] = "4.3"; +char ver[5] = "4.4"; /****************************************** Options diff --git a/Cart_Reader/GBA.ino b/Cart_Reader/GBA.ino index e7d8866..370df60 100644 --- a/Cart_Reader/GBA.ino +++ b/Cart_Reader/GBA.ino @@ -2485,6 +2485,9 @@ void flashRepro_GBA() { else if ((romType == 0x89)) { println_Msg(F("Intel PC28F256M29")); } + else if ((romType == 0x20)) { + println_Msg(F("ST M29W128GH")); + } else { print_Msg(F("romType: 0x")); println_Msg(romType, HEX); @@ -2547,7 +2550,7 @@ void flashRepro_GBA() { //else { println_Msg(F("Erasing...")); display_Update(); - if ((romType == 0xC2) || (romType == 0x89)) { + if ((romType == 0xC2) || (romType == 0x89) || (romType == 0x20)) { //MX29GL128E //PC28F256M29 (0x89) sectorEraseMX29GL128E_GBA(); @@ -2573,7 +2576,7 @@ void flashRepro_GBA() { writeIntel4000_GBA(); } else if (strcmp(flashid, "227E") == 0) { - if ((romType == 0xC2) || (romType == 0x89)) { + if ((romType == 0xC2) || (romType == 0x89) || (romType == 0x20)) { //MX29GL128E (0xC2) //PC28F256M29 (0x89) writeMX29GL128E_GBA(); diff --git a/README.md b/README.md index e5b3a9a..76d6f3f 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ Be sure to check the guides in the [Wiki](https://github.com/sanni/cartreader/wi - Programs custom-made Game Boy (Color) flashcarts with AM29F016, AM29F032, MBM29F033 flashrom - Programs EMS GB Smart 32M flash carts - Reads Game Boy Advance roms and reads/writes most of the save games(4K Eeprom, 64K Eeprom, Sram/Fram, SST39VF512 512K flash + MX29L010 1M flash) -- Reflashes some Chinese GBA repros with i4000L0YBQ0, i4400L0ZDQ0, MX29GL128E, MSP55LV128 or PC28F256M29 flashroms +- Reflashes some Chinese GBA repros with i4000L0YBQ0, i4400L0ZDQ0, MX29GL128E, MSP55LV128, PC28F256M29 or M29W128GH flashroms - Reads Sega Mega Drive roms and reads/writes save games(Sram/Fram, Eeprom) - Reads Sega Master System roms (only default mapper and no SRAM supported so far) - Reads PC engine/TG16 cartridges (compatible to Retrode 2 TG16 plugin adapter)