VIDEO.H 721 B

123456789101112131415161718
  1. #ifndef _VIDEO_H_
  2. #define _VIDEO_H_
  3. #define VESA_MODE_OK 0x0000
  4. #define VESA_MODE_NOT_SUPPORTED 0x0001
  5. extern void blank_pallette();
  6. extern void set_pallette( unsigned char *Pallette );
  7. extern void set_pallette_entry( unsigned char color, unsigned char red, unsigned char blue, unsigned char green );
  8. // extern int set_vesa_mode( unsigned short mode_no, int checks = 1 );
  9. extern void svgacopy( unsigned char *buffpt, short x, short y, short w, short h, short buff_wid);
  10. extern void svgaread( char *buffpt, short x, short y, short w, short h, short buff_wid);
  11. extern short get_curr_vmode();
  12. extern void draw_line( short x1, short y1, short x2, short y2, char col, buff_info *buffer );
  13. #endif /* _VIDEO_H_ */
  14.