summaryrefslogtreecommitdiff
path: root/apps/plugins/zxbox/zxconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/zxbox/zxconfig.h')
-rw-r--r--apps/plugins/zxbox/zxconfig.h61
1 files changed, 61 insertions, 0 deletions
diff --git a/apps/plugins/zxbox/zxconfig.h b/apps/plugins/zxbox/zxconfig.h
new file mode 100644
index 0000000000..e28dc5d6b7
--- /dev/null
+++ b/apps/plugins/zxbox/zxconfig.h
@@ -0,0 +1,61 @@
1#ifndef ZXCONFIG_H
2#define ZXCONFIG_H
3
4#include <plugin.h>
5extern int load_tap;
6extern bool clear_kbd;
7extern bool exit_requested;
8extern struct plugin_api* rb;
9extern void press_key(int c);
10extern long video_frames;
11extern long start_time;
12extern int intkeys[5];
13
14#define ZX_WIDTH 256
15#define ZX_HEIGHT 192
16
17#define SETTINGS_MIN_VERSION 2
18#define SETTINGS_VERSION 2
19
20/* undef not to use grayscale lib */
21#if !defined HAVE_LCD_COLOR && LCD_PIXELFORMAT != HORIZONTAL_PACKING
22#define USE_GRAY
23#define USE_BUFFERED_GRAY
24#endif
25
26
27#define Z80C
28#define MULTIUSER 0
29#define DATADIR "."
30
31/* Always define this for the spectrum emulator. */
32#define SPECT_MEM 1
33
34/* Define if sound driver is available. */
35#if CONFIG_CODEC == SWCODEC && !defined SIMULATOR
36#define HAVE_SOUND
37#endif
38
39/* Define this to use the inline intel assembly sections */
40#undef I386_ASM
41
42/* Define this to use an alternative way of passing the z80 processor
43 data to the z80 instruction emulation functions. May make emulation
44 faster on some machines, but not on intel, and sparc. */
45#undef PROCP /* seems not to have effect on arm targets */
46/* #define PROCP */
47
48/* Define to empty if the keyword does not work. */
49/* #undef const */
50
51/* Define to `unsigned' if <sys/types.h> doesn't define. */
52/* #undef size_t */
53
54/* Define if you have the ANSI C header files. */
55#define STDC_HEADERS 1
56
57/* Define if your processor stores words with the most significant
58 byte first (like Motorola and SPARC, unlike Intel and VAX). */
59/* #undef WORDS_BIGENDIAN */
60
61#endif