Add EGA display type configuration.
This commit is contained in:
parent
7a0398dd07
commit
a489f543fb
3 changed files with 100 additions and 13 deletions
|
|
@ -62,6 +62,7 @@ typedef struct ega_t
|
|||
int vrammask;
|
||||
|
||||
int video_res_x, video_res_y, video_bpp;
|
||||
int frames;
|
||||
} ega_t;
|
||||
|
||||
void *ega_standalone_init();
|
||||
|
|
@ -71,6 +72,6 @@ void ega_poll(void *p);
|
|||
void ega_recalctimings(struct ega_t *ega);
|
||||
void ega_write(uint32_t addr, uint8_t val, void *p);
|
||||
uint8_t ega_read(uint32_t addr, void *p);
|
||||
void ega_init(ega_t *ega);
|
||||
void ega_init(ega_t *ega, int monitor_type, int is_mono);
|
||||
|
||||
extern device_t ega_device;
|
||||
|
|
|
|||
Loading…
Reference in a new issue