2017-06-01 17:55: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.
|
|
|
|
|
*
|
|
|
|
|
* EGA renderers.
|
|
|
|
|
*
|
2018-01-24 23:15:00 +01:00
|
|
|
* Version: @(#)vid_ega_render.h 1.0.2 2018/01/24
|
2017-06-01 17:55:38 +02:00
|
|
|
*
|
|
|
|
|
* Author: Sarah Walker, <http://pcem-emulator.co.uk/>
|
|
|
|
|
* Miran Grca, <mgrca8@gmail.com>
|
2018-01-24 23:15:00 +01:00
|
|
|
* Copyright 2008-2018 Sarah Walker.
|
|
|
|
|
* Copyright 2016-2018 Miran Grca.
|
2017-06-01 17:55:38 +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 ega_render_blank(ega_t *ega);
|
|
|
|
|
void ega_render_text_standard(ega_t *ega, int drawcursor);
|
2017-07-26 00:34:43 +02:00
|
|
|
#ifdef JEGA
|
2017-06-08 00:58:47 +02:00
|
|
|
void ega_render_text_jega(ega_t *ega, int drawcursor);
|
2017-07-26 00:34:43 +02:00
|
|
|
#endif
|
2017-06-01 17:55:38 +02:00
|
|
|
|
2018-01-24 23:15:00 +01:00
|
|
|
void ega_render_2bpp(ega_t *ega);
|
|
|
|
|
|
2017-06-01 17:55:38 +02:00
|
|
|
void ega_render_4bpp_lowres(ega_t *ega);
|
|
|
|
|
void ega_render_4bpp_highres(ega_t *ega);
|