mirror of
https://github.com/jscrane/r65emu.git
synced 2024-09-01 00:29:03 +00:00
39 lines
783 B
C
39 lines
783 B
C
|
#define RAM_SIZE 0x10000u
|
||
|
|
||
|
// TFT display...
|
||
|
#define USE_ESPI
|
||
|
// must be configured in uC-Makefile, or platformio, or TFT_eSPI's User_Setup.h
|
||
|
//#define USER_SETUP_LOADED
|
||
|
//#define ILI9341_DRIVER
|
||
|
//#define TFT_CS 5
|
||
|
//#define TFT_DC 2
|
||
|
//#define TFT_MOSI 23
|
||
|
//#define TFT_MISO -1
|
||
|
//#define TFT_SCLK 18
|
||
|
//#define TFT_RST -1
|
||
|
//#define SPI_FREQUENCY 40000000
|
||
|
//#define LOAD_GLCD
|
||
|
|
||
|
// use alternative TFT display library...
|
||
|
//#define USE_UTFT
|
||
|
//#undef TFT_BACKLIGHT
|
||
|
//#define TFT_MODEL ILI9325C
|
||
|
//#define TFT_RS 32
|
||
|
//#define TFT_WR 33
|
||
|
//#define TFT_CS 27
|
||
|
//#define TFT_RST 26
|
||
|
|
||
|
// PS/2 keyboard
|
||
|
#define USE_KBD
|
||
|
#define KBD_DATA 34
|
||
|
#define KBD_IRQ 35
|
||
|
|
||
|
// "tape" storage...
|
||
|
#undef USE_SD
|
||
|
#undef USE_FS
|
||
|
#define USE_SPIFFS
|
||
|
|
||
|
// sound: dac and pwm
|
||
|
#define DAC_SOUND 25
|
||
|
#define PWM_SOUND 25
|