summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src
diff options
context:
space:
mode:
author Angelo Salese <angelosa@users.noreply.github.com>2023-05-30 02:19:46 +0200
committer GitHub <noreply@github.com>2023-05-30 02:19:46 +0200
commit93888542d26c2d3083bb816375740f6af3810059 (patch)
tree378639d0028ee0c162ad0a1ab538c932a8fc8102 /scripts/src
parenta5217a691781c7be2531c1830f97dc5de9865f2f (diff)
video/pc_vga.cpp: part 1 of interface modernization (#11284)
- video/pc_vga.cpp: Move everything that doesn't belong to main VGA/SVGA interfaces to per-manufacturer family files; - shared/pcshare.cpp: retire pcat_base_state::pcvideo_* fns; - video/pc_vga.cpp: temporary move gamtor_vga_device to misc/gamtor.cpp; - bus/isa/isa_cards.cpp: retire TGUI9680 from being selected (all refs points to be a PCI card only, there's mention of a VLB card but haven't seen a single retail dump/photo yet) - bus/isa/svga_trident.cpp: add TVGA9000 ISA card - bus/isa/svga_tseng.cpp: add earlier ColorImage ET4000AX variant - bus/isa/svga_tseng.cpp: add Kasan Hangulmadang-16 Korean variant ISA - Adds a very preliminary implementation of nVidia Riva 128 PCI card, added as a temp target in pc/pcipc.cpp (pcinv3); - video/pc_vga.cpp: Rework and fix VGA input sense (necessary to allow Riva 128 to survive POST); - video/pc_vga_s3.cpp: Fix s3_vga_device inheritance (was subclassing from ati_vga_device) - pc/calchase.cpp: convert custom JAMMA i/f to ISA device; - pc/calchase.cpp: connect Trident VGA to ISA bus;
Diffstat (limited to 'scripts/src')
-rw-r--r--scripts/src/bus.lua2
-rw-r--r--scripts/src/video.lua132
2 files changed, 130 insertions, 4 deletions
diff --git a/scripts/src/bus.lua b/scripts/src/bus.lua
index e39ddec815f..41894e6d422 100644
--- a/scripts/src/bus.lua
+++ b/scripts/src/bus.lua
@@ -1698,8 +1698,6 @@ if (BUSES["ISA"]~=null) then
MAME_DIR .. "src/devices/bus/isa/lpt.h",
MAME_DIR .. "src/devices/bus/isa/lrk330.cpp",
MAME_DIR .. "src/devices/bus/isa/lrk330.h",
- MAME_DIR .. "src/devices/bus/isa/mach32.cpp",
- MAME_DIR .. "src/devices/bus/isa/mach32.h",
MAME_DIR .. "src/devices/bus/isa/mc1502_fdc.cpp",
MAME_DIR .. "src/devices/bus/isa/mc1502_fdc.h",
MAME_DIR .. "src/devices/bus/isa/mc1502_rom.cpp",
diff --git a/scripts/src/video.lua b/scripts/src/video.lua
index 2f1b0abfb39..dd0d6575a75 100644
--- a/scripts/src/video.lua
+++ b/scripts/src/video.lua
@@ -283,6 +283,18 @@ end
--------------------------------------------------
--
+--@src/devices/video/riva128.h,VIDEOS["RIVA128"] = true
+--------------------------------------------------
+
+if (VIDEOS["RIVA128"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/riva128.cpp",
+ MAME_DIR .. "src/devices/video/riva128.h",
+ }
+end
+
+--------------------------------------------------
+--
--@src/devices/video/gf4500.h,VIDEOS["GF4500"] = true
--------------------------------------------------
@@ -818,8 +830,64 @@ if (VIDEOS["PC_VGA"]~=null) then
files {
MAME_DIR .. "src/devices/video/pc_vga.cpp",
MAME_DIR .. "src/devices/video/pc_vga.h",
- MAME_DIR .. "src/devices/bus/isa/trident.cpp",
- MAME_DIR .. "src/devices/bus/isa/trident.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/pc_vga_ati.h,VIDEOS["PC_VGA_ATI"] = true
+--------------------------------------------------
+
+if (VIDEOS["PC_VGA_ATI"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/pc_vga_ati.cpp",
+ MAME_DIR .. "src/devices/video/pc_vga_ati.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/ibm8514a.h,VIDEOS["IBM8514A"] = true
+--------------------------------------------------
+
+if (VIDEOS["IBM8514A"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/ibm8514a.cpp",
+ MAME_DIR .. "src/devices/video/ibm8514a.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/ati_mach8.h,VIDEOS["ATI_MACH8"] = true
+--------------------------------------------------
+
+if (VIDEOS["ATI_MACH8"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/ati_mach8.cpp",
+ MAME_DIR .. "src/devices/video/ati_mach8.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/ati_mach8.h,VIDEOS["ATI_MACH32"] = true
+--------------------------------------------------
+
+if (VIDEOS["ATI_MACH32"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/ati_mach32.cpp",
+ MAME_DIR .. "src/devices/video/ati_mach32.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/clgd542x.h,VIDEOS["PC_VGA_CIRRUS"] = true
+--------------------------------------------------
+
+if (VIDEOS["PC_VGA_CIRRUS"]~=null) then
+ files {
MAME_DIR .. "src/devices/video/clgd542x.cpp",
MAME_DIR .. "src/devices/video/clgd542x.h",
}
@@ -827,6 +895,66 @@ end
--------------------------------------------------
--
+--@src/devices/video/pc_vga_nvidia.h,VIDEOS["PC_VGA_NVIDIA"] = true
+--------------------------------------------------
+
+if (VIDEOS["PC_VGA_NVIDIA"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/pc_vga_nvidia.cpp",
+ MAME_DIR .. "src/devices/video/pc_vga_nvidia.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/pc_vga_nvidia.h,VIDEOS["PC_VGA_S3"] = true
+--------------------------------------------------
+
+if (VIDEOS["PC_VGA_S3"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/pc_vga_s3.cpp",
+ MAME_DIR .. "src/devices/video/pc_vga_s3.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/pc_vga_trident.h,VIDEOS["PC_VGA_TRIDENT"] = true
+--------------------------------------------------
+
+if (VIDEOS["PC_VGA_TRIDENT"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/pc_vga_trident.cpp",
+ MAME_DIR .. "src/devices/video/pc_vga_trident.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/pc_vga_tseng.h,VIDEOS["PC_VGA_TSENG"] = true
+--------------------------------------------------
+
+if (VIDEOS["PC_VGA_TSENG"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/pc_vga_tseng.cpp",
+ MAME_DIR .. "src/devices/video/pc_vga_tseng.h",
+ }
+end
+
+--------------------------------------------------
+--
+--@src/devices/video/pc_xga.h,VIDEOS["PC_XGA"] = true
+--------------------------------------------------
+
+if (VIDEOS["PC_XGA"]~=null) then
+ files {
+ MAME_DIR .. "src/devices/video/pc_xga.cpp",
+ MAME_DIR .. "src/devices/video/pc_xga.h",
+ }
+end
+
+--------------------------------------------------
+--
--@src/devices/video/virge_pci.h,VIDEOS["VIRGE_PCI"] = true
--------------------------------------------------