|
|
1.1 root 1: /*
2: Hatari
3: */
4:
1.1.1.2 ! root 5: #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 */
1.1 root 6:
1.1.1.2 ! root 7: /* Store writes to palette by cycles per scan line, colour and index in ST */
1.1 root 8: typedef struct {
1.1.1.2 ! root 9: int LineCycles; /* Number of cycles into line(MUST be div by 4) */
! 10: unsigned short int Colour; /* ST Colour value */
! 11: unsigned short int Index; /* Index into ST palette (0...15) */
1.1 root 12: } CYCLEPALETTE;
13:
14: extern BOOL Spec512_IsImage(void);
15: extern void Spec512_StartVBL(void);
16: extern void Spec512_StoreCyclePalette(unsigned short col, unsigned long addr);
17: extern void Spec512_StartFrame(void);
18: extern void Spec512_ScanWholeLine(void);
19: extern void Spec512_StartScanLine(void);
20: extern void Spec512_EndScanLine(void);
21: extern void Spec512_UpdatePaletteSpan(void);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.