X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fuiq3%2Fport_config.h;h=60128c17e0f7c7a37614e7276660e4173caaf9cf;hb=c6c6c9cde2d6ea12e8e38b75da02f8b0bb162766;hp=0478ce4ba106062f46971894f1d200fd4710b080;hpb=cc68a136aa179a5f32fe40208371eb9c2b0aadae;p=picodrive.git diff --git a/platform/uiq3/port_config.h b/platform/uiq3/port_config.h index 0478ce4..60128c1 100644 --- a/platform/uiq3/port_config.h +++ b/platform/uiq3/port_config.h @@ -3,23 +3,36 @@ #ifndef PORT_CONFIG_H #define PORT_CONFIG_H -#define CPU_CALL +#define CASE_SENSITIVE_FS 0 +#define DONT_OPEN_MANY_FILES 0 +#define REDUCE_IO_CALLS 0 +#define SIMPLE_WRITE_SOUND 0 + +// draw.c +#define OVERRIDE_HIGHCOL 0 // 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 CAN_HANDLE_240_LINES 0 // for now + +// logging emu events +#define EL_LOGMASK (EL_STATUS) // |EL_SVP|EL_ANOMALY) + +//extern void dprintf(char *format, ...); +//#define dprintf(f,...) printf("%05i:%03i: " f "\n",Pico.m.frame_count,Pico.m.scanline,##__VA_ARGS__) #define dprintf(x...) -#endif -#endif //PORT_CONFIG_H +// platform +#define PLAT_MAX_KEYS (256+19) +#define PLAT_HAVE_JOY 0 +#define PATH_SEP "\\" +#define PATH_SEP_C '\\' +#define MENU_X2 0 + +// engine/vid.cpp, also update BORDER_R in port_config.s +#define VID_BORDER_R 16 + +#endif // PORT_CONFIG_H