Added the OKIVGA/H-2 (JVGA/H).
This commit is contained in:
@@ -144,10 +144,10 @@ typedef struct ega_t {
|
||||
uint32_t (*remap_func)(struct ega_t *ega, uint32_t in_addr);
|
||||
void (*render)(struct ega_t *svga);
|
||||
|
||||
/*If set then another device is driving the monitor output and the EGA
|
||||
card should not attempt to display anything */
|
||||
void (*render_override)(void *priv);
|
||||
void *priv_parent;
|
||||
/* If set then another device is driving the monitor output and the EGA
|
||||
card should not attempt to display anything. */
|
||||
void (*render_override)(void *priv);
|
||||
void * priv_parent;
|
||||
} ega_t;
|
||||
#endif
|
||||
|
||||
@@ -159,6 +159,7 @@ extern const device_t atiega800p_device;
|
||||
extern const device_t iskra_ega_device;
|
||||
extern const device_t et2000_device;
|
||||
extern const device_t jega_device;
|
||||
extern const device_t jvga_device;
|
||||
#endif
|
||||
|
||||
extern int update_overscan;
|
||||
|
||||
@@ -310,6 +310,11 @@ typedef struct svga_t {
|
||||
void * ext8514;
|
||||
void * clock_gen8514;
|
||||
void * xga;
|
||||
|
||||
/* If set then another device is driving the monitor output and the EGA
|
||||
card should not attempt to display anything. */
|
||||
void (*render_override)(void *priv);
|
||||
void * priv_parent;
|
||||
} svga_t;
|
||||
|
||||
extern void ibm8514_set_poll(svga_t *svga);
|
||||
|
||||
@@ -25,14 +25,19 @@
|
||||
typedef struct vga_t {
|
||||
svga_t svga;
|
||||
|
||||
rom_t bios_rom;
|
||||
rom_t bios_rom;
|
||||
} vga_t;
|
||||
|
||||
extern void vga_out(uint16_t addr, uint8_t val, void *priv);
|
||||
extern void vga_out(uint16_t addr, uint8_t val, void *priv);
|
||||
extern uint8_t vga_in(uint16_t addr, void *priv);
|
||||
|
||||
void vga_disable(void* p);
|
||||
void vga_enable(void* p);
|
||||
int vga_isenabled(void* p);
|
||||
extern void vga_init(const device_t *info, vga_t *vga, int enabled);
|
||||
|
||||
extern void vga_disable(void* p);
|
||||
extern void vga_enable(void* p);
|
||||
|
||||
extern int vga_isenabled(void* p);
|
||||
|
||||
extern video_timings_t timing_vga;
|
||||
|
||||
#endif /*VIDEO_VGA_H*/
|
||||
|
||||
Reference in New Issue
Block a user