From 72a1a6d7c8afd6f18c46e3c56f70598fb510f6d3 Mon Sep 17 00:00:00 2001 From: sanni Date: Sat, 21 Apr 2018 14:23:13 +0200 Subject: [PATCH] V33A: Accidentally left 27C322 eprom menu enabled Eprom programming is still highly experimental and does not work 100% yet. --- Cart_Reader/Cart_Reader.ino | 8 ++++---- Cart_Reader/FLASH.ino | 6 +++--- Cart_Reader/MD.ino | 6 +++++- Cart_Reader/PCE.ino | 2 +- 4 files changed, 13 insertions(+), 9 deletions(-) diff --git a/Cart_Reader/Cart_Reader.ino b/Cart_Reader/Cart_Reader.ino index 1a6b642..ccc9d32 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: 04-18-2018 - Version: V33 + Date: 04-21-2018 + Version: V33A SD lib: https://github.com/greiman/SdFat LCD lib: https://github.com/adafruit/Adafruit_SSD1306 @@ -35,12 +35,12 @@ infinest - help with GB Memory cart **********************************************************************************/ -char ver[5] = "V33"; +char ver[5] = "V33A"; /****************************************** Define Starting Point ******************************************/ -// mainMenu, n64Menu, snsMenu, gbxMenu, segaMenu, flashMenu +// mainMenu, n64Menu, snsMenu, gbxMenu, segaMenu, flashMenu, pceMenu #define startMenu mainMenu /****************************************** diff --git a/Cart_Reader/FLASH.ino b/Cart_Reader/FLASH.ino index 1436069..529fb4d 100644 --- a/Cart_Reader/FLASH.ino +++ b/Cart_Reader/FLASH.ino @@ -49,11 +49,11 @@ static const char epromMenuItem4[] PROGMEM = "Reset"; static const char* const menuOptionsEprom[] PROGMEM = {epromMenuItem1, epromMenuItem2, epromMenuItem3, epromMenuItem4}; void flashMenu() { - // create menu with title and 3 options to choose from + // create menu with title and 2 options to choose from unsigned char flashSlot; // Copy menuOptions out of progmem - convertPgm(menuOptionsFlash, 3); - flashSlot = question_box("Select flashrom slot", menuOptions, 3, 0); + convertPgm(menuOptionsFlash, 2); + flashSlot = question_box("Select flashrom slot", menuOptions, 2, 0); // wait for user choice to come back from the question box menu switch (flashSlot) diff --git a/Cart_Reader/MD.ino b/Cart_Reader/MD.ino index 9c84b65..22ad759 100644 --- a/Cart_Reader/MD.ino +++ b/Cart_Reader/MD.ino @@ -492,4 +492,8 @@ unsigned long verifySram_MD() { } // Return 0 if verified ok, or number of errors return writeErrors; -} +} + +//****************************************** +// End of File +//****************************************** diff --git a/Cart_Reader/PCE.ino b/Cart_Reader/PCE.ino index 883b7c0..927195d 100644 --- a/Cart_Reader/PCE.ino +++ b/Cart_Reader/PCE.ino @@ -707,4 +707,4 @@ void pceMenu() { //****************************************** // End of File //****************************************** - +