[comp.sys.m6809] gf9.h

@lsuc.uucp () (06/06/88)

     The following is a C header file for use with GF9 file
types.  It conforms with the description of GF9 as of the
December 31, 1987 deadline for the initial proposed standard.
Changes to the proposed standard after Jan, 1, 1988 will not
conflict with that description, but add to it.

/* gf9.h
 * 1988/06/06 By Jim Omura
 * Public Domain
 * Based on Proposed Definition 1987/12/05
 * Available on Byte Information Exchange
 */

/* 'int' == 16 bit and is usually treated as unsigned.
 * Byte/Bit order is Motorola.
 */

typedef struct gf9hd {
    int  gf_hln,      /* 0x00 Header length 0x80 */
         gf_res1;     /* 0x02 Reserved */
    long gf_flln;     /* 0x04 File Length (less header) */
    int  gf_smc,      /* 0x08 Screen mode class (MV low = 2) */
         gf_smsc,     /* 0x0a Screen mode subclass (MV low = 6) */
         gf_cmpr,     /* 0x0c Compression style */
         gf_dur;      /* 0x0e Duration 1/64 sec. 0=undisplayed */
    int  gf_cyc1[4];  /* 0x10 Color Cycle Set */
    int  gf_cyc2[4];  /* 0x18 Color Cycle set 2 */
    int  gf_res2[16]; /* 0x20-0x3f  Undefined */
    int  gf_pal[16];  /* 0x40 Color Palette Regs */
    int  gf_res3[16]; /* Reserved for further Palettes */
    } GF9HD;

/* End of gf9.h */
-- 
Jim Omura, 2A King George's Drive, Toronto, (416) 652-3880
ihnp4!utzoo!lsuc!jimomura
Byte Information eXchange: jimomura