|
|
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);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.