2021-10-24 00:41:18 +02:00
|
|
|
//******************************************
|
2022-01-13 17:07:58 +01:00
|
|
|
// !!! CHOOSE HARDWARE VERSION !!!
|
2021-10-24 00:41:18 +02:00
|
|
|
//******************************************
|
2022-01-13 17:07:58 +01:00
|
|
|
// Remove // in front of the line with your hardware version
|
2022-06-12 13:16:03 +02:00
|
|
|
// #define HW5
|
|
|
|
// #define HW4
|
|
|
|
// #define HW3
|
|
|
|
// #define HW2
|
|
|
|
// #define HW1
|
|
|
|
// #define SERIAL_MONITOR
|
2022-01-13 17:28:55 +01:00
|
|
|
|
2022-06-09 00:35:11 +02:00
|
|
|
#if !(defined(HW1) || defined(HW2) || defined(HW3) || defined(HW4) || defined(HW5) || defined(SERIAL_MONITOR))
|
2022-01-13 17:28:55 +01:00
|
|
|
# error !!! PLEASE CHOOSE HARDWARE VERSION IN OPTIONS.H !!!
|
|
|
|
#endif
|
2022-01-13 17:07:58 +01:00
|
|
|
//******************************************
|
2022-01-13 17:28:55 +01:00
|
|
|
//
|
2022-01-13 17:07:58 +01:00
|
|
|
//******************************************
|
|
|
|
|
2022-01-13 17:22:16 +01:00
|
|
|
//******************************************
|
|
|
|
// Hardware Configurations
|
|
|
|
//******************************************
|
2022-06-05 15:49:45 +02:00
|
|
|
#if (defined(HW4) || defined(HW5))
|
2021-10-24 00:41:18 +02:00
|
|
|
#define enable_LCD
|
|
|
|
#define enable_neopixel
|
2022-06-09 00:35:11 +02:00
|
|
|
#define background_color 100,0,0 //Green, Red, Blue
|
2021-10-24 00:41:18 +02:00
|
|
|
#define enable_rotary
|
2022-06-12 13:16:03 +02:00
|
|
|
// #define rotate_counter_clockwise
|
2021-11-13 12:06:42 +01:00
|
|
|
#define clockgen_installed
|
|
|
|
#define fastcrc
|
2022-02-26 15:00:31 +01:00
|
|
|
#define ws_adapter_v2
|
2021-10-24 00:41:18 +02:00
|
|
|
#endif
|
|
|
|
|
2021-11-17 21:31:18 +01:00
|
|
|
#if (defined(HW2) || defined(HW3))
|
2021-10-24 00:41:18 +02:00
|
|
|
#define enable_OLED
|
|
|
|
#define enable_Button2
|
2022-06-12 13:16:03 +02:00
|
|
|
// #define clockgen_installed
|
|
|
|
// #define fastcrc
|
2021-10-24 00:41:18 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(HW1)
|
|
|
|
#define enable_OLED
|
|
|
|
#endif
|
|
|
|
|
2021-10-25 18:03:16 +02:00
|
|
|
#if defined(SERIAL_MONITOR)
|
2021-10-24 00:41:18 +02:00
|
|
|
#define enable_serial
|
|
|
|
#endif
|
|
|
|
|
2021-06-09 11:28:39 +02:00
|
|
|
//******************************************
|
2021-08-03 10:16:12 +02:00
|
|
|
// GLOBAL OPTIONS
|
2021-06-09 11:28:39 +02:00
|
|
|
//******************************************
|
2020-07-04 15:37:02 +02:00
|
|
|
// Change mainMenu to snsMenu, mdMenu, n64Menu, gbxMenu, pcsMenu,
|
|
|
|
// flashMenu, nesMenu or smsMenu for single slot Cart Readers
|
|
|
|
#define startMenu mainMenu
|
|
|
|
|
2022-06-12 13:16:03 +02:00
|
|
|
// Ignores errors that normally force a reset if button 2 is pressed
|
|
|
|
// #define debug_mode
|
2022-02-23 15:08:25 +01:00
|
|
|
|
2021-10-14 09:53:07 +02:00
|
|
|
// Setup RTC if installed.
|
|
|
|
// remove // if you have an RTC installed
|
|
|
|
// #define RTC_installed
|
|
|
|
|
|
|
|
// Use calibration data from snes_clk.txt
|
|
|
|
// #define clockgen_calibration
|
|
|
|
|
2022-06-14 15:25:53 +02:00
|
|
|
// Write all info to OSCR_LOG.txt in root dir
|
2022-06-12 13:16:03 +02:00
|
|
|
// #define global_log
|
2022-06-12 12:30:52 +02:00
|
|
|
|
|
|
|
// Use Adafruit Clock Generator
|
|
|
|
// #define clockgen_installed
|
|
|
|
|
2021-08-03 10:16:12 +02:00
|
|
|
//******************************************
|
2022-06-16 15:49:57 +02:00
|
|
|
// GB, SMS database options
|
2021-10-26 12:38:29 +02:00
|
|
|
//******************************************
|
2022-06-12 12:30:52 +02:00
|
|
|
// Renames ROM if found in database (slow)
|
2022-06-12 13:16:03 +02:00
|
|
|
// #define no-intro
|
2021-10-26 12:38:29 +02:00
|
|
|
|
2022-06-12 12:30:52 +02:00
|
|
|
//******************************************
|
|
|
|
// N64 OPTIONS
|
|
|
|
//******************************************
|
2021-10-26 12:38:29 +02:00
|
|
|
// 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
|
2021-08-03 10:16:12 +02:00
|
|
|
//******************************************
|
|
|
|
// add // before #define to disable a module
|
2021-11-17 21:31:18 +01:00
|
|
|
#define enable_SNES
|
|
|
|
#define enable_NP
|
|
|
|
#define enable_SV
|
|
|
|
|
2020-07-04 15:37:02 +02:00
|
|
|
#define enable_MD
|
2021-11-17 21:31:18 +01:00
|
|
|
#define enable_SMS
|
|
|
|
|
2020-10-28 18:44:13 +01:00
|
|
|
#define enable_N64
|
2021-11-17 21:31:18 +01:00
|
|
|
#define enable_GBX
|
2020-07-04 15:37:02 +02:00
|
|
|
#define enable_NES
|
2021-11-17 21:31:18 +01:00
|
|
|
#define enable_FLASH
|
2020-10-28 18:44:13 +01:00
|
|
|
#define enable_PCE
|
2020-07-04 15:37:02 +02:00
|
|
|
#define enable_WS
|
2021-11-17 21:31:18 +01:00
|
|
|
#define enable_NGP
|