mirror of
https://github.com/sanni/cartreader.git
synced 2024-12-26 21:11:54 +01:00
V2.7: Fix flashing 29F032 Snes repro
This commit is contained in:
parent
4d1d9648c9
commit
7f74f22ce7
@ -2,8 +2,8 @@
|
|||||||
Cartridge Reader for Arduino Mega2560
|
Cartridge Reader for Arduino Mega2560
|
||||||
|
|
||||||
Author: sanni
|
Author: sanni
|
||||||
Date: 18-01-2019
|
Date: 31-01-2019
|
||||||
Version: 2.6
|
Version: 2.7
|
||||||
|
|
||||||
SD lib: https://github.com/greiman/SdFat
|
SD lib: https://github.com/greiman/SdFat
|
||||||
LCD lib: https://github.com/adafruit/Adafruit_SSD1306
|
LCD lib: https://github.com/adafruit/Adafruit_SSD1306
|
||||||
@ -37,7 +37,7 @@
|
|||||||
vogelfreiheit - N64 flashram fix
|
vogelfreiheit - N64 flashram fix
|
||||||
|
|
||||||
**********************************************************************************/
|
**********************************************************************************/
|
||||||
char ver[5] = "2.6";
|
char ver[5] = "2.7";
|
||||||
|
|
||||||
/******************************************
|
/******************************************
|
||||||
Define Starting Point
|
Define Starting Point
|
||||||
|
@ -894,8 +894,8 @@ void busyCheck29F032(byte c) {
|
|||||||
// Set data pins to input
|
// Set data pins to input
|
||||||
dataIn8();
|
dataIn8();
|
||||||
|
|
||||||
// Setting OE(PH1) CE(PH6)LOW
|
// Setting OE(PH1) OE_SNS(PH3) CE(PH6)LOW
|
||||||
PORTH &= ~((1 << 1) | (1 << 6));
|
PORTH &= ~((1 << 1) | (1 << 3) | (1 << 6));
|
||||||
// Setting WE(PH4) WE_SNES(PH5) HIGH
|
// Setting WE(PH4) WE_SNES(PH5) HIGH
|
||||||
PORTH |= (1 << 4) | (1 << 5);
|
PORTH |= (1 << 4) | (1 << 5);
|
||||||
|
|
||||||
@ -905,8 +905,8 @@ void busyCheck29F032(byte c) {
|
|||||||
// Set data pins to output
|
// Set data pins to output
|
||||||
dataOut();
|
dataOut();
|
||||||
|
|
||||||
// Setting OE(PH1) HIGH
|
// Setting OE(PH1) OE_SNS(PH3) HIGH
|
||||||
PORTH |= (1 << 1);
|
PORTH |= (1 << 1) | (1 << 3);
|
||||||
}
|
}
|
||||||
/******************************************
|
/******************************************
|
||||||
29F1610 flashrom functions
|
29F1610 flashrom functions
|
||||||
|
Loading…
Reference in New Issue
Block a user