Kevin O'Connor | 6f77508 | 2011-12-31 18:39:59 -0500 | [diff] [blame] | 1 | #ifndef __CLEXT_H |
| 2 | #define __CLEXT_H |
| 3 | |
Kevin O'Connor | e91ec7c | 2012-01-14 16:30:49 -0500 | [diff] [blame] | 4 | #include "types.h" // u16 |
Kevin O'Connor | 6f77508 | 2011-12-31 18:39:59 -0500 | [diff] [blame] | 5 | |
Kevin O'Connor | c4a0b97 | 2012-01-09 20:21:31 -0500 | [diff] [blame] | 6 | struct vgamode_s *clext_find_mode(int mode); |
Kevin O'Connor | a96d490 | 2012-02-01 21:10:44 -0500 | [diff] [blame] | 7 | void clext_list_modes(u16 seg, u16 *dest, u16 *last); |
Kevin O'Connor | 9961f99 | 2012-01-21 11:53:44 -0500 | [diff] [blame] | 8 | int clext_get_window(struct vgamode_s *vmode_g, int window); |
| 9 | int clext_set_window(struct vgamode_s *vmode_g, int window, int val); |
Kevin O'Connor | 3876b53 | 2012-01-24 00:07:44 -0500 | [diff] [blame] | 10 | int clext_get_linelength(struct vgamode_s *vmode_g); |
| 11 | int clext_set_linelength(struct vgamode_s *vmode_g, int val); |
Kevin O'Connor | d61fc53 | 2012-01-27 20:37:45 -0500 | [diff] [blame] | 12 | int clext_get_displaystart(struct vgamode_s *vmode_g); |
| 13 | int clext_set_displaystart(struct vgamode_s *vmode_g, int val); |
Kevin O'Connor | 2469f89 | 2012-02-04 12:40:02 -0500 | [diff] [blame] | 14 | int clext_size_state(int states); |
| 15 | int clext_save_state(u16 seg, void *data, int states); |
| 16 | int clext_restore_state(u16 seg, void *data, int states); |
Kevin O'Connor | e6bc4c1 | 2012-01-21 11:26:37 -0500 | [diff] [blame] | 17 | int clext_set_mode(struct vgamode_s *vmode_g, int flags); |
Kevin O'Connor | e91ec7c | 2012-01-14 16:30:49 -0500 | [diff] [blame] | 18 | struct bregs; |
| 19 | void clext_1012(struct bregs *regs); |
Kevin O'Connor | d83c87b | 2013-01-21 01:14:12 -0500 | [diff] [blame] | 20 | int clext_setup(void); |
Kevin O'Connor | 6f77508 | 2011-12-31 18:39:59 -0500 | [diff] [blame] | 21 | |
| 22 | #endif // clext.h |