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.
|
|
|
|
|
*
|
2018-03-12 15:19:36 +01:00
|
|
|
* Version: @(#)vid_svga_render.h 1.0.1 2018/03/12
|
2017-05-30 03:38:38 +02:00
|
|
|
*
|
|
|
|
|
* Author: Sarah Walker, <http://pcem-emulator.co.uk/>
|
|
|
|
|
* Miran Grca, <mgrca8@gmail.com>
|
2018-03-12 15:19:36 +01:00
|
|
|
* Copyright 2008-2018 Sarah Walker.
|
|
|
|
|
* Copyright 2016-2018 Miran Grca.
|
2017-05-30 03:38:38 +02:00
|
|
|
*/
|
|
|
|
|
|
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);
|
2019-10-20 15:09:38 +02:00
|
|
|
void svga_render_overscan_left(svga_t *svga);
|
|
|
|
|
void svga_render_overscan_right(svga_t *svga);
|
2016-06-26 00:34:39 +02:00
|
|
|
void svga_render_text_40(svga_t *svga);
|
|
|
|
|
void svga_render_text_80(svga_t *svga);
|
2018-03-12 15:19:36 +01:00
|
|
|
void svga_render_text_80_ksc5601(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);
|
2019-10-01 15:14:51 +02:00
|
|
|
void svga_render_8bpp_gs_lowres(svga_t *svga);
|
|
|
|
|
void svga_render_8bpp_gs_highres(svga_t *svga);
|
|
|
|
|
void svga_render_8bpp_rgb_lowres(svga_t *svga);
|
|
|
|
|
void svga_render_8bpp_rgb_highres(svga_t *svga);
|
2016-06-26 00:34:39 +02:00
|
|
|
void svga_render_15bpp_lowres(svga_t *svga);
|
|
|
|
|
void svga_render_15bpp_highres(svga_t *svga);
|
2019-10-01 15:14:51 +02:00
|
|
|
void svga_render_15bpp_mix_lowres(svga_t *svga);
|
|
|
|
|
void svga_render_15bpp_mix_highres(svga_t *svga);
|
2016-06-26 00:34:39 +02:00
|
|
|
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);
|
2017-06-11 17:40:34 +02:00
|
|
|
void svga_render_ABGR8888_lowres(svga_t *svga);
|
2016-06-26 00:34:39 +02:00
|
|
|
void svga_render_ABGR8888_highres(svga_t *svga);
|
2017-06-11 17:40:34 +02:00
|
|
|
void svga_render_RGBA8888_lowres(svga_t *svga);
|
2016-06-26 00:34:39 +02:00
|
|
|
void svga_render_RGBA8888_highres(svga_t *svga);
|
|
|
|
|
|
|
|
|
|
extern void (*svga_render)(svga_t *svga);
|