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