WIN_SPECIFY command is now no longer strict on translation parameters with HDX images, fixes > 503 MB HDX images on 440FX;

Applied all mainline PCem commits (changes configuration files!);
Fixed EGA and (S)VGA overscan border drawing;
Added ability to invert the colors when using a (S)VGA graphics card, to appear like an early laptop monitor;
Changed version to 1.03.
This commit is contained in:
OBattler
2017-02-25 20:18:45 +01:00
parent 1d281ab0c3
commit ef41672b20
14 changed files with 301 additions and 230 deletions

View File

@@ -1605,26 +1605,26 @@ void svga_doblit(int y1, int y2, int wx, int wy, svga_t *svga)
{
if ((wx >= 160) && ((wy + 1) >= 120))
{
for (i = 0; i < 16; i++)
for (i = 0; i < (y_add >> 1); i++)
{
p = &((uint32_t *)buffer32->line[i])[32];
q = &((uint32_t *)buffer32->line[ysize + y_add - 1 - i])[32];
q = &((uint32_t *)buffer32->line[ysize + (y_add >> 1) + i])[32];
for (j = 0; j < (xsize + x_add); j++)
{
p[j] = svga->pallook[svga->attrregs[0x11]];
q[j] = svga->pallook[svga->attrregs[0x11]];
p[j] = svga_color_transform(svga->pallook[svga->attrregs[0x11]]);
q[j] = svga_color_transform(svga->pallook[svga->attrregs[0x11]]);
}
}
for (i = 16; i < (ysize + 16); i ++)
for (i = (y_add >> 1); i < (ysize + (y_add >> 1)); i ++)
{
p = &((uint32_t *)buffer32->line[i])[32];
for (j = 0; j < 8; j++)
{
p[j] = svga->pallook[svga->attrregs[0x11]];
p[xsize + x_add - 1 - j] = svga->pallook[svga->attrregs[0x11]];
p[j] = svga_color_transform(svga->pallook[svga->attrregs[0x11]]);
p[xsize + (x_add >> 1) + j] = svga_color_transform(svga->pallook[svga->attrregs[0x11]]);
}
}
}