Kevin O'Connor | 7c79029 | 2014-02-11 15:34:58 -0500 | [diff] [blame] | 1 | #ifndef __CBVGA_H |
| 2 | #define __CBVGA_H |
| 3 | |
| 4 | #include "types.h" // u16 |
| 5 | |
| 6 | struct vgamode_s *cbvga_find_mode(int mode); |
| 7 | void cbvga_list_modes(u16 seg, u16 *dest, u16 *last); |
| 8 | int cbvga_get_window(struct vgamode_s *vmode_g, int window); |
| 9 | int cbvga_set_window(struct vgamode_s *vmode_g, int window, int val); |
| 10 | int cbvga_get_linelength(struct vgamode_s *vmode_g); |
| 11 | int cbvga_set_linelength(struct vgamode_s *vmode_g, int val); |
| 12 | int cbvga_get_displaystart(struct vgamode_s *vmode_g); |
| 13 | int cbvga_set_displaystart(struct vgamode_s *vmode_g, int val); |
| 14 | int cbvga_get_dacformat(struct vgamode_s *vmode_g); |
| 15 | int cbvga_set_dacformat(struct vgamode_s *vmode_g, int val); |
| 16 | int cbvga_save_restore(int cmd, u16 seg, void *data); |
| 17 | int cbvga_set_mode(struct vgamode_s *vmode_g, int flags); |
| 18 | int cbvga_setup(void); |
| 19 | |
| 20 | #endif // cbvga.h |