Apple1-esp/config.h

32 lines
492 B
C
Raw Normal View History

2014-11-11 17:13:25 +00:00
#ifndef _CONFIG_H
#define _CONFIG_H
2018-11-16 10:26:53 +00:00
#if defined(USE_SPIRAM)
2014-11-16 21:46:39 +00:00
#define RAM_SIZE 0x3000
#define SPIRAM_BASE 0x3000
2014-11-24 19:32:07 +00:00
#define SPIRAM_EXTENT (20 * 1024 / 256)
2018-11-12 22:15:49 +00:00
#else
#define RAM_SIZE 0x8000
#endif
2014-11-14 12:27:56 +00:00
2014-11-11 17:13:25 +00:00
#define CPU_INSTRUCTIONS 1000
2018-11-12 07:47:06 +00:00
#define TFT_FG GREEN
#define TFT_BG BLACK
2018-11-16 10:49:08 +00:00
2018-11-18 12:48:10 +00:00
#if defined(USE_UTFT)
#define TFT_ORIENT landscape
#elif defined(USE_ESPI)
#define TFT_ORIENT reverse_landscape
#endif
2018-11-16 10:49:08 +00:00
#if defined(USE_SD)
2014-11-14 11:45:28 +00:00
#define PROGRAMS "/apple1/"
2018-11-16 10:49:08 +00:00
#else
#define PROGRAMS "/"
#endif
2014-11-11 17:13:25 +00:00
2018-11-12 07:47:06 +00:00
#define KRUSADER
2014-11-11 17:13:25 +00:00
#endif