As part of this, added emulation of the GD5428-based IBM 1MB SVGA Adapter/A, along with support for external graphics cards on MCA platforms, adding the ability to override the onboard VGA controller.
6 lines
307 B
C
6 lines
307 B
C
void mca_init(int nr_cards);
|
|
void mca_add(uint8_t (*read)(int addr, void *priv), void (*write)(int addr, uint8_t val, void *priv), void (*reset)(void *priv), void *priv);
|
|
void mca_set_index(int index);
|
|
uint8_t mca_read(uint16_t port);
|
|
void mca_write(uint16_t port, uint8_t val);
|
|
void mca_reset(void);
|