--- hatari/src/includes/spec512.h 2019/04/01 07:09:26 1.1.1.2 +++ hatari/src/includes/spec512.h 2019/04/09 08:53:14 1.1.1.6 @@ -1,21 +1,20 @@ /* - Hatari -*/ + Hatari - spec512.h -#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 */ + This file is distributed under the GNU General Public License, version 2 + or at your option any later version. Read the file gpl.txt for details. +*/ -/* 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) */ -} CYCLEPALETTE; +#ifndef HATARI_SPEC512_H +#define HATARI_SPEC512_H -extern BOOL Spec512_IsImage(void); +extern bool Spec512_IsImage(void); extern void Spec512_StartVBL(void); -extern void Spec512_StoreCyclePalette(unsigned short col, unsigned long addr); +extern void Spec512_StoreCyclePalette(Uint16 col, Uint32 addr); extern void Spec512_StartFrame(void); extern void Spec512_ScanWholeLine(void); extern void Spec512_StartScanLine(void); extern void Spec512_EndScanLine(void); extern void Spec512_UpdatePaletteSpan(void); + +#endif /* HATARI_SPEC512_H */