diff options
author | 2024-05-09 00:52:59 +0100 | |
---|---|---|
committer | 2024-05-09 00:52:59 +0100 | |
commit | d2a8043c4b4d04c5771e888205a59f8998645168 (patch) | |
tree | 413c0262a2a06d074e6856aa10c7a20c0922efda /scripts/src | |
parent | 0133d14353c655a8df57ea31cd2a310ea7701142 (diff) |
moved PC Card devices to src/devices/bus/pccard and changed signals to match specification to avoid unnecessary inversions. [smf]
KONAMI_DUAL_PCCARD: New device, used by Punchmania 2 to allow 2 x 32MB linear flash cards to be installed in a single slot (replacing the previous 64MB linear flash card, that does not seem to exist). [smf]
Renamed the remaining 16MB and 32MB flash cards, to indicate that they are rebranded Fujitsu cards. [smf]
Linear flash cards can now be write protected. [smf]
ID245P01: New device, a rebranded Sharp linear flash card that is also used by Konami. [smf]
PM24276: New device, a 16 bit linear flash card. [smf]
ataflash creates a generic CIS and identify buffer if it is missing from the CHD, also the card can be detected. [smf]
Diffstat (limited to 'scripts/src')
-rw-r--r-- | scripts/src/bus.lua | 27 | ||||
-rw-r--r-- | scripts/src/machine.lua | 50 |
2 files changed, 23 insertions, 54 deletions
diff --git a/scripts/src/bus.lua b/scripts/src/bus.lua index 79c00329c85..f0f2e9c0006 100644 --- a/scripts/src/bus.lua +++ b/scripts/src/bus.lua @@ -488,10 +488,6 @@ end --@src/devices/bus/ata/ataintf.h,BUSES["ATA"] = true --------------------------------------------------- -if (MACHINES["ATAFLASH"]~=null) then - BUSES["ATA"] = true -end - if (BUSES["ATA"]~=null) then files { MAME_DIR .. "src/devices/bus/ata/atadev.cpp", @@ -2193,6 +2189,29 @@ end --------------------------------------------------- -- +--@src/devices/bus/pccard/pccard.h,BUSES["PCCARD"] = true +--------------------------------------------------- + +if (BUSES["PCCARD"]~=null) then + files { + MAME_DIR .. "src/devices/bus/pccard/pccard.cpp", + MAME_DIR .. "src/devices/bus/pccard/pccard.h", + MAME_DIR .. "src/devices/bus/pccard/ataflash.cpp", + MAME_DIR .. "src/devices/bus/pccard/ataflash.h", + MAME_DIR .. "src/devices/bus/pccard/k573npu.cpp", + MAME_DIR .. "src/devices/bus/pccard/k573npu.h", + MAME_DIR .. "src/devices/bus/pccard/konami_dual.cpp", + MAME_DIR .. "src/devices/bus/pccard/konami_dual.h", + MAME_DIR .. "src/devices/bus/pccard/linflash.cpp", + MAME_DIR .. "src/devices/bus/pccard/linflash.h", + MAME_DIR .. "src/devices/bus/pccard/sram.cpp", + MAME_DIR .. "src/devices/bus/pccard/sram.h", + } +end + + +--------------------------------------------------- +-- --@src/devices/bus/pc_kbd/pc_kbdc.h,BUSES["PC_KBD"] = true --------------------------------------------------- diff --git a/scripts/src/machine.lua b/scripts/src/machine.lua index 147271a2626..3953786b204 100644 --- a/scripts/src/machine.lua +++ b/scripts/src/machine.lua @@ -920,19 +920,6 @@ end --------------------------------------------------- -- ---@src/devices/machine/ataflash.h,MACHINES["ATAFLASH"] = true ---------------------------------------------------- - -if (MACHINES["ATAFLASH"]~=null) then - MACHINES["PCCARD"] = true - files { - MAME_DIR .. "src/devices/machine/ataflash.cpp", - MAME_DIR .. "src/devices/machine/ataflash.h", - } -end - ---------------------------------------------------- --- --@src/devices/machine/atastorage.h,MACHINES["ATASTORAGE"] = true --------------------------------------------------- @@ -2110,18 +2097,6 @@ end --------------------------------------------------- -- ---@src/devices/machine/linflash.h,MACHINES["LINFLASH"] = true ---------------------------------------------------- - -if (MACHINES["LINFLASH"]~=null) then - files { - MAME_DIR .. "src/devices/machine/linflash.cpp", - MAME_DIR .. "src/devices/machine/linflash.h", - } -end - ---------------------------------------------------- --- --@src/devices/machine/locomo.h,MACHINES["LOCOMO"] = true --------------------------------------------------- @@ -3067,7 +3042,6 @@ end --------------------------------------------------- if (MACHINES["RF5C296"]~=null) then - MACHINES["PCCARD"] = true files { MAME_DIR .. "src/devices/machine/rf5c296.cpp", MAME_DIR .. "src/devices/machine/rf5c296.h", @@ -4142,18 +4116,6 @@ end --------------------------------------------------- -- ---@src/devices/machine/pccard.h,MACHINES["PCCARD"] = true ---------------------------------------------------- - -if (MACHINES["PCCARD"]~=null) then - files { - MAME_DIR .. "src/devices/machine/pccard.cpp", - MAME_DIR .. "src/devices/machine/pccard.h", - } -end - ---------------------------------------------------- --- --@src/devices/machine/i8255.h,MACHINES["I8255"] = true --------------------------------------------------- @@ -5322,18 +5284,6 @@ end --------------------------------------------------- -- ---@src/devices/machine/pccard_sram.h,MACHINES["PCCARD_SRAM"] = true ---------------------------------------------------- - -if (MACHINES["PCCARD_SRAM"]~=null) then - files { - MAME_DIR .. "src/devices/machine/pccard_sram.cpp", - MAME_DIR .. "src/devices/machine/pccard_sram.h", - } -end - ---------------------------------------------------- --- --@src/devices/machine/tc9223.h,MACHINES["TC9223"] = true --------------------------------------------------- |