Fixed CGA, Hercules, and MDA for the second time, per suggestion and code from basic2004;

Added IBM PS/2 Model 30 emulation per mainline PCem patch from dns2kv2;
Commented out the Chips & Technologies VGA 451 as it needs further work;
Added the ability to disable XTIDE;
Prepared the icon that will be used for stable builds.
This commit is contained in:
OBattler
2017-02-20 00:16:42 +01:00
parent 7dccffbb0d
commit df4b4410e6
23 changed files with 346 additions and 66 deletions

View File

@@ -302,7 +302,11 @@ void *mda_init()
overscan_x = overscan_y = 0;
#ifndef __unix
cga_palette = device_get_config_int("rgb_type");
cga_palette = device_get_config_int("rgb_type") << 1;
if (cga_palette > 6)
{
cga_palette = 0;
}
cgapal_rebuild();
#endif
@@ -334,20 +338,20 @@ static device_config_t mda_config[] =
.selection =
{
{
.description = "Default 4-color",
.description = "Default",
.value = 0
},
{
.description = "Green, 4-color",
.description = "Green",
.value = 1
},
{
.description = "Amber, 4-color",
.value = 3
.description = "Amber",
.value = 2
},
{
.description = "Gray, 4-color",
.value = 5
.description = "Gray",
.value = 3
},
{
.description = ""