Amstrad changes :

- Add PPC512/640 emulation
- Add TV display type to Sinclair PC200
- Add font selection to PC1512
- Add disc change line to PC200
Patch from JohnElliott
This commit is contained in:
SarahW 2019-04-15 19:48:41 +01:00
commit 1f5fc45c04
20 changed files with 1281 additions and 138 deletions

View file

@ -23,8 +23,8 @@ extern BITMAP *buffer32;
int video_card_available(int card);
char *video_card_getname(int card);
struct device_t *video_card_getdevice(int card);
int video_card_has_config(int card);
struct device_t *video_card_getdevice(int card, int romset);
int video_card_has_config(int card, int romset);
int video_card_getid(char *s);
int video_old_to_new(int card);
int video_new_to_old(int card);
@ -82,7 +82,21 @@ extern int vid_resize;
void video_wait_for_blit();
void video_wait_for_buffer();
void loadfont(char *s, int format);
typedef enum
{
FONT_MDA, /* MDA 8x14 */
FONT_PC200, /* MDA 8x14 and CGA 8x8, four fonts */
FONT_CGA, /* CGA 8x8, two fonts */
FONT_WY700, /* Wy700 16x16, two fonts */
FONT_MDSI, /* MDSI Genius 8x12 */
FONT_T3100E, /* Toshiba T3100e, four fonts */
FONT_KSC5601, /* Korean KSC-5601 */
FONT_SIGMA400, /* Sigma Color 400, 8x8 and 8x16 */
} fontformat_t;
void loadfont(char *s, fontformat_t format);
void initvideo();
void video_init();