--- hatari/src/includes/spec512.h 2019/04/01 07:09:16 1.1 +++ hatari/src/includes/spec512.h 2019/04/01 07:09:26 1.1.1.2 @@ -2,13 +2,13 @@ Hatari */ -#define MAX_CYCLEPALETTES_PERLINE (512/4) // As 68000 clock multiple of 4 this mean we can only write to the palette this many time per scanline +#define MAX_CYCLEPALETTES_PERLINE (512/4) /* As 68000 clock multiple of 4 this mean we can only write to the palette this many time per scanline */ -// Store writes to palette by cycles per scan line, colour and index in ST +/* Store writes to palette by cycles per scan line, colour and index in ST */ typedef struct { - int LineCycles; // Number of cycles into line(MUST be div by 4) - unsigned short int Colour; // ST Colour value - unsigned short int Index; // Index into ST palette (0...15) + int LineCycles; /* Number of cycles into line(MUST be div by 4) */ + unsigned short int Colour; /* ST Colour value */ + unsigned short int Index; /* Index into ST palette (0...15) */ } CYCLEPALETTE; extern BOOL Spec512_IsImage(void);