Build doom on clipv2 and clip+
[kugel-rb.git] / apps / plugins / zxbox / zxconfig.h
blob590da99f15aaa8819f0d75015b62f6daa9f97e5f
1 #ifndef ZXCONFIG_H
2 #define ZXCONFIG_H
4 #include <plugin.h>
5 extern int load_tap;
6 extern bool clear_kbd;
7 extern bool exit_requested;
8 extern void press_key(int c);
9 extern long video_frames;
10 extern long start_time;
11 extern int intkeys[5];
13 #define ZX_WIDTH 256
14 #define ZX_HEIGHT 192
16 #define SETTINGS_MIN_VERSION 2
17 #define SETTINGS_VERSION 2
19 /* undef not to use greyscale lib */
20 #if !defined HAVE_LCD_COLOR
21 #define USE_GREY
22 #define USE_BUFFERED_GREY
23 #endif
26 #define Z80C
28 /* Always define this for the spectrum emulator. */
29 #define SPECT_MEM 1
31 /* Define if sound driver is available. */
32 #if CONFIG_CODEC == SWCODEC && !defined SIMULATOR
33 #define HAVE_SOUND
34 #endif
36 /* Define this to use the inline intel assembly sections */
37 #undef I386_ASM
39 /* Define this to use an alternative way of passing the z80 processor
40 data to the z80 instruction emulation functions. May make emulation
41 faster on some machines, but not on intel, and sparc. */
42 /* seems not to have effect on arm targets */
43 #undef PROCP
44 /*#define PROCP*/
46 /* Define if you have the ANSI C header files. */
47 #define STDC_HEADERS 1
49 #endif