PCI graphics cards now correctly use PCI timings instead of VLB timings.

This commit is contained in:
OBattler
2020-05-06 00:23:07 +02:00
parent cf0a7dd3dc
commit 3027422e88
21 changed files with 232 additions and 91 deletions

View File

@@ -143,7 +143,7 @@ typedef struct svga_t
} svga_t;
extern int svga_init(svga_t *svga, void *p, int memsize,
extern int svga_init(const device_t *info, svga_t *svga, void *p, int memsize,
void (*recalctimings_ex)(struct svga_t *svga),
uint8_t (*video_in) (uint16_t addr, void *p),
void (*video_out)(uint16_t addr, uint8_t val, void *p),

View File

@@ -47,7 +47,8 @@ extern "C" {
enum {
VIDEO_ISA = 0,
VIDEO_MCA,
VIDEO_BUS
VIDEO_BUS,
VIDEO_PCI
};
#define VIDEO_FLAG_TYPE_CGA 0