blob: 1e4506cb3122fd08945e9fcdfc74cf5099895eeb [file] [log] [blame]
Kevin O'Connor6f775082011-12-31 18:39:59 -05001#ifndef __CLEXT_H
2#define __CLEXT_H
3
Kevin O'Connore91ec7c2012-01-14 16:30:49 -05004#include "types.h" // u16
Kevin O'Connor6f775082011-12-31 18:39:59 -05005
Kevin O'Connorc4a0b972012-01-09 20:21:31 -05006struct vgamode_s *clext_find_mode(int mode);
Kevin O'Connor9961f992012-01-21 11:53:44 -05007int clext_get_window(struct vgamode_s *vmode_g, int window);
8int clext_set_window(struct vgamode_s *vmode_g, int window, int val);
Kevin O'Connor3876b532012-01-24 00:07:44 -05009int clext_get_linelength(struct vgamode_s *vmode_g);
10int clext_set_linelength(struct vgamode_s *vmode_g, int val);
Kevin O'Connord61fc532012-01-27 20:37:45 -050011int clext_get_displaystart(struct vgamode_s *vmode_g);
12int clext_set_displaystart(struct vgamode_s *vmode_g, int val);
Kevin O'Connore6bc4c12012-01-21 11:26:37 -050013int clext_set_mode(struct vgamode_s *vmode_g, int flags);
Kevin O'Connor34203cd2012-01-09 20:55:31 -050014void clext_list_modes(u16 seg, u16 *dest, u16 *last);
Kevin O'Connor161d2012011-12-31 19:42:21 -050015int clext_init(void);
Kevin O'Connore91ec7c2012-01-14 16:30:49 -050016struct bregs;
17void clext_1012(struct bregs *regs);
Kevin O'Connor6f775082011-12-31 18:39:59 -050018
19#endif // clext.h