Annotation of MiNT/src/fasttext.h, revision 1.1

1.1     ! root        1: #if 0
        !             2: 
        !             3: #include <osbind.h>
        !             4: 
        !             5: #include <linea.h>
        !             6: 
        !             7: #endif
        !             8: 
        !             9: 
        !            10: 
        !            11: #define ALT_1 0x780000L
        !            12: 
        !            13: #define ALT_2 0x790000L
        !            14: 
        !            15: #define ALT_0 0x810000L
        !            16: 
        !            17: 
        !            18: 
        !            19: typedef struct screen {
        !            20: 
        !            21:        short   hidecnt;        /* cursor hide count */
        !            22: 
        !            23:        short   mcurx, mcury;   /* current mouse X, Y position */
        !            24: 
        !            25:        char    mdraw;
        !            26: 
        !            27:        char    mouseflag;
        !            28: 
        !            29:        long    junk1;
        !            30: 
        !            31:        short   savex, savey;   /* saved X, Y position */
        !            32: 
        !            33:        short   msavelen;       /* mouse save stuff */
        !            34: 
        !            35:        long    msaveaddr;
        !            36: 
        !            37:        short   msavestat;
        !            38: 
        !            39:        long    msavearea[64];
        !            40: 
        !            41:        long    user_tim, next_tim; /* time vector stuff */
        !            42: 
        !            43:        long    user_but, user_cur,
        !            44: 
        !            45:                user_mot;       /* more user vectors */
        !            46: 
        !            47:        short   cheight;        /* character height */
        !            48: 
        !            49:        short   maxx;           /* number of characters across - 1 */
        !            50: 
        !            51:        short   maxy;           /* number of characters high - 1 */
        !            52: 
        !            53:        short   linelen;        /* length (in bytes) of a line of characters */ 
        !            54: 
        !            55:        short   bgcol;          /* background color */
        !            56: 
        !            57:        short   fgcol;          /* foreground color */
        !            58: 
        !            59:        char    *cursaddr;      /* cursor address */
        !            60: 
        !            61:        short   v_cur_of;       /* ??? */
        !            62: 
        !            63:        short   cx, cy;         /* current (x,y) position of cursor */
        !            64: 
        !            65:        char    period;         /* cursor flash period (in frames) */   
        !            66: 
        !            67:        char    curstimer;      /* cursor flash timer */
        !            68: 
        !            69:        char    *fontdata;      /* pointer to font data */
        !            70: 
        !            71:        short   firstcode;      /* first ASCII code in font */
        !            72: 
        !            73:        short   lastcode;       /* last ASCII code in font */
        !            74: 
        !            75:        short   form_width;     /* # bytes/scanline in font data */
        !            76: 
        !            77:        short   xpixel;
        !            78: 
        !            79:        char    *fontoff;       /* pointer to font offset table */
        !            80: 
        !            81:        char    flags;          /* e.g. cursor on/off */
        !            82: 
        !            83:        char    reserved;
        !            84: 
        !            85:        short   ypixel;
        !            86: 
        !            87:        short   width;          /* length of a screen scan line */
        !            88: 
        !            89:        short   planes;         /* number of planes on screen */
        !            90: 
        !            91:        short   planesiz;       /* length of a screen scan line */
        !            92: 
        !            93: } SCREEN;
        !            94: 
        !            95: 
        !            96: 
        !            97: #define SCNSIZE(v) ( (((long)v->maxy + hardscroll + 2)) * v->linelen )
        !            98: 
        !            99: 
        !           100: 
        !           101: /* possible flags for cursor state, etc. */
        !           102: 
        !           103: #define CURS_FLASH     0x01            /* cursor flashing */
        !           104: 
        !           105: #define CURS_FSTATE    0x02            /* cursor in flash state */
        !           106: 
        !           107: #define CURS_ON                0x04            /* cursor on */
        !           108: 
        !           109: #define FWRAP          0x08            /* wrap cursor at end of line */
        !           110: 
        !           111: #define FINVERSE       0x10            /* invert text */
        !           112: 
        !           113: #define CURS_UPD       0x40            /* cursor update flag */
        !           114: 

unix.superglobalmegacorp.com

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