Annotation of src/jeff.h, revision 1.1.1.1

1.1       root        1: /***************************************************************************
                      2:  *  JEFF.H     - new header stuff from Jeff                                *
                      3:  *                                                                         *
                      4:  *                                                     12/15/94 Jeff S.    *
                      5:  ***************************************************************************/
                      6: 
                      7: //
                      8: //   flic header file stuff
                      9: //
                     10: extern    char      flicnum;
                     11: extern    char      *flicnames[];
                     12: extern    char      dofadein;
                     13: 
                     14: extern    char      palette[];       // engine.obj
                     15: extern    char      paletteloaded;   // engine.obj
                     16: 
                     17: extern    int       flictype;
                     18: 
                     19: #define  CT_COLOR_256    4   /* 256 level color pallette info. (FLC only.) */
                     20: #define  CT_DELTA_FLC    7   /* Word-oriented delta compression. (FLC only.) */
                     21: #define  CT_COLOR_64    11 /* 64 level color pallette info. */
                     22: #define  CT_DELTA_FLI   12 /* Byte-oriented delta compression. */
                     23: #define  CT_BLK         13 /* whole frame is color 0 */
                     24: #define  CT_BYTE_RUN    15 /* Byte run-length compression. */
                     25: #define  CT_LITERAL     16 /* Uncompressed pixels. */
                     26: #define  CT_PSTAMP      18 /* "Postage stamp" chunk. (FLC only.) */
                     27: 
                     28: #define   FT_FULLSCREEN   0
                     29: #define   FT_DATALINK     1
                     30: 
                     31: 
                     32: #define CLKIPS          140L
                     33: 
                     34: #define PEL_WRITE_ADR   0x3c8
                     35: #define PEL_READ_ADR    0x3c7
                     36: #define PEL_DATA        0x3c9
                     37: 
                     38: //
                     39: // VGA manipulation
                     40: //
                     41: #define SC_INDEX            0x3C4
                     42: #define SC_RESET            0
                     43: #define SC_CLOCK            1
                     44: #define SC_MAPMASK          2
                     45: #define SC_CHARMAP          3
                     46: #define SC_MEMMODE          4
                     47: 
                     48: #define CRTC_INDEX          0x3D4
                     49: #define CRTC_H_TOTAL        0
                     50: #define CRTC_H_DISPEND      1
                     51: #define CRTC_H_BLANK        2
                     52: #define CRTC_H_ENDBLANK     3
                     53: #define CRTC_H_RETRACE      4
                     54: #define CRTC_H_ENDRETRACE   5
                     55: #define CRTC_V_TOTAL        6
                     56: #define CRTC_OVERFLOW       7
                     57: #define CRTC_ROWSCAN        8
                     58: #define CRTC_MAXSCANLINE    9
                     59: #define CRTC_CURSORSTART    10
                     60: #define CRTC_CURSOREND      11
                     61: #define CRTC_STARTHIGH      12
                     62: #define CRTC_STARTLOW       13
                     63: #define CRTC_CURSORHIGH     14
                     64: #define CRTC_CURSORLOW      15
                     65: #define CRTC_V_RETRACE      16
                     66: #define CRTC_V_ENDRETRACE   17
                     67: #define CRTC_V_DISPEND      18
                     68: #define CRTC_OFFSET         19
                     69: #define CRTC_UNDERLINE      20
                     70: #define CRTC_V_BLANK        21
                     71: #define CRTC_V_ENDBLANK     22
                     72: #define CRTC_MODE           23
                     73: #define CRTC_LINECOMPARE    24
                     74: 
                     75: 
                     76: #define GC_INDEX            0x3CE
                     77: #define GC_SETRESET         0
                     78: #define GC_ENABLESETRESET   1
                     79: #define GC_COLORCOMPARE     2
                     80: #define GC_DATAROTATE       3
                     81: #define GC_READMAP          4
                     82: #define GC_MODE             5
                     83: #define GC_MISCELLANEOUS    6
                     84: #define GC_COLORDONTCARE    7
                     85: #define GC_BITMASK          8
                     86: 
                     87: #define ATR_INDEX               0x3c0
                     88: #define ATR_MODE                16
                     89: #define ATR_OVERSCAN            17
                     90: #define ATR_COLORPLANEENABLE    18
                     91: #define ATR_PELPAN              19
                     92: #define ATR_COLORSELECT         20
                     93: 
                     94: #define  STATUS_REGISTER_1    0x3da
                     95: 
                     96: #define PEL_WRITE_ADR       0x3c8
                     97: #define PEL_READ_ADR        0x3c7
                     98: #define PEL_DATA            0x3c9
                     99: 

unix.superglobalmegacorp.com

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