mirror of
https://github.com/sanni/cartreader.git
synced 2024-11-23 21:19:16 +01:00
V4.4: Add ST M29W128GH GBA repro
Thanks to xybots for testing
This commit is contained in:
parent
e4cab438ca
commit
4a1b441ae5
@ -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 <SdFat.h>
|
||||
|
||||
char ver[5] = "4.3";
|
||||
char ver[5] = "4.4";
|
||||
|
||||
/******************************************
|
||||
Options
|
||||
|
@ -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();
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user