Skip to content

Commit

Permalink
Enable Internal Pull-ups for MD
Browse files Browse the repository at this point in the history
  • Loading branch information
sanni committed Aug 2, 2024
1 parent b8f0eeb commit bf90513
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cart_Reader/Cart_Reader.ino
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
This project represents a community-driven effort to provide
an easy to build and easy to modify cartridge dumper.
Date: 2024-07-08
Version: 14.0
Date: 2024-08-02
Version: 14.1
SD lib: https://github.com/greiman/SdFat
LCD lib: https://github.com/olikraus/u8g2
Expand Down
3 changes: 3 additions & 0 deletions Cart_Reader/MD.ino
Original file line number Diff line number Diff line change
Expand Up @@ -697,6 +697,9 @@ void dataOut_MD() {
void dataIn_MD() {
DDRC = 0x00;
DDRA = 0x00;
// Enable Internal Pullups (needed for games like Batman Forever that are open bus with random bytes on the last 1MB, so we get a clean 0xFF padding)
PORTC = 0xFF;
PORTA = 0xFF;
}

/******************************************
Expand Down
2 changes: 1 addition & 1 deletion Cart_Reader/OSCR.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
* String Constants
**/
// Firmware Version
constexpr char PROGMEM FSTRING_VERSION[] = "V14.0";
constexpr char PROGMEM FSTRING_VERSION[] = "V14.1";

// Universal
constexpr char PROGMEM FSTRING_RESET[] = "Reset";
Expand Down

0 comments on commit bf90513

Please sign in to comment.