V33A: Accidentally left 27C322 eprom menu enabled

Eprom programming is still highly experimental and does not work 100% yet.
This commit is contained in:
sanni 2018-04-21 14:23:13 +02:00 committed by GitHub
parent 1735175679
commit 72a1a6d7c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 9 deletions

View File

@ -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
/******************************************

View File

@ -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)

View File

@ -492,4 +492,8 @@ unsigned long verifySram_MD() {
}
// Return 0 if verified ok, or number of errors
return writeErrors;
}
}
//******************************************
// End of File
//******************************************

View File

@ -707,4 +707,4 @@ void pceMenu() {
//******************************************
// End of File
//******************************************