X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fuiq3%2Fport_config.h;fp=platform%2Fuiq3%2Fport_config.h;h=0478ce4ba106062f46971894f1d200fd4710b080;hb=cc68a136aa179a5f32fe40208371eb9c2b0aadae;hp=0000000000000000000000000000000000000000;hpb=2cadbd5e56966f8b7a4e9790aba2f719cfcc38e8;p=picodrive.git diff --git a/platform/uiq3/port_config.h b/platform/uiq3/port_config.h new file mode 100644 index 0000000..0478ce4 --- /dev/null +++ b/platform/uiq3/port_config.h @@ -0,0 +1,25 @@ +// port specific settings + +#ifndef PORT_CONFIG_H +#define PORT_CONFIG_H + +#define CPU_CALL + +// draw2.c +#define START_ROW 0 // which row of tiles to start rendering at? +#define END_ROW 28 // ..end + +// pico.c +#define CAN_HANDLE_240_LINES 0 // fow now + +//#define dprintf(f,...) printf(f"\n",##__VA_ARGS__) +#ifdef __DEBUG_PRINT +#ifdef __cplusplus +extern "C" +#endif +void dprintf(char *format, ...); +#else +#define dprintf(x...) +#endif + +#endif //PORT_CONFIG_H