mirror of
https://github.com/86Box/86Box.git
synced 2026-02-25 04:45:31 -07:00
Moved the BT48x hardware cursor draw function to the RAMDAC's code where it belongs; Renamed the BT48x RAMDAC code file to vid_bt48x_ramdac.c (was vid_bt485_ramdac.c); Fixed BT48x 64x64 hardware cursor bugs (caused by the index variable being uint8_t when it should have been uint16_t) introduced in the previous commit.
32 lines
836 B
C
32 lines
836 B
C
/*
|
|
* 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.
|
|
*
|
|
* ICS2595 clock chip emulation header. Used by ATI Mach64.
|
|
*
|
|
* Version: @(#)vid_ics2595.h 1.0.0 2018/10/04
|
|
*
|
|
* Authors: Sarah Walker, <http://pcem-emulator.co.uk/>
|
|
* Miran Grca, <mgrca8@gmail.com>
|
|
*
|
|
* Copyright 2008-2018 Sarah Walker.
|
|
* Copyright 2016-2018 Miran Grca.
|
|
*/
|
|
typedef struct ics2595_t
|
|
{
|
|
int oldfs3, oldfs2;
|
|
int dat;
|
|
int pos, state;
|
|
|
|
double clocks[16];
|
|
double output_clock;
|
|
} ics2595_t;
|
|
|
|
extern void ics2595_write(ics2595_t *ics2595, int strobe, int dat);
|
|
|
|
extern const device_t ics2595_device;
|