diff options
| author | 2016-07-23 15:31:55 +0200 | |
|---|---|---|
| committer | 2016-07-23 15:33:15 +0200 | |
| commit | 6b70c2a0e89685a4af8edf46973f2f368d868c23 (patch) | |
| tree | 3e1f4980292f44101831c9ec497865f3d4dbcfe7 /scripts | |
| parent | ac9001694f08b2c411a15b398997813cdb00d7be (diff) | |
Add a device as proof of concept which merges several input lines into a common output line, supporting both active high and active low inputs
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/src/machine.lua | 11 | ||||
| -rw-r--r-- | scripts/target/mame/arcade.lua | 1 | ||||
| -rw-r--r-- | scripts/target/mame/mess.lua | 1 |
3 files changed, 13 insertions, 0 deletions
diff --git a/scripts/src/machine.lua b/scripts/src/machine.lua index a4e3a9032cc..45753bf8bde 100644 --- a/scripts/src/machine.lua +++ b/scripts/src/machine.lua @@ -2914,3 +2914,14 @@ if (MACHINES["SCNXX562"]~=null) then MAME_DIR .. "src/devices/machine/scnxx562.h", } end + +--------------------------------------------------- +-- +--@src/devices/machine/input_merger.h,MACHINES["INPUT_MERGER"] = true +--------------------------------------------------- +if (MACHINES["INPUT_MERGER"]~=null) then + files { + MAME_DIR .. "src/devices/machine/input_merger.cpp", + MAME_DIR .. "src/devices/machine/input_merger.h", + } +end diff --git a/scripts/target/mame/arcade.lua b/scripts/target/mame/arcade.lua index 8d0f32042d4..27a224055b2 100644 --- a/scripts/target/mame/arcade.lua +++ b/scripts/target/mame/arcade.lua @@ -572,6 +572,7 @@ MACHINES["PCI9050"] = true MACHINES["GENPC"] = true MACHINES["GEN_LATCH"] = true MACHINES["WATCHDOG"] = true +MACHINES["INPUT_MERGER"] = true -------------------------------------------------- -- specify available bus cores diff --git a/scripts/target/mame/mess.lua b/scripts/target/mame/mess.lua index 44b95bf5615..2377ea4adfd 100644 --- a/scripts/target/mame/mess.lua +++ b/scripts/target/mame/mess.lua @@ -586,6 +586,7 @@ MACHINES["APPLE_FDC"] = true MACHINES["SONY_DRIVE"] = true MACHINES["SCNXX562"] = true MACHINES["FGA002"] = true +MACHINES["INPUT_MERGER"] = true -------------------------------------------------- -- specify available bus cores |
