6 #include "../lib/grey.h"
13 #if LCD_HEIGHT >= ZX_HEIGHT && LCD_WIDTH >= ZX_WIDTH
14 #define WIDTH LCD_WIDTH
15 #define HEIGHT LCD_HEIGHT
21 #define WIDTH 320 /* 256 */
22 #define HEIGHT 200 /* 192 */
23 #define X_OFF ( (WIDTH - ZX_WIDTH)/2)
24 #define Y_OFF ( (HEIGHT - ZX_HEIGHT)/2)
25 /* calculate distance (in source) between pixels*/
26 #define X_STEP ((ZX_WIDTH<<16) / LCD_WIDTH)
27 #define Y_STEP ((ZX_HEIGHT<<16) / LCD_HEIGHT)
30 extern unsigned char image_array
[ HEIGHT
* WIDTH
];
32 #endif /* ZXVIDCOMMON_H */