Hmm, as someone who has little experience with Arduino, is that safe to do?
No worries, I'll try to reproduce the error, I got an old spare cart reader I can risk. But normally nothing bad should happen.
Any idea?
Can you make a picture of the repro? What flashrom does it use? If it's a 29F032 then it might the busyCheck29F032 function since I didn't add the SNES OE/Cart pin there.
void busyCheck29F032(byte c) {
// Set data pins to input
dataIn8();
// Setting OE(PH1) OE_SNS(PH3) CE(PH6)LOW
PORTH &= ~((1 << 1) | (1 << 3) | (1 << 6));
// Setting WE(PH4) WE_SNES(PH5) HIGH
PORTH |= (1 << 4) | (1 << 5);
//When the Embedded Program algorithm is complete, the device outputs the datum programmed to D7
while ((PINC & 0x80) != (c & 0x80)) {}
// Set data pins to output
dataOut();
// Setting OE(PH1) OE_SNS(PH3) HIGH
PORTH |= (1 << 1) | (1 << 3);
}