Small fixes. Bump version.
This commit is contained in:
@@ -632,10 +632,6 @@ gd54xx_out(uint16_t addr, uint8_t val, priv_t priv)
|
|||||||
svga->seqregs[8] = val;
|
svga->seqregs[8] = val;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 0x09:
|
|
||||||
svga->seqregs[9] = 0xfc;
|
|
||||||
break;
|
|
||||||
|
|
||||||
case 0x0a:
|
case 0x0a:
|
||||||
if (is_5426(svga)) {
|
if (is_5426(svga)) {
|
||||||
svga->seqregs[0x0a] = val;
|
svga->seqregs[0x0a] = val;
|
||||||
@@ -1092,8 +1088,6 @@ gd54xx_in(uint16_t addr, priv_t priv)
|
|||||||
case 0x1b: case 0x1c: case 0x1d: case 0x1e:
|
case 0x1b: case 0x1c: case 0x1d: case 0x1e:
|
||||||
return dev->vclk_d[svga->seqaddr-0x1b];
|
return dev->vclk_d[svga->seqaddr-0x1b];
|
||||||
}
|
}
|
||||||
|
|
||||||
DBGLOG(0,"SEQREG read %x, value %x\n", (svga->seqaddr & 0x3f), svga->seqregs[svga->seqaddr & 0x3f]);
|
|
||||||
return svga->seqregs[svga->seqaddr & 0x3f];
|
return svga->seqregs[svga->seqaddr & 0x3f];
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
* Definitions for the generic SVGA driver.
|
* Definitions for the generic SVGA driver.
|
||||||
*
|
*
|
||||||
* Version: @(#)vid_svga.h 1.0.8 2019/05/17
|
* Version: @(#)vid_svga.h 1.0.9 2019/10/21
|
||||||
*
|
*
|
||||||
* Authors: Fred N. van Kempen, <decwiz@yahoo.com>
|
* Authors: Fred N. van Kempen, <decwiz@yahoo.com>
|
||||||
* Miran Grca, <mgrca8@gmail.com>
|
* Miran Grca, <mgrca8@gmail.com>
|
||||||
@@ -40,7 +40,7 @@
|
|||||||
# define VIDEO_SVGA_H
|
# define VIDEO_SVGA_H
|
||||||
|
|
||||||
#define FLAG_EXTRA_BANKS 1
|
#define FLAG_EXTRA_BANKS 1
|
||||||
#define FLAG_ADDR_BY8 2
|
#define FLAG_ADDR_BY8 2
|
||||||
#define FLAG_LATCH8 4
|
#define FLAG_LATCH8 4
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|||||||
@@ -570,7 +570,6 @@ svga_render_8bpp_highres(svga_t *svga)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// VERIFY
|
|
||||||
void svga_render_8bpp_gs_lowres(svga_t *svga)
|
void svga_render_8bpp_gs_lowres(svga_t *svga)
|
||||||
{
|
{
|
||||||
int y_add = enable_overscan ? (overscan_y >> 1) : 0;
|
int y_add = enable_overscan ? (overscan_y >> 1) : 0;
|
||||||
@@ -712,7 +711,6 @@ void svga_render_8bpp_rgb_highres(svga_t *svga)
|
|||||||
svga->ma &= svga->vram_display_mask;
|
svga->ma &= svga->vram_display_mask;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// VERIFY
|
|
||||||
|
|
||||||
void
|
void
|
||||||
svga_render_15bpp_lowres(svga_t *svga)
|
svga_render_15bpp_lowres(svga_t *svga)
|
||||||
@@ -789,7 +787,6 @@ svga_render_15bpp_highres(svga_t *svga)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//VERIFY
|
|
||||||
void
|
void
|
||||||
svga_render_mixed_lowres(svga_t *svga)
|
svga_render_mixed_lowres(svga_t *svga)
|
||||||
{
|
{
|
||||||
@@ -825,7 +822,6 @@ svga_render_mixed_lowres(svga_t *svga)
|
|||||||
svga->ma &= svga->vram_display_mask;
|
svga->ma &= svga->vram_display_mask;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//VERIFY
|
|
||||||
|
|
||||||
void
|
void
|
||||||
svga_render_mixed_highres(svga_t *svga)
|
svga_render_mixed_highres(svga_t *svga)
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
* Main video-rendering module.
|
* Main video-rendering module.
|
||||||
*
|
*
|
||||||
* Version: @(#)video.c 1.0.31 2019/05/05
|
* Version: @(#)video.c 1.0.32 2019/10/15
|
||||||
*
|
*
|
||||||
* Authors: Fred N. van Kempen, <decwiz@yahoo.com>
|
* Authors: Fred N. van Kempen, <decwiz@yahoo.com>
|
||||||
* Miran Grca, <mgrca8@gmail.com>
|
* Miran Grca, <mgrca8@gmail.com>
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
* Definitions for the video controller module.
|
* Definitions for the video controller module.
|
||||||
*
|
*
|
||||||
* Version: @(#)video.h 1.0.37 2019/06/05
|
* Version: @(#)video.h 1.0.38 2019/10/15
|
||||||
*
|
*
|
||||||
* Authors: Fred N. van Kempen, <decwiz@yahoo.com>
|
* Authors: Fred N. van Kempen, <decwiz@yahoo.com>
|
||||||
* Miran Grca, <mgrca8@gmail.com>
|
* Miran Grca, <mgrca8@gmail.com>
|
||||||
|
|||||||
Reference in New Issue
Block a user