mirror of
https://github.com/sanni/cartreader.git
synced 2024-11-14 00:45:07 +01:00
76 lines
1.9 KiB
C
76 lines
1.9 KiB
C
//******************************************
|
|
// CHOOSE HARDWARE VERSION
|
|
//******************************************
|
|
#define HW4
|
|
//#define HW3
|
|
//#define HW2
|
|
//#define HW1
|
|
//#define SERIAL_MONITOR
|
|
|
|
#if defined(HW4)
|
|
#define enable_LCD
|
|
#define enable_neopixel
|
|
#define enable_rotary
|
|
#define clockgen_installed
|
|
#define fastcrc
|
|
#endif
|
|
|
|
#if (defined(HW2) || defined(HW3))
|
|
#define enable_OLED
|
|
#define enable_Button2
|
|
#endif
|
|
|
|
#if defined(HW1)
|
|
#define enable_OLED
|
|
#endif
|
|
|
|
#if defined(SERIAL_MONITOR)
|
|
#define enable_serial
|
|
#endif
|
|
|
|
//******************************************
|
|
// GLOBAL OPTIONS
|
|
//******************************************
|
|
// Change mainMenu to snsMenu, mdMenu, n64Menu, gbxMenu, pcsMenu,
|
|
// flashMenu, nesMenu or smsMenu for single slot Cart Readers
|
|
#define startMenu mainMenu
|
|
|
|
// Setup RTC if installed.
|
|
// remove // if you have an RTC installed
|
|
// #define RTC_installed
|
|
|
|
// Use calibration data from snes_clk.txt
|
|
// #define clockgen_calibration
|
|
|
|
//******************************************
|
|
// N64 OPTIONS
|
|
//******************************************
|
|
// Read N64 Eeprom with Adadruit clockgen, CLK1 switch needs to be switch to ON
|
|
// add // and disable CLK1 switch if you don't have the clockgen installed or if you want to read a repros save
|
|
// #define clockgen_installed
|
|
|
|
// The CRC for N64 Roms will be calculated during dumping from memory instead of after dumping from SD card, not compatible to all Cart Readers
|
|
// #define fastcrc
|
|
|
|
// saves a n64log.txt file with rom info in /N64/ROM
|
|
// #define savesummarytotxt
|
|
|
|
//******************************************
|
|
// DISABLE MODULES
|
|
//******************************************
|
|
// add // before #define to disable a module
|
|
#define enable_SNES
|
|
#define enable_NP
|
|
#define enable_SV
|
|
|
|
#define enable_MD
|
|
#define enable_SMS
|
|
|
|
#define enable_N64
|
|
#define enable_GBX
|
|
#define enable_NES
|
|
#define enable_FLASH
|
|
#define enable_PCE
|
|
#define enable_WS
|
|
#define enable_NGP
|