Added monochrome green/amber/white monitor selection for CGA, MDA and Hercules. Patch from basic2004.
This commit is contained in:
parent
fbd0f01967
commit
7af491d719
6 changed files with 300 additions and 59 deletions
|
|
@ -99,3 +99,12 @@ void hline(BITMAP *b, int x1, int y, int x2, int col);
|
|||
void destroy_bitmap(BITMAP *b);
|
||||
|
||||
extern uint32_t cgapal[16];
|
||||
|
||||
#define DISPLAY_RGB 0
|
||||
#define DISPLAY_COMPOSITE 1
|
||||
#define DISPLAY_RGB_NO_BROWN 2
|
||||
#define DISPLAY_GREEN 3
|
||||
#define DISPLAY_AMBER 4
|
||||
#define DISPLAY_WHITE 5
|
||||
|
||||
void cgapal_rebuild(int display_type, int contrast);
|
||||
|
|
|
|||
Loading…
Reference in a new issue