Skip to content

Commit

Permalink
SNES: Add Game Processor RAM Cassette Read/Write support
Browse files Browse the repository at this point in the history
  • Loading branch information
LuigiBlood committed Feb 9, 2024
1 parent e4e4c7f commit 182f93e
Show file tree
Hide file tree
Showing 4 changed files with 460 additions and 11 deletions.
6 changes: 6 additions & 0 deletions Cart_Reader/Cart_Reader.ino
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ void print_STR(byte string_number, boolean newline) {
#define mode_7800 38
#define mode_VECTREX 39
#define mode_ST 40
#define mode_GPC 41

// optimization-safe nop delay
#define NOP __asm__ __volatile__("nop\n\t")
Expand Down Expand Up @@ -3598,6 +3599,11 @@ void loop() {
stMenu();
}
#endif
#ifdef enable_GPC
else if (mode == mode_GPC) {
gpcMenu();
}
#endif
#ifdef enable_NES
else if (mode == mode_NES) {
nesMenu();
Expand Down
7 changes: 7 additions & 0 deletions Cart_Reader/Config.h
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,13 @@

/****/

/* [ Super Famicom Game Processor RAM Cassette -------------------- ]
*/

//#define enable_GPC

/****/

/* [ Super Nintendo ----------------------------------------------- ]
*/

Expand Down
Loading

0 comments on commit 182f93e

Please sign in to comment.