2017-05-30 03:38:38 +02:00
|
|
|
/*
|
|
|
|
|
* 86Box A hypervisor and IBM PC system emulator that specializes in
|
|
|
|
|
* running old operating systems and software designed for IBM
|
|
|
|
|
* PC systems and compatibles from 1981 through fairly recent
|
|
|
|
|
* system designs based on the PCI bus.
|
|
|
|
|
*
|
|
|
|
|
* This file is part of the 86Box distribution.
|
|
|
|
|
*
|
|
|
|
|
* SVGA renderers.
|
|
|
|
|
*
|
|
|
|
|
* Version: @(#)vid_svga_render.h 1.0.0 2017/05/30
|
|
|
|
|
*
|
|
|
|
|
* Author: Sarah Walker, <http://pcem-emulator.co.uk/>
|
|
|
|
|
* Miran Grca, <mgrca8@gmail.com>
|
|
|
|
|
* Copyright 2008-2017 Sarah Walker.
|
|
|
|
|
* Copyright 2016-2017 Miran Grca.
|
|
|
|
|
*/
|
|
|
|
|
|
2016-06-26 00:34:39 +02:00
|
|
|
extern int firstline_draw, lastline_draw;
|
|
|
|
|
extern int displine;
|
|
|
|
|
extern int sc;
|
|
|
|
|
|
|
|
|
|
extern uint32_t ma, ca;
|
|
|
|
|
extern int con, cursoron, cgablink;
|
|
|
|
|
|
|
|
|
|
extern int scrollcache;
|
|
|
|
|
|
|
|
|
|
extern uint8_t edatlookup[4][4];
|
|
|
|
|
|
|
|
|
|
void svga_render_blank(svga_t *svga);
|
|
|
|
|
void svga_render_text_40(svga_t *svga);
|
2016-08-13 03:32:38 +02:00
|
|
|
void svga_render_text_40_12(svga_t *svga);
|
2016-06-26 00:34:39 +02:00
|
|
|
void svga_render_text_80(svga_t *svga);
|
2016-08-13 03:32:38 +02:00
|
|
|
void svga_render_text_80_12(svga_t *svga);
|
2016-06-26 00:34:39 +02:00
|
|
|
|
|
|
|
|
void svga_render_2bpp_lowres(svga_t *svga);
|
|
|
|
|
void svga_render_2bpp_highres(svga_t *svga);
|
|
|
|
|
void svga_render_4bpp_lowres(svga_t *svga);
|
|
|
|
|
void svga_render_4bpp_highres(svga_t *svga);
|
|
|
|
|
void svga_render_8bpp_lowres(svga_t *svga);
|
|
|
|
|
void svga_render_8bpp_highres(svga_t *svga);
|
|
|
|
|
void svga_render_15bpp_lowres(svga_t *svga);
|
|
|
|
|
void svga_render_15bpp_highres(svga_t *svga);
|
|
|
|
|
void svga_render_16bpp_lowres(svga_t *svga);
|
|
|
|
|
void svga_render_16bpp_highres(svga_t *svga);
|
|
|
|
|
void svga_render_24bpp_lowres(svga_t *svga);
|
|
|
|
|
void svga_render_24bpp_highres(svga_t *svga);
|
|
|
|
|
void svga_render_32bpp_lowres(svga_t *svga);
|
|
|
|
|
void svga_render_32bpp_highres(svga_t *svga);
|
|
|
|
|
void svga_render_ABGR8888_highres(svga_t *svga);
|
|
|
|
|
void svga_render_RGBA8888_highres(svga_t *svga);
|
|
|
|
|
|
|
|
|
|
extern void (*svga_render)(svga_t *svga);
|