Annotation of generator/hdr/uip.h, revision 1.1.1.2

1.1       root        1: /* this structure is used to pass information from the uip (ui platform
                      2:    dependent) bit to the main ui-console bit, it is passed to uip in the
                      3:    uip_init() function, but it is setup in uip_vgamode() function */
                      4: 
                      5: typedef struct {
                      6:   uint8 redshift;                  /* bit position for 5 bits of red */
                      7:   uint8 greenshift;                /* bit position for 5 bits of green */
                      8:   uint8 blueshift;                 /* bit position for 5 bits of blue */
                      9:   uint32 linewidth;                /* line width of mode in bytes */
                     10:   uint8 *screenmem0;        /* start of screen memory bank 0 */
                     11:   uint8 *screenmem1;        /* start of screen memory bank 1 */
                     12:   uint8 *screenmem_w;       /* start of screen bank for writing */
                     13: } t_uipinfo;
                     14: 
                     15: int uip_init(t_uipinfo *uipinfo);
                     16: int uip_vgamode(void);
                     17: void uip_displaybank(int bank);
                     18: void uip_clearscreen(void);
                     19: void uip_textmode(void);
                     20: int uip_checkkeyboard(void);
                     21: void uip_vsync(void);
1.1.1.2 ! root       22: unsigned int uip_whichbank(void);
        !            23: void uip_singlebank(void);
        !            24: void uip_doublebank(void);
        !            25: uint8 uip_getchar(void);
        !            26: void uip_clearmiddle(void);
        !            27: int uip_setcolourbits(int red, int green, int blue);

unix.superglobalmegacorp.com

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