Files
86Box/src/include/86box/vid_cga_comp.h

32 lines
935 B
C
Raw Normal View History

/*
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.
*
2023-01-06 15:36:05 -05:00
* This file is part of the 86Box distribution.
*
2023-01-06 15:36:05 -05:00
* IBM CGA composite filter, borrowed from reenigne's DOSBox
* patch and ported to C.
*
2020-03-25 00:46:02 +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.
*/
2022-02-18 19:42:21 -05:00
2022-01-30 02:11:21 -05:00
#ifndef VIDEO_CGA_COMP_H
#define VIDEO_CGA_COMP_H
2023-07-30 19:33:29 -04:00
#define Bitu unsigned int
#define bool uint8_t
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
#endif /*VIDEO_CGA_COMP_H*/