2017-05-30 03:38:38 +02:00
|
|
|
/*
|
2023-01-06 15:36:05 -05: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.
|
2017-05-30 03:38:38 +02:00
|
|
|
*
|
2023-01-06 15:36:05 -05:00
|
|
|
* This file is part of the 86Box distribution.
|
2017-05-30 03:38:38 +02:00
|
|
|
*
|
2023-01-06 15:36:05 -05:00
|
|
|
* IBM CGA composite filter, borrowed from reenigne's DOSBox
|
|
|
|
|
* patch and ported to C.
|
2017-05-30 03:38:38 +02:00
|
|
|
*
|
2020-03-25 00:46:02 +02:00
|
|
|
*
|
2017-05-30 03:38:38 +02:00
|
|
|
*
|
2023-01-06 15:36:05 -05:00
|
|
|
* Authors: reenigne,
|
|
|
|
|
* Miran Grca, <mgrca8@gmail.com>
|
|
|
|
|
*
|
|
|
|
|
* Copyright 2015-2018 reenigne.
|
|
|
|
|
* Copyright 2015-2018 Miran Grca.
|
2017-05-30 03:38:38 +02:00
|
|
|
*/
|
2022-02-18 19:42:21 -05:00
|
|
|
|
2022-01-30 02:11:21 -05:00
|
|
|
#ifndef VIDEO_CGA_COMP_H
|
2022-07-27 17:00:34 -04:00
|
|
|
#define VIDEO_CGA_COMP_H
|
2017-05-30 03:38:38 +02:00
|
|
|
|
2023-07-30 19:33:29 -04:00
|
|
|
#define Bitu unsigned int
|
|
|
|
|
#define bool uint8_t
|
2016-06-26 00:34:39 +02:00
|
|
|
|
2022-07-27 17:00:34 -04:00
|
|
|
void update_cga16_color(uint8_t cgamode);
|
|
|
|
|
void cga_comp_init(int revision);
|
2024-06-09 23:39:33 +02:00
|
|
|
uint32_t *Composite_Process(uint8_t cgamode, uint8_t border, uint32_t blocks /*, bool doublewidth*/, uint32_t *TempLine);
|
2022-01-30 02:11:21 -05:00
|
|
|
|
2022-07-27 17:00:34 -04:00
|
|
|
#endif /*VIDEO_CGA_COMP_H*/
|