Annotation of hatari/src/includes/spec512.h, revision 1.1.1.3

1.1       root        1: /*
1.1.1.3 ! root        2:   Hatari - spec512.h
        !             3: 
        !             4:   This file is distributed under the GNU Public License, version 2 or at
        !             5:   your option any later version. Read the file gpl.txt for details.
1.1       root        6: */
                      7: 
1.1.1.3 ! root        8: #ifndef HATARI_SPEC512_H
        !             9: #define HATARI_SPEC512_H
        !            10: 
1.1.1.2   root       11: #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       12: 
1.1.1.2   root       13: /* Store writes to palette by cycles per scan line, colour and index in ST */
1.1.1.3 ! root       14: typedef struct
        !            15: {
1.1.1.2   root       16:   int LineCycles;                   /* Number of cycles into line(MUST be div by 4) */
1.1.1.3 ! root       17:   Uint16 Colour;                    /* ST Colour value */
1.1.1.2   root       18:   unsigned short int Index;         /* Index into ST palette (0...15) */
1.1       root       19: } CYCLEPALETTE;
                     20: 
                     21: extern BOOL Spec512_IsImage(void);
                     22: extern void Spec512_StartVBL(void);
1.1.1.3 ! root       23: extern void Spec512_StoreCyclePalette(Uint16 col, Uint32 addr);
1.1       root       24: extern void Spec512_StartFrame(void);
                     25: extern void Spec512_ScanWholeLine(void);
                     26: extern void Spec512_StartScanLine(void);
                     27: extern void Spec512_EndScanLine(void);
                     28: extern void Spec512_UpdatePaletteSpan(void);
1.1.1.3 ! root       29: 
        !            30: #endif  /* HATARI_SPEC512_H */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.