#ifndef GENS_MISC_H
#define GENS_MISC_H

#ifdef __cplusplus
extern "C" {
#endif

#define EMU_MODE 0x01
#define BLANC    0x00
#define BLEU     0x02
#define VERT     0x04
#define ROUGE    0x06
#define TRANS    0x08
#define SIZE_X2  0x10

extern int Have_MMX;
extern int MMX_Enable;

void Identify_CPU(void);
void Print_Text(const char *str, int Size, int Pos_X, int Pos_Y, int Style);

void Cell_8x8_Dump(unsigned char *Adr, int Palette);
void Cell_16x16_Dump(unsigned char *Adr, int Palette);
void Cell_32x32_Dump(unsigned char *Adr, int Palette);

void CDD_Export_Status(void);

#ifdef __cplusplus
}
#endif

#endif /* GENS_MISC_H */
