blob: 2c4ceefa64113487bf0920d43c4ceebb2543cdf7 [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'Connora96d4902012-02-01 21:10:44 -05007void clext_list_modes(u16 seg, u16 *dest, u16 *last);
Kevin O'Connor9961f992012-01-21 11:53:44 -05008int clext_get_window(struct vgamode_s *vmode_g, int window);
9int clext_set_window(struct vgamode_s *vmode_g, int window, int val);
Kevin O'Connor3876b532012-01-24 00:07:44 -050010int clext_get_linelength(struct vgamode_s *vmode_g);
11int clext_set_linelength(struct vgamode_s *vmode_g, int val);
Kevin O'Connord61fc532012-01-27 20:37:45 -050012int clext_get_displaystart(struct vgamode_s *vmode_g);
13int clext_set_displaystart(struct vgamode_s *vmode_g, int val);
Kevin O'Connore6bc4c12012-01-21 11:26:37 -050014int clext_set_mode(struct vgamode_s *vmode_g, int flags);
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