mirror of
https://github.com/holub/mame
synced 2025-10-04 16:34:53 +03:00
VGA/SVGA display parameter correction
This commit is contained in:
parent
0bf3cc61be
commit
c6fce9b867
@ -33,7 +33,7 @@ DEFINE_DEVICE_TYPE(ISA16_SVGA_CIRRUS_GD542X, isa16_svga_cirrus_gd542x_device, "c
|
||||
void isa16_svga_cirrus_device::device_add_mconfig(machine_config &config)
|
||||
{
|
||||
screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER));
|
||||
screen.set_raw(XTAL(25'174'800), 900, 0, 640, 526, 0, 480);
|
||||
screen.set_raw(25.175_MHz_XTAL, 800, 0, 640, 524, 0, 480);
|
||||
screen.set_screen_update("vga", FUNC(cirrus_gd5430_device::screen_update));
|
||||
|
||||
CIRRUS_GD5430(config, "vga", 0).set_screen("screen");
|
||||
@ -113,7 +113,7 @@ ROM_END
|
||||
void isa16_svga_cirrus_gd542x_device::device_add_mconfig(machine_config &config)
|
||||
{
|
||||
screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER));
|
||||
screen.set_raw(XTAL(25'174'800), 900, 0, 640, 526, 0, 480);
|
||||
screen.set_raw(25.175_MHz_XTAL, 800, 0, 640, 524, 0, 480);
|
||||
screen.set_screen_update("vga", FUNC(cirrus_gd5428_device::screen_update));
|
||||
|
||||
CIRRUS_GD5428(config, "vga", 0).set_screen("screen");
|
||||
|
@ -43,7 +43,7 @@ DEFINE_DEVICE_TYPE(ISA16_SVGA_S3, isa16_svga_s3_device, "s3_764", "Number Nine 9
|
||||
void isa16_svga_s3_device::device_add_mconfig(machine_config &config)
|
||||
{
|
||||
screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER));
|
||||
screen.set_raw(XTAL(25'174'800), 900, 0, 640, 526, 0, 480);
|
||||
screen.set_raw(25.175_MHz_XTAL, 800, 0, 640, 524, 0, 480);
|
||||
screen.set_screen_update("vga", FUNC(s3_vga_device::screen_update));
|
||||
|
||||
S3_VGA(config, "vga", 0).set_screen("screen");
|
||||
@ -149,7 +149,7 @@ DEFINE_DEVICE_TYPE(ISA16_S3VIRGE, isa16_s3virge_device, "s3virge", "S3 ViRGE Gra
|
||||
void isa16_s3virge_device::device_add_mconfig(machine_config &config)
|
||||
{
|
||||
screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER));
|
||||
screen.set_raw(XTAL(25'174'800), 900, 0, 640, 526, 0, 480);
|
||||
screen.set_raw(25.175_MHz_XTAL, 800, 0, 640, 524, 0, 480);
|
||||
screen.set_screen_update("vga", FUNC(s3virge_vga_device::screen_update));
|
||||
|
||||
S3VIRGE(config, "vga", 0).set_screen("screen");
|
||||
@ -230,7 +230,7 @@ DEFINE_DEVICE_TYPE(ISA16_S3VIRGEDX, isa16_s3virgedx_device, "s3virgedx", "S3 ViR
|
||||
void isa16_s3virgedx_device::device_add_mconfig(machine_config &config)
|
||||
{
|
||||
screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER));
|
||||
screen.set_raw(XTAL(25'174'800), 900, 0, 640, 526, 0, 480);
|
||||
screen.set_raw(25.175_MHz_XTAL, 800, 0, 640, 524, 0, 480);
|
||||
screen.set_screen_update("vga", FUNC(s3virgedx_vga_device::screen_update));
|
||||
|
||||
S3VIRGEDX(config, "vga", 0).set_screen("screen");
|
||||
@ -312,7 +312,7 @@ DEFINE_DEVICE_TYPE(ISA16_DMS3D2KPRO, isa16_stealth3d2kpro_device, "dms3d2kp", "D
|
||||
void isa16_stealth3d2kpro_device::device_add_mconfig(machine_config &config)
|
||||
{
|
||||
screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER));
|
||||
screen.set_raw(XTAL(25'174'800), 900, 0, 640, 526, 0, 480);
|
||||
screen.set_raw(25.175_MHz_XTAL, 800, 0, 640, 524, 0, 480);
|
||||
screen.set_screen_update("vga", FUNC(s3virgedx_rev1_vga_device::screen_update));
|
||||
|
||||
S3VIRGEDX1(config, "vga", 0).set_screen("screen");
|
||||
|
@ -33,7 +33,7 @@ DEFINE_DEVICE_TYPE(ISA16_SVGA_TGUI9680, isa16_svga_tgui9680_device, "tgui9680",
|
||||
void isa16_svga_tgui9680_device::device_add_mconfig(machine_config &config)
|
||||
{
|
||||
screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER));
|
||||
screen.set_raw(XTAL(25'174'800), 900, 0, 640, 526, 0, 480);
|
||||
screen.set_raw(25.175_MHz_XTAL, 800, 0, 640, 524, 0, 480);
|
||||
screen.set_screen_update("vga", FUNC(trident_vga_device::screen_update));
|
||||
|
||||
TRIDENT_VGA(config, "vga", 0).set_screen("screen");
|
||||
|
@ -32,7 +32,7 @@ DEFINE_DEVICE_TYPE(ISA8_SVGA_ET4K, isa8_svga_et4k_device, "et4000", "SVGA Tseng
|
||||
void isa8_svga_et4k_device::device_add_mconfig(machine_config &config)
|
||||
{
|
||||
screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER));
|
||||
screen.set_raw(XTAL(25'174'800), 900, 0, 640, 526, 0, 480);
|
||||
screen.set_raw(25.175_MHz_XTAL, 800, 0, 640, 524, 0, 480);
|
||||
screen.set_screen_update("vga", FUNC(tseng_vga_device::screen_update));
|
||||
|
||||
TSENG_VGA(config, "vga", 0).set_screen("screen");
|
||||
|
@ -30,7 +30,7 @@ DEFINE_DEVICE_TYPE(ISA8_VGA, isa8_vga_device, "ibm_vga", "IBM VGA Graphics Card"
|
||||
void isa8_vga_device::device_add_mconfig(machine_config &config)
|
||||
{
|
||||
screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER));
|
||||
screen.set_raw(XTAL(25'174'800), 900, 0, 640, 526, 0, 480);
|
||||
screen.set_raw(25.175_MHz_XTAL, 800, 0, 640, 524, 0, 480);
|
||||
screen.set_screen_update("vga", FUNC(vga_device::screen_update));
|
||||
|
||||
VGA(config, "vga", 0).set_screen("screen");
|
||||
|
@ -79,7 +79,7 @@ DEFINE_DEVICE_TYPE(ISA16_SVGA_MACH64, isa16_vga_mach64_device, "mach64
|
||||
void isa16_vga_gfxultra_device::device_add_mconfig(machine_config &config)
|
||||
{
|
||||
screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER));
|
||||
screen.set_raw(XTAL(25'174'800), 900, 0, 640, 526, 0, 480);
|
||||
screen.set_raw(25.175_MHz_XTAL, 800, 0, 640, 524, 0, 480);
|
||||
screen.set_screen_update("vga", FUNC(ati_vga_device::screen_update));
|
||||
|
||||
ATI_VGA(config, "vga", 0).set_screen("screen");
|
||||
@ -88,7 +88,7 @@ void isa16_vga_gfxultra_device::device_add_mconfig(machine_config &config)
|
||||
void isa16_vga_gfxultrapro_device::device_add_mconfig(machine_config &config)
|
||||
{
|
||||
screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER));
|
||||
screen.set_raw(XTAL(25'174'800), 900, 0, 640, 526, 0, 480);
|
||||
screen.set_raw(25.175_MHz_XTAL, 800, 0, 640, 524, 0, 480);
|
||||
screen.set_screen_update("vga", FUNC(mach32_device::screen_update));
|
||||
|
||||
ATIMACH32(config, "vga", 0).set_screen("screen");
|
||||
@ -97,7 +97,7 @@ void isa16_vga_gfxultrapro_device::device_add_mconfig(machine_config &config)
|
||||
void isa16_vga_mach64_device::device_add_mconfig(machine_config &config)
|
||||
{
|
||||
screen_device &screen(SCREEN(config, "screen", SCREEN_TYPE_RASTER));
|
||||
screen.set_raw(XTAL(25'174'800), 900, 0, 640, 526, 0, 480);
|
||||
screen.set_raw(25.175_MHz_XTAL, 800, 0, 640, 524, 0, 480);
|
||||
screen.set_screen_update("vga", FUNC(mach64_device::screen_update));
|
||||
|
||||
ATIMACH64(config, "vga", 0).set_screen("screen");
|
||||
|
Loading…
Reference in New Issue
Block a user