X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=vgasrc%2Fbochsvga.h;h=b6abf0a1d5f24c433d620ee410324631fb7362e6;hb=3876b531222c53124b0eb154fb331c0c662f5e09;hp=963b0d3e6e10ce03c3d0b6e9c1591cb0c03c7814;hpb=c4a0b976c06837636533d561c59d22feb03baec3;p=seabios.git diff --git a/vgasrc/bochsvga.h b/vgasrc/bochsvga.h index 963b0d3..b6abf0a 100644 --- a/vgasrc/bochsvga.h +++ b/vgasrc/bochsvga.h @@ -2,7 +2,7 @@ #define __BOCHSVGA_H #include "types.h" // u8 -#include "ioport.h" // outb +#include "ioport.h" // outw #define VBE_DISPI_BANK_ADDRESS 0xA0000 #define VBE_DISPI_BANK_SIZE_KB 64 @@ -53,16 +53,12 @@ static inline void dispi_write(u16 reg, u16 val) } int bochsvga_init(void); -int bochsvga_enabled(void); -u16 bochsvga_total_mem(void); -int bochsvga_list_modes(u16 seg, u16 ptr); -struct vbe_modeinfo; -int bochsvga_mode_info(u16 mode, struct vbe_modeinfo *info); -void bochsvga_hires_enable(int enable); +void bochsvga_list_modes(u16 seg, u16 *dest, u16 *last); struct vgamode_s *bochsvga_find_mode(int mode); -int bochsvga_set_mode(int mode, int flags); -void bochsvga_clear_scr(void); -int bochsvga_hires_enabled(void); -u16 bochsvga_curr_mode(void); +int bochsvga_get_window(struct vgamode_s *vmode_g, int window); +int bochsvga_set_window(struct vgamode_s *vmode_g, int window, int val); +int bochsvga_get_linelength(struct vgamode_s *vmode_g); +int bochsvga_set_linelength(struct vgamode_s *vmode_g, int val); +int bochsvga_set_mode(struct vgamode_s *vmode_g, int flags); #endif // bochsvga.h