summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2024-03-20 16:40:05 +0100
committer hap <happppp@users.noreply.github.com>2024-03-20 17:07:48 +0100
commit820720379991fa678066b4ad429f6c2b6fe15205 (patch)
tree823b50052498102892a427bee859e9a3249f19eb /src
parentc5662d1fff23747e7a966c9c19090561c2658ba4 (diff)
misc chess: small tweak to leds
New working systems ------------------- 416 XL (Yeno) [hap, Berger Achim]
Diffstat (limited to 'src')
-rw-r--r--src/mame/layout/cking_master.lay4
-rw-r--r--src/mame/layout/cking_triomphe.lay2
-rw-r--r--src/mame/layout/cxg_scptchess.lay2
-rw-r--r--src/mame/layout/cxg_scptchessa.lay2
-rw-r--r--src/mame/layout/fidel_cphantom.lay2
-rw-r--r--src/mame/layout/fidel_phantom.lay2
-rw-r--r--src/mame/layout/mephisto_bup.lay2
-rw-r--r--src/mame/layout/mephisto_milano.lay4
-rw-r--r--src/mame/layout/mephisto_mm2.lay2
-rw-r--r--src/mame/layout/mephisto_mm5.lay2
-rw-r--r--src/mame/layout/mephisto_modena.lay4
-rw-r--r--src/mame/layout/mephisto_mondial.lay2
-rw-r--r--src/mame/layout/mephisto_mondial2.lay2
-rw-r--r--src/mame/layout/mephisto_polgar.lay2
-rw-r--r--src/mame/layout/mephisto_risc.lay2
-rw-r--r--src/mame/layout/novag_accord.lay6
-rw-r--r--src/mame/layout/novag_cexpert.lay2
-rw-r--r--src/mame/layout/novag_cforte.lay6
-rw-r--r--src/mame/layout/novag_const.lay6
-rw-r--r--src/mame/layout/novag_constjr.lay6
-rw-r--r--src/mame/layout/novag_constq.lay6
-rw-r--r--src/mame/layout/novag_mentor16.lay6
-rw-r--r--src/mame/layout/novag_micro.lay6
-rw-r--r--src/mame/layout/novag_micro2.lay6
-rw-r--r--src/mame/layout/novag_primo.lay2
-rw-r--r--src/mame/layout/novag_scorpio68k.lay2
-rw-r--r--src/mame/layout/novag_sforte.lay2
-rw-r--r--src/mame/layout/novag_snova.lay2
-rw-r--r--src/mame/layout/novag_ssensor4.lay6
-rw-r--r--src/mame/layout/novag_supercon.lay6
-rw-r--r--src/mame/layout/novag_supremo.lay2
-rw-r--r--src/mame/layout/saitek_gk2000.lay2
-rw-r--r--src/mame/layout/yeno_416xl.lay556
-rw-r--r--src/mame/mame.lst3
-rw-r--r--src/mame/tryom/chess.cpp2
-rw-r--r--src/mame/tryom/omar.cpp3
-rw-r--r--src/mame/yeno/416xl.cpp222
37 files changed, 839 insertions, 57 deletions
diff --git a/src/mame/layout/cking_master.lay b/src/mame/layout/cking_master.lay
index 3c3a1e49a7c..b8b6c39b1ed 100644
--- a/src/mame/layout/cking_master.lay
+++ b/src/mame/layout/cking_master.lay
@@ -12,11 +12,11 @@ authors:hap
<element name="led" defstate="0">
<disk state="1"><color red="1.0" green="0.1" blue="0.15" /></disk>
- <disk state="0"><color red="0.17" green="0.015" blue="0.02" /></disk>
+ <disk state="0"><color red="1.0" green="0.1" blue="0.15" alpha="0.17" /></disk>
</element>
<element name="ledg" defstate="0">
<disk state="1"><color red="0.15" green="1.0" blue="0.1" /></disk>
- <disk state="0"><color red="0.02" green="0.17" blue="0.015" /></disk>
+ <disk state="0"><color red="0.15" green="1.0" blue="0.1" alpha="0.13" /></disk>
</element>
<element name="hlb" defstate="0">
diff --git a/src/mame/layout/cking_triomphe.lay b/src/mame/layout/cking_triomphe.lay
index 5c26ae68f32..0a1c4b1d0b2 100644
--- a/src/mame/layout/cking_triomphe.lay
+++ b/src/mame/layout/cking_triomphe.lay
@@ -12,7 +12,7 @@ authors:hap
<element name="led" defstate="0">
<disk state="1"><color red="1.0" green="0.1" blue="0.15" /></disk>
- <disk state="0"><color red="0.17" green="0.015" blue="0.02" /></disk>
+ <disk state="0"><color red="1.0" green="0.1" blue="0.15" alpha="0.17" /></disk>
</element>
<element name="ledg">
<disk><color red="0.15" green="1.0" blue="0.1" /></disk>
diff --git a/src/mame/layout/cxg_scptchess.lay b/src/mame/layout/cxg_scptchess.lay
index 0f7a9e57d19..d93d571e433 100644
--- a/src/mame/layout/cxg_scptchess.lay
+++ b/src/mame/layout/cxg_scptchess.lay
@@ -16,7 +16,7 @@ authors:hap
<element name="led" defstate="0">
<disk state="1"><color red="1.0" green="0.1" blue="0.15" /></disk>
- <disk state="0"><color red="0.17" green="0.015" blue="0.02" /></disk>
+ <disk state="0"><color red="1.0" green="0.1" blue="0.15" alpha="0.17" /></disk>
</element>
<element name="text_1"><text string="1"><color red="0.81" green="0.8" blue="0.79" /></text></element>
diff --git a/src/mame/layout/cxg_scptchessa.lay b/src/mame/layout/cxg_scptchessa.lay
index e722dcc5b36..4287783e8aa 100644
--- a/src/mame/layout/cxg_scptchessa.lay
+++ b/src/mame/layout/cxg_scptchessa.lay
@@ -16,7 +16,7 @@ authors:hap
<element name="led" defstate="0">
<disk state="1"><color red="1.0" green="0.1" blue="0.15" /></disk>
- <disk state="0"><color red="0.17" green="0.015" blue="0.02" /></disk>
+ <disk state="0"><color red="1.0" green="0.1" blue="0.15" alpha="0.17" /></disk>
</element>
<element name="text_1"><text string="1"><color red="0.81" green="0.8" blue="0.79" /></text></element>
diff --git a/src/mame/layout/fidel_cphantom.lay b/src/mame/layout/fidel_cphantom.lay
index d61b0c165e1..b09c58f9cd8 100644
--- a/src/mame/layout/fidel_cphantom.lay
+++ b/src/mame/layout/fidel_cphantom.lay
@@ -23,7 +23,7 @@ authors:Sandro Ronco, hap
<element name="led" defstate="0">
<disk state="1"><color red="0.1" green="1.0" blue="0.15" /></disk>
- <disk state="0"><color red="0.01" green="0.1" blue="0.015" /></disk>
+ <disk state="0"><color red="0.017" green="0.17" blue="0.0255" /></disk>
</element>
<element name="hlr" defstate="0">
diff --git a/src/mame/layout/fidel_phantom.lay b/src/mame/layout/fidel_phantom.lay
index ab19b2fced4..0ae379a9960 100644
--- a/src/mame/layout/fidel_phantom.lay
+++ b/src/mame/layout/fidel_phantom.lay
@@ -23,7 +23,7 @@ authors:Sandro Ronco, hap
<element name="led" defstate="0">
<disk state="1"><color red="1.0" green="0.1" blue="0.15" /></disk>
- <disk state="0"><color red="0.1" green="0.01" blue="0.015" /></disk>
+ <disk state="0"><color red="0.15" green="0.015" blue="0.0225" /></disk>
</element>
<element name="hlr" defstate="0">
diff --git a/src/mame/layout/mephisto_bup.lay b/src/mame/layout/mephisto_bup.lay
index aa09007f215..1f5112fb633 100644
--- a/src/mame/layout/mephisto_bup.lay
+++ b/src/mame/layout/mephisto_bup.lay
@@ -33,7 +33,7 @@ thanks-to:Franz Huber
</element>
<element name="led2" defstate="0">
<disk state="1"><color red="1.0" green="0.1" blue="0.15" /></disk>
- <disk state="0"><color red="0.17" green="0.015" blue="0.02" /></disk>
+ <disk state="0"><color red="1.0" green="0.1" blue="0.15" alpha="0.17" /></disk>
</element>
<element name="hlb" defstate="0">
<rect state="0">
diff --git a/src/mame/layout/mephisto_milano.lay b/src/mame/layout/mephisto_milano.lay
index 640ae155c73..d7a3b383e7f 100644
--- a/src/mame/layout/mephisto_milano.lay
+++ b/src/mame/layout/mephisto_milano.lay
@@ -32,11 +32,11 @@ authors:Sandro Ronco, hap
<element name="led" defstate="0">
<disk state="1"><color red="1.0" green="0.1" blue="0.15" /></disk>
- <disk state="0"><color red="0.17" green="0.015" blue="0.02" /></disk>
+ <disk state="0"><color red="1.0" green="0.1" blue="0.15" alpha="0.17" /></disk>
</element>
<element name="ledr" defstate="0">
<rect state="1"><color red="1.0" green="0.1" blue="0.15" /></rect>
- <rect state="0"><color red="0.17" green="0.015" blue="0.02" /></rect>
+ <rect state="0"><color red="1.0" green="0.1" blue="0.15" alpha="0.17" /></rect>
</element>
<element name="hlb" defstate="0">
<rect state="0">
diff --git a/src/mame/layout/mephisto_mm2.lay b/src/mame/layout/mephisto_mm2.lay
index 104f7626ac6..7c4e6dd8aa3 100644
--- a/src/mame/layout/mephisto_mm2.lay
+++ b/src/mame/layout/mephisto_mm2.lay
@@ -33,7 +33,7 @@ thanks-to:Franz Huber
</element>
<element name="led2" defstate="0">
<disk state="1"><color red="1.0" green="0.1" blue="0.15" /></disk>
- <disk state="0"><color red="0.17" green="0.015" blue="0.02" /></disk>
+ <disk state="0"><color red="1.0" green="0.1" blue="0.15" alpha="0.17" /></disk>
</element>
<element name="hlb" defstate="0">
<rect state="0">
diff --git a/src/mame/layout/mephisto_mm5.lay b/src/mame/layout/mephisto_mm5.lay
index 38d01d40e49..6eeb09d9991 100644
--- a/src/mame/layout/mephisto_mm5.lay
+++ b/src/mame/layout/mephisto_mm5.lay
@@ -35,7 +35,7 @@ thanks-to:Franz Huber
</element>
<element name="led2" defstate="0">
<disk state="1"><color red="1.0" green="0.1" blue="0.15" /></disk>
- <disk state="0"><color red="0.17" green="0.015" blue="0.02" /></disk>
+ <disk state="0"><color red="1.0" green="0.1" blue="0.15" alpha="0.17" /></disk>
</element>
<element name="hlb" defstate="0">
<rect state="0">
diff --git a/src/mame/layout/mephisto_modena.lay b/src/mame/layout/mephisto_modena.lay
index 48e90e5d95f..88e6fa6b8d5 100644
--- a/src/mame/layout/mephisto_modena.lay
+++ b/src/mame/layout/mephisto_modena.lay
@@ -31,11 +31,11 @@ authors:Sandro Ronco, hap
<element name="led" defstate="0">
<disk state="1"><color red="1.0" green="0.1" blue="0.15" /></disk>
- <disk state="0"><color red="0.17" green="0.015" blue="0.02" /></disk>
+ <disk state="0"><color red="1.0" green="0.1" blue="0.15" alpha="0.17" /></disk>
</element>
<element name="ledr" defstate="0">
<rect state="1"><color red="1.0" green="0.1" blue="0.15" /></rect>
- <rect state="0"><color red="0.17" green="0.015" blue="0.02" /></rect>
+ <rect state="0"><color red="1.0" green="0.1" blue="0.15" alpha="0.17" /></rect>
</element>
<element name="hlb" defstate="0">
<rect state="0">
diff --git a/src/mame/layout/mephisto_mondial.lay b/src/mame/layout/mephisto_mondial.lay
index deb17d1313f..eacef702965 100644
--- a/src/mame/layout/mephisto_mondial.lay
+++ b/src/mame/layout/mephisto_mondial.lay
@@ -13,7 +13,7 @@ authors:Sandro Ronco, hap
</element>
<element name="led2" defstate="0">
<rect state="1"><color red="1.0" green="0.1" blue="0.15" /></rect>
- <rect state="0"><color red="0.17" green="0.015" blue="0.02" /></rect>
+ <rect state="0"><color red="1.0" green="0.1" blue="0.15" alpha="0.17" /></rect>
</element>
<element name="hlb" defstate="0">
<rect>
diff --git a/src/mame/layout/mephisto_mondial2.lay b/src/mame/layout/mephisto_mondial2.lay
index c4bebb9d928..2ab94851c10 100644
--- a/src/mame/layout/mephisto_mondial2.lay
+++ b/src/mame/layout/mephisto_mondial2.lay
@@ -13,7 +13,7 @@ authors:Sandro Ronco, hap
</element>
<element name="led2" defstate="0">
<rect state="1"><color red="1.0" green="0.1" blue="0.15" /></rect>
- <rect state="0"><color red="0.17" green="0.015" blue="0.02" /></rect>
+ <rect state="0"><color red="1.0" green="0.1" blue="0.15" alpha="0.17" /></rect>
</element>
<element name="hlb" defstate="0">
<rect>
diff --git a/src/mame/layout/mephisto_polgar.lay b/src/mame/layout/mephisto_polgar.lay
index ea6315157e6..042a3139011 100644
--- a/src/mame/layout/mephisto_polgar.lay
+++ b/src/mame/layout/mephisto_polgar.lay
@@ -34,7 +34,7 @@ authors:Sandro Ronco, hap
</element>
<element name="led2" defstate="0">
<disk state="1"><color red="1.0" green="0.1" blue="0.15" /></disk>
- <disk state="0"><color red="0.17" green="0.015" blue="0.02" /></disk>
+ <disk state="0"><color red="1.0" green="0.1" blue="0.15" alpha="0.17" /></disk>
</element>
<element name="hlb" defstate="0">
<rect state="0">
diff --git a/src/mame/layout/mephisto_risc.lay b/src/mame/layout/mephisto_risc.lay
index df249db3e67..6dc4d60a7e8 100644
--- a/src/mame/layout/mephisto_risc.lay
+++ b/src/mame/layout/mephisto_risc.lay
@@ -34,7 +34,7 @@ authors:Sandro Ronco, hap
</element>
<element name="led2" defstate="0">
<disk state="1"><color red="1.0" green="0.1" blue="0.15" /></disk>
- <disk state="0"><color red="0.17" green="0.015" blue="0.02" /></disk>
+ <disk state="0"><color red="1.0" green="0.1" blue="0.15" alpha="0.17" /></disk>
</element>
<element name="hlb" defstate="0">
<rect state="0">
diff --git a/src/mame/layout/novag_accord.lay b/src/mame/layout/novag_accord.lay
index 6e031977c2f..5b5998b9ffd 100644
--- a/src/mame/layout/novag_accord.lay
+++ b/src/mame/layout/novag_accord.lay
@@ -13,11 +13,11 @@ authors:hap
<element name="ledr" defstate="0">
<rect state="1"><color red="1.0" green="0.1" blue="0.15" /></rect>
- <rect state="0"><color red="0.17" green="0.015" blue="0.02" /></rect>
+ <rect state="0"><color red="1.0" green="0.1" blue="0.15" alpha="0.17" /></rect>
</element>
<element name="ledg" defstate="0">
- <rect state="1"><color red="0.1" green="0.95" blue="0.05" /></rect>
- <rect state="0"><color red="0.015" green="0.16" blue="0.01" /></rect>
+ <rect state="1"><color red="0.15" green="1.0" blue="0.1" /></rect>
+ <rect state="0"><color red="0.15" green="1.0" blue="0.1" alpha="0.13" /></rect>
</element>
<element name="but1" defstate="0">
diff --git a/src/mame/layout/novag_cexpert.lay b/src/mame/layout/novag_cexpert.lay
index 991bb7ee721..d48ff12522d 100644
--- a/src/mame/layout/novag_cexpert.lay
+++ b/src/mame/layout/novag_cexpert.lay
@@ -15,7 +15,7 @@ authors:hap
</element>
<element name="led2" defstate="0">
<disk state="1"><color red="1.0" green="0.1" blue="0.15" /></disk>
- <disk state="0"><color red="0.14" green="0.014" blue="0.02" /></disk>
+ <disk state="0"><color red="1.0" green="0.1" blue="0.15" alpha="0.17" /></disk>
</element>
<element name="but" defstate="0">
diff --git a/src/mame/layout/novag_cforte.lay b/src/mame/layout/novag_cforte.lay
index 26b3edee300..a5878c8464f 100644
--- a/src/mame/layout/novag_cforte.lay
+++ b/src/mame/layout/novag_cforte.lay
@@ -28,11 +28,11 @@ authors:hap
<element name="ledr" defstate="0">
<rect state="1"><color red="1.0" green="0.1" blue="0.15" /></rect>
- <rect state="0"><color red="0.17" green="0.015" blue="0.02" /></rect>
+ <rect state="0"><color red="1.0" green="0.1" blue="0.15" alpha="0.17" /></rect>
</element>
<element name="ledg" defstate="0">
- <rect state="1"><color red="0.1" green="0.95" blue="0.05" /></rect>
- <rect state="0"><color red="0.015" green="0.16" blue="0.01" /></rect>
+ <rect state="1"><color red="0.15" green="1.0" blue="0.1" /></rect>
+ <rect state="0"><color red="0.15" green="1.0" blue="0.1" alpha="0.13" /></rect>
</element>
<element name="hlb" defstate="0">
diff --git a/src/mame/layout/novag_const.lay b/src/mame/layout/novag_const.lay
index a107cb7ddbf..951b78b37bd 100644
--- a/src/mame/layout/novag_const.lay
+++ b/src/mame/layout/novag_const.lay
@@ -14,11 +14,11 @@ authors:hap
<element name="ledr" defstate="0">
<rect state="1"><color red="1.0" green="0.1" blue="0.15" /></rect>
- <rect state="0"><color red="0.17" green="0.015" blue="0.02" /></rect>
+ <rect state="0"><color red="1.0" green="0.1" blue="0.15" alpha="0.17" /></rect>
</element>
<element name="ledg" defstate="0">
- <rect state="1"><color red="0.1" green="0.95" blue="0.05" /></rect>
- <rect state="0"><color red="0.015" green="0.16" blue="0.01" /></rect>
+ <rect state="1"><color red="0.15" green="1.0" blue="0.1" /></rect>
+ <rect state="0"><color red="0.15" green="1.0" blue="0.1" alpha="0.13" /></rect>
</element>
<element name="hlb" defstate="0">
diff --git a/src/mame/layout/novag_constjr.lay b/src/mame/layout/novag_constjr.lay
index 0249874dcde..865aabdbe51 100644
--- a/src/mame/layout/novag_constjr.lay
+++ b/src/mame/layout/novag_constjr.lay
@@ -14,11 +14,11 @@ authors:hap
<element name="ledr" defstate="0">
<disk state="1"><color red="1.0" green="0.1" blue="0.15" /></disk>
- <disk state="0"><color red="0.17" green="0.015" blue="0.02" /></disk>
+ <disk state="0"><color red="1.0" green="0.1" blue="0.15" alpha="0.17" /></disk>
</element>
<element name="ledg" defstate="0">
- <disk state="1"><color red="0.1" green="0.95" blue="0.05" /></disk>
- <disk state="0"><color red="0.015" green="0.16" blue="0.01" /></disk>
+ <disk state="1"><color red="0.15" green="1.0" blue="0.1" /></disk>
+ <disk state="0"><color red="0.15" green="1.0" blue="0.1" alpha="0.13" /></disk>
</element>
<element name="hlb" defstate="0">
diff --git a/src/mame/layout/novag_constq.lay b/src/mame/layout/novag_constq.lay
index 7634a983483..aa941334858 100644
--- a/src/mame/layout/novag_constq.lay
+++ b/src/mame/layout/novag_constq.lay
@@ -12,11 +12,11 @@ authors:hap
<element name="ledr" defstate="0">
<rect state="1"><color red="1.0" green="0.1" blue="0.15" /></rect>
- <rect state="0"><color red="0.17" green="0.015" blue="0.02" /></rect>
+ <rect state="0"><color red="1.0" green="0.1" blue="0.15" alpha="0.17" /></rect>
</element>
<element name="ledg" defstate="0">
- <rect state="1"><color red="0.1" green="0.95" blue="0.05" /></rect>
- <rect state="0"><color red="0.015" green="0.16" blue="0.01" /></rect>
+ <rect state="1"><color red="0.15" green="1.0" blue="0.1" /></rect>
+ <rect state="0"><color red="0.15" green="1.0" blue="0.1" alpha="0.13" /></rect>
</element>
<element name="hlb" defstate="0">
diff --git a/src/mame/layout/novag_mentor16.lay b/src/mame/layout/novag_mentor16.lay
index eed791d85e5..1a73d8f0b2e 100644
--- a/src/mame/layout/novag_mentor16.lay
+++ b/src/mame/layout/novag_mentor16.lay
@@ -13,11 +13,11 @@ authors:hap
<element name="ledr" defstate="0">
<disk state="1"><color red="1.0" green="0.1" blue="0.15" /></disk>
- <disk state="0"><color red="0.17" green="0.015" blue="0.02" /></disk>
+ <disk state="0"><color red="1.0" green="0.1" blue="0.15" alpha="0.17" /></disk>
</element>
<element name="ledg" defstate="0">
- <disk state="1"><color red="0.1" green="0.95" blue="0.05" /></disk>
- <disk state="0"><color red="0.015" green="0.16" blue="0.01" /></disk>
+ <disk state="1"><color red="0.15" green="1.0" blue="0.1" /></disk>
+ <disk state="0"><color red="0.15" green="1.0" blue="0.1" alpha="0.13" /></disk>
</element>
<element name="hlb" defstate="0">
diff --git a/src/mame/layout/novag_micro.lay b/src/mame/layout/novag_micro.lay
index 8aa2b6b2b43..97ce4afd3dd 100644
--- a/src/mame/layout/novag_micro.lay
+++ b/src/mame/layout/novag_micro.lay
@@ -15,11 +15,11 @@ authors:hap
<element name="ledr" defstate="0">
<disk state="1"><color red="1.0" green="0.1" blue="0.15" /></disk>
- <disk state="0"><color red="0.17" green="0.015" blue="0.02" /></disk>
+ <disk state="0"><color red="1.0" green="0.1" blue="0.15" alpha="0.17" /></disk>
</element>
<element name="ledg" defstate="0">
- <disk state="1"><color red="0.1" green="0.95" blue="0.05" /></disk>
- <disk state="0"><color red="0.015" green="0.16" blue="0.01" /></disk>
+ <disk state="1"><color red="0.15" green="1.0" blue="0.1" /></disk>
+ <disk state="0"><color red="0.15" green="1.0" blue="0.1" alpha="0.13" /></disk>
</element>
<element name="button" defstate="0">
diff --git a/src/mame/layout/novag_micro2.lay b/src/mame/layout/novag_micro2.lay
index 82aa4b729e1..374d2ebba1f 100644
--- a/src/mame/layout/novag_micro2.lay
+++ b/src/mame/layout/novag_micro2.lay
@@ -15,11 +15,11 @@ authors:hap
<element name="ledr" defstate="0">
<disk state="1"><color red="1.0" green="0.1" blue="0.15" /></disk>
- <disk state="0"><color red="0.17" green="0.015" blue="0.02" /></disk>
+ <disk state="0"><color red="1.0" green="0.1" blue="0.15" alpha="0.17" /></disk>
</element>
<element name="ledg" defstate="0">
- <disk state="1"><color red="0.1" green="0.95" blue="0.05" /></disk>
- <disk state="0"><color red="0.015" green="0.16" blue="0.01" /></disk>
+ <disk state="1"><color red="0.15" green="1.0" blue="0.1" /></disk>
+ <disk state="0"><color red="0.15" green="1.0" blue="0.1" alpha="0.13" /></disk>
</element>
<element name="button" defstate="0">
diff --git a/src/mame/layout/novag_primo.lay b/src/mame/layout/novag_primo.lay
index bbcbde141fe..3479c4b3ad5 100644
--- a/src/mame/layout/novag_primo.lay
+++ b/src/mame/layout/novag_primo.lay
@@ -15,7 +15,7 @@ authors:hap
<element name="led" defstate="0">
<disk state="1"><color red="1.0" green="0.1" blue="0.15" /></disk>
- <disk state="0"><color red="0.17" green="0.015" blue="0.02" /></disk>
+ <disk state="0"><color red="1.0" green="0.1" blue="0.15" alpha="0.17" /></disk>
</element>
<element name="hlb" defstate="0">
diff --git a/src/mame/layout/novag_scorpio68k.lay b/src/mame/layout/novag_scorpio68k.lay
index c2a90565ecf..4d9da5ff21a 100644
--- a/src/mame/layout/novag_scorpio68k.lay
+++ b/src/mame/layout/novag_scorpio68k.lay
@@ -14,7 +14,7 @@ authors:hap
<element name="ledr" defstate="0">
<rect state="1"><color red="1.0" green="0.1" blue="0.15" /></rect>
- <rect state="0"><color red="0.17" green="0.015" blue="0.02" /></rect>
+ <rect state="0"><color red="1.0" green="0.1" blue="0.15" alpha="0.17" /></rect>
</element>
<element name="text_1"><text string="1"><color red="0.9" green="0.9" blue="0.9" /></text></element>
diff --git a/src/mame/layout/novag_sforte.lay b/src/mame/layout/novag_sforte.lay
index b70bd0d542f..57e3882fc31 100644
--- a/src/mame/layout/novag_sforte.lay
+++ b/src/mame/layout/novag_sforte.lay
@@ -16,7 +16,7 @@ authors:hap
<element name="ledr" defstate="0">
<rect state="1"><color red="1.0" green="0.1" blue="0.15" /></rect>
- <rect state="0"><color red="0.17" green="0.015" blue="0.02" /></rect>
+ <rect state="0"><color red="1.0" green="0.1" blue="0.15" alpha="0.17" /></rect>
</element>
<element name="hlb" defstate="0">
diff --git a/src/mame/layout/novag_snova.lay b/src/mame/layout/novag_snova.lay
index 577a2001458..e8b9c2fc6d7 100644
--- a/src/mame/layout/novag_snova.lay
+++ b/src/mame/layout/novag_snova.lay
@@ -12,7 +12,7 @@ authors:hap
<element name="led" defstate="0">
<disk state="1"><color red="0.1" green="1.0" blue="0.15" /></disk>
- <disk state="0"><color red="0.015" green="0.17" blue="0.02" /></disk>
+ <disk state="0"><color red="0.1" green="1.0" blue="0.15" alpha="0.13" /></disk>
</element>
<element name="text_1"><text string="1"><color red="0.85" green="0.85" blue="0.85" /></text></element>
diff --git a/src/mame/layout/novag_ssensor4.lay b/src/mame/layout/novag_ssensor4.lay
index b0f5a3541e1..bf79eeb3ae2 100644
--- a/src/mame/layout/novag_ssensor4.lay
+++ b/src/mame/layout/novag_ssensor4.lay
@@ -19,11 +19,11 @@ authors:hap
<element name="ledr" defstate="0">
<rect state="1"><color red="1.0" green="0.1" blue="0.15" /></rect>
- <rect state="0"><color red="0.17" green="0.015" blue="0.02" /></rect>
+ <rect state="0"><color red="1.0" green="0.1" blue="0.15" alpha="0.17" /></rect>
</element>
<element name="ledg" defstate="0">
- <rect state="1"><color red="0.1" green="0.95" blue="0.05" /></rect>
- <rect state="0"><color red="0.015" green="0.16" blue="0.01" /></rect>
+ <rect state="1"><color red="0.15" green="1.0" blue="0.1" /></rect>
+ <rect state="0"><color red="0.15" green="1.0" blue="0.1" alpha="0.13" /></rect>
</element>
<element name="hlb" defstate="0">
diff --git a/src/mame/layout/novag_supercon.lay b/src/mame/layout/novag_supercon.lay
index e7dc53380b1..834b2c9b88c 100644
--- a/src/mame/layout/novag_supercon.lay
+++ b/src/mame/layout/novag_supercon.lay
@@ -16,11 +16,11 @@ authors:hap
<element name="ledr" defstate="0">
<rect state="1"><color red="1.0" green="0.1" blue="0.15" /></rect>
- <rect state="0"><color red="0.17" green="0.015" blue="0.02" /></rect>
+ <rect state="0"><color red="1.0" green="0.1" blue="0.15" alpha="0.17" /></rect>
</element>
<element name="ledg" defstate="0">
- <rect state="1"><color red="0.1" green="0.95" blue="0.05" /></rect>
- <rect state="0"><color red="0.015" green="0.16" blue="0.01" /></rect>
+ <rect state="1"><color red="0.15" green="1.0" blue="0.1" /></rect>
+ <rect state="0"><color red="0.15" green="1.0" blue="0.1" alpha="0.13" /></rect>
</element>
<element name="hlb" defstate="0">
diff --git a/src/mame/layout/novag_supremo.lay b/src/mame/layout/novag_supremo.lay
index c0c39a26943..85626f4cdb4 100644
--- a/src/mame/layout/novag_supremo.lay
+++ b/src/mame/layout/novag_supremo.lay
@@ -15,7 +15,7 @@ authors:hap
<element name="led" defstate="0">
<disk state="1"><color red="1.0" green="0.1" blue="0.15" /></disk>
- <disk state="0"><color red="0.17" green="0.015" blue="0.02" /></disk>
+ <disk state="0"><color red="1.0" green="0.1" blue="0.15" alpha="0.17" /></disk>
</element>
<element name="hlb" defstate="0">
diff --git a/src/mame/layout/saitek_gk2000.lay b/src/mame/layout/saitek_gk2000.lay
index ffe16fd7947..574253b2bd8 100644
--- a/src/mame/layout/saitek_gk2000.lay
+++ b/src/mame/layout/saitek_gk2000.lay
@@ -14,7 +14,7 @@ authors:hap
<element name="led" defstate="0">
<rect state="1"><color red="1.0" green="0.1" blue="0.15" /></rect>
- <rect state="0"><color red="0.17" green="0.015" blue="0.02" /></rect>
+ <rect state="0"><color red="1.0" green="0.1" blue="0.15" alpha="0.17" /></rect>
</element>
<element name="text_1"><text string="1"></text></element>
diff --git a/src/mame/layout/yeno_416xl.lay b/src/mame/layout/yeno_416xl.lay
new file mode 100644
index 00000000000..f2b15244f47
--- /dev/null
+++ b/src/mame/layout/yeno_416xl.lay
@@ -0,0 +1,556 @@
+<?xml version="1.0"?>
+<!--
+license:CC0-1.0
+authors:hap
+-->
+<mamelayout version="2">
+
+<!-- define elements -->
+
+ <element name="ledr" defstate="0">
+ <disk state="1"><color red="1.0" green="0.1" blue="0.15" /></disk>
+ <disk state="0"><color red="1.0" green="0.1" blue="0.15" alpha="0.17" /></disk>
+ </element>
+ <element name="ledg" defstate="0">
+ <rect state="1"><color red="0.1" green="1.0" blue="0.15" /></rect>
+ <rect state="0"><color red="0.1" green="1.0" blue="0.15" alpha="0.13" /></rect>
+ </element>
+
+ <element name="text_1"><text string="1"><color red="0.81" green="0.8" blue="0.79" /></text></element>
+ <element name="text_2"><text string="2"><color red="0.81" green="0.8" blue="0.79" /></text></element>
+ <element name="text_3"><text string="3"><color red="0.81" green="0.8" blue="0.79" /></text></element>
+ <element name="text_4"><text string="4"><color red="0.81" green="0.8" blue="0.79" /></text></element>
+ <element name="text_5"><text string="5"><color red="0.81" green="0.8" blue="0.79" /></text></element>
+ <element name="text_6"><text string="6"><color red="0.81" green="0.8" blue="0.79" /></text></element>
+ <element name="text_7"><text string="7"><color red="0.81" green="0.8" blue="0.79" /></text></element>
+ <element name="text_8"><text string="8"><color red="0.81" green="0.8" blue="0.79" /></text></element>
+
+ <element name="text_a"><text string="A"><color red="0.81" green="0.8" blue="0.79" /></text></element>
+ <element name="text_b"><text string="B"><color red="0.81" green="0.8" blue="0.79" /></text></element>
+ <element name="text_c"><text string="C"><color red="0.81" green="0.8" blue="0.79" /></text></element>
+ <element name="text_d"><text string="D"><color red="0.81" green="0.8" blue="0.79" /></text></element>
+ <element name="text_e"><text string="E"><color red="0.81" green="0.8" blue="0.79" /></text></element>
+ <element name="text_f"><text string="F"><color red="0.81" green="0.8" blue="0.79" /></text></element>
+ <element name="text_g"><text string="G"><color red="0.81" green="0.8" blue="0.79" /></text></element>
+ <element name="text_h"><text string="H"><color red="0.81" green="0.8" blue="0.79" /></text></element>
+
+ <element name="text_l1"><text string="CHECK"><color red="0.81" green="0.8" blue="0.79" /></text></element>
+ <element name="text_l2"><text string="CHECK MATE"><color red="0.81" green="0.8" blue="0.79" /></text></element>
+ <element name="text_l3"><text string="STALEMATE"><color red="0.81" green="0.8" blue="0.79" /></text></element>
+ <element name="text_l4"><text string="YOUR MOVE"><color red="0.81" green="0.8" blue="0.79" /></text></element>
+
+
+<!-- sb board -->
+
+ <element name="cblack"><rect><color red="0.41" green="0.4" blue="0.39" /></rect></element>
+ <element name="cwhite"><rect><color red="0.81" green="0.8" blue="0.79" /></rect></element>
+
+ <element name="hlbb" defstate="0">
+ <rect><color alpha="0" /></rect> <!-- force unit square element bounds -->
+ <disk state="1">
+ <bounds x="0.12" y="0.12" width="0.76" height="0.76" />
+ <color red="0" green="0" blue="0" />
+ </disk>
+ </element>
+
+ <element name="piece" defstate="0">
+ <image file="chess/wp.svg" state="1"/>
+ <image file="chess/wn.svg" state="2"/>
+ <image file="chess/wb.svg" state="3"/>
+ <image file="chess/wr.svg" state="4"/>
+ <image file="chess/wq.svg" state="5"/>
+ <image file="chess/wk.svg" state="6"/>
+
+ <image file="chess/bp.svg" state="7"/>
+ <image file="chess/bn.svg" state="8"/>
+ <image file="chess/bb.svg" state="9"/>
+ <image file="chess/br.svg" state="10"/>
+ <image file="chess/bq.svg" state="11"/>
+ <image file="chess/bk.svg" state="12"/>
+
+ <!-- selected pieces -->
+ <image file="chess/wp.svg" state="13"><color alpha="0.5" /></image>
+ <image file="chess/wn.svg" state="14"><color alpha="0.5" /></image>
+ <image file="chess/wb.svg" state="15"><color alpha="0.5" /></image>
+ <image file="chess/wr.svg" state="16"><color alpha="0.5" /></image>
+ <image file="chess/wq.svg" state="17"><color alpha="0.5" /></image>
+ <image file="chess/wk.svg" state="18"><color alpha="0.5" /></image>
+
+ <image file="chess/bp.svg" state="19"><color alpha="0.5" /></image>
+ <image file="chess/bn.svg" state="20"><color alpha="0.5" /></image>
+ <image file="chess/bb.svg" state="21"><color alpha="0.5" /></image>
+ <image file="chess/br.svg" state="22"><color alpha="0.5" /></image>
+ <image file="chess/bq.svg" state="23"><color alpha="0.5" /></image>
+ <image file="chess/bk.svg" state="24"><color alpha="0.5" /></image>
+ </element>
+
+ <group name="sb_board">
+ <bounds x="-0.25" y="-0.25" width="80.5" height="80.5" />
+ <element ref="cwhite"><bounds x="-0.25" y="-0.25" width="80.5" height="80.5" /></element>
+
+ <!-- squares (avoid seams) -->
+ <element ref="cwhite"><bounds x="0" y="0" width="11" height="11" /></element>
+ <element ref="cblack"><bounds x="10" y="0" width="11" height="11" /></element>
+ <element ref="cwhite"><bounds x="20" y="0" width="11" height="11" /></element>
+ <element ref="cblack"><bounds x="30" y="0" width="11" height="11" /></element>
+ <element ref="cwhite"><bounds x="40" y="0" width="11" height="11" /></element>
+ <element ref="cblack"><bounds x="50" y="0" width="11" height="11" /></element>
+ <element ref="cwhite"><bounds x="60" y="0" width="11" height="11" /></element>
+ <element ref="cblack"><bounds x="70" y="0" width="10" height="11" /></element>
+
+ <element ref="cblack"><bounds x="0" y="10" width="11" height="11" /></element>
+ <element ref="cwhite"><bounds x="10" y="10" width="11" height="11" /></element>
+ <element ref="cblack"><bounds x="20" y="10" width="11" height="11" /></element>
+ <element ref="cwhite"><bounds x="30" y="10" width="11" height="11" /></element>
+ <element ref="cblack"><bounds x="40" y="10" width="11" height="11" /></element>
+ <element ref="cwhite"><bounds x="50" y="10" width="11" height="11" /></element>
+ <element ref="cblack"><bounds x="60" y="10" width="11" height="11" /></element>
+ <element ref="cwhite"><bounds x="70" y="10" width="10" height="11" /></element>
+
+ <element ref="cwhite"><bounds x="0" y="20" width="11" height="11" /></element>
+ <element ref="cblack"><bounds x="10" y="20" width="11" height="11" /></element>
+ <element ref="cwhite"><bounds x="20" y="20" width="11" height="11" /></element>
+ <element ref="cblack"><bounds x="30" y="20" width="11" height="11" /></element>
+ <element ref="cwhite"><bounds x="40" y="20" width="11" height="11" /></element>
+ <element ref="cblack"><bounds x="50" y="20" width="11" height="11" /></element>
+ <element ref="cwhite"><bounds x="60" y="20" width="11" height="11" /></element>
+ <element ref="cblack"><bounds x="70" y="20" width="10" height="11" /></element>
+
+ <element ref="cblack"><bounds x="0" y="30" width="11" height="11" /></element>
+ <element ref="cwhite"><bounds x="10" y="30" width="11" height="11" /></element>
+ <element ref="cblack"><bounds x="20" y="30" width="11" height="11" /></element>
+ <element ref="cwhite"><bounds x="30" y="30" width="11" height="11" /></element>
+ <element ref="cblack"><bounds x="40" y="30" width="11" height="11" /></element>
+ <element ref="cwhite"><bounds x="50" y="30" width="11" height="11" /></element>
+ <element ref="cblack"><bounds x="60" y="30" width="11" height="11" /></element>
+ <element ref="cwhite"><bounds x="70" y="30" width="10" height="11" /></element>
+
+ <element ref="cwhite"><bounds x="0" y="40" width="11" height="11" /></element>
+ <element ref="cblack"><bounds x="10" y="40" width="11" height="11" /></element>
+ <element ref="cwhite"><bounds x="20" y="40" width="11" height="11" /></element>
+ <element ref="cblack"><bounds x="30" y="40" width="11" height="11" /></element>
+ <element ref="cwhite"><bounds x="40" y="40" width="11" height="11" /></element>
+ <element ref="cblack"><bounds x="50" y="40" width="11" height="11" /></element>
+ <element ref="cwhite"><bounds x="60" y="40" width="11" height="11" /></element>
+ <element ref="cblack"><bounds x="70" y="40" width="10" height="11" /></element>
+
+ <element ref="cblack"><bounds x="0" y="50" width="11" height="11" /></element>
+ <element ref="cwhite"><bounds x="10" y="50" width="11" height="11" /></element>
+ <element ref="cblack"><bounds x="20" y="50" width="11" height="11" /></element>
+ <element ref="cwhite"><bounds x="30" y="50" width="11" height="11" /></element>
+ <element ref="cblack"><bounds x="40" y="50" width="11" height="11" /></element>
+ <element ref="cwhite"><bounds x="50" y="50" width="11" height="11" /></element>
+ <element ref="cblack"><bounds x="60" y="50" width="11" height="11" /></element>
+ <element ref="cwhite"><bounds x="70" y="50" width="10" height="11" /></element>
+
+ <element ref="cwhite"><bounds x="0" y="60" width="11" height="11" /></element>
+ <element ref="cblack"><bounds x="10" y="60" width="11" height="11" /></element>
+ <element ref="cwhite"><bounds x="20" y="60" width="11" height="11" /></element>
+ <element ref="cblack"><bounds x="30" y="60" width="11" height="11" /></element>
+ <element ref="cwhite"><bounds x="40" y="60" width="11" height="11" /></element>
+ <element ref="cblack"><bounds x="50" y="60" width="11" height="11" /></element>
+ <element ref="cwhite"><bounds x="60" y="60" width="11" height="11" /></element>
+ <element ref="cblack"><bounds x="70" y="60" width="10" height="11" /></element>
+
+ <element ref="cblack"><bounds x="0" y="70" width="11" height="10" /></element>
+ <element ref="cwhite"><bounds x="10" y="70" width="11" height="10" /></element>
+ <element ref="cblack"><bounds x="20" y="70" width="11" height="10" /></element>
+ <element ref="cwhite"><bounds x="30" y="70" width="11" height="10" /></element>
+ <element ref="cblack"><bounds x="40" y="70" width="11" height="10" /></element>
+ <element ref="cwhite"><bounds x="50" y="70" width="11" height="10" /></element>
+ <element ref="cblack"><bounds x="60" y="70" width="11" height="10" /></element>
+ <element ref="cwhite"><bounds x="70" y="70" width="10" height="10" /></element>
+
+ <!-- sensors, pieces -->
+ <repeat count="8">
+ <param name="y" start="0" increment="10" />
+ <param name="i" start="8" increment="-1" />
+
+ <element ref="hlbb" inputtag="board:RANK.~i~" inputmask="0x01"><bounds x="0" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
+ <element ref="hlbb" inputtag="board:RANK.~i~" inputmask="0x02"><bounds x="10" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
+ <element ref="hlbb" inputtag="board:RANK.~i~" inputmask="0x04"><bounds x="20" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
+ <element ref="hlbb" inputtag="board:RANK.~i~" inputmask="0x08"><bounds x="30" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
+ <element ref="hlbb" inputtag="board:RANK.~i~" inputmask="0x10"><bounds x="40" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
+ <element ref="hlbb" inputtag="board:RANK.~i~" inputmask="0x20"><bounds x="50" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
+ <element ref="hlbb" inputtag="board:RANK.~i~" inputmask="0x40"><bounds x="60" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
+ <element ref="hlbb" inputtag="board:RANK.~i~" inputmask="0x80"><bounds x="70" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
+
+ <element name="piece_a~i~" ref="piece"><bounds x="0" y="~y~" width="10" height="10" /></element>
+ <element name="piece_b~i~" ref="piece"><bounds x="10" y="~y~" width="10" height="10" /></element>
+ <element name="piece_c~i~" ref="piece"><bounds x="20" y="~y~" width="10" height="10" /></element>
+ <element name="piece_d~i~" ref="piece"><bounds x="30" y="~y~" width="10" height="10" /></element>
+ <element name="piece_e~i~" ref="piece"><bounds x="40" y="~y~" width="10" height="10" /></element>
+ <element name="piece_f~i~" ref="piece"><bounds x="50" y="~y~" width="10" height="10" /></element>
+ <element name="piece_g~i~" ref="piece"><bounds x="60" y="~y~" width="10" height="10" /></element>
+ <element name="piece_h~i~" ref="piece"><bounds x="70" y="~y~" width="10" height="10" /></element>
+ </repeat>
+ </group>
+
+
+<!-- sb ui -->
+
+ <element name="hlub" defstate="0">
+ <rect state="1"><color red="0" green="0" blue="0" /></rect>
+ </element>
+
+ <element name="text_uit1"><text string="S.BOARD"><color red="0.81" green="0.8" blue="0.79" /></text></element>
+ <element name="text_uit2"><text string="INTERFACE"><color red="0.81" green="0.8" blue="0.79" /></text></element>
+ <element name="text_uib1"><text string="BOARD:"><color red="0.81" green="0.8" blue="0.79" /></text></element>
+ <element name="text_uib2"><text string="RESET"><color red="0.01" green="0.01" blue="0.01" /></text></element>
+ <element name="text_uib3"><text string="CLEAR"><color red="0.01" green="0.01" blue="0.01" /></text></element>
+ <element name="text_uis1"><text string="SPAWN:"><color red="0.81" green="0.8" blue="0.79" /></text></element>
+ <element name="text_uih1"><text string="HAND:"><color red="0.81" green="0.8" blue="0.79" /></text></element>
+ <element name="text_uih2"><text string="REMOVE"><color red="0.01" green="0.01" blue="0.01" /></text></element>
+ <element name="text_uiu1"><text string="UNDO:"><color red="0.81" green="0.8" blue="0.79" /></text></element>
+ <element name="text_uiu2a"><text string=" &lt;&lt;"><color red="0.01" green="0.01" blue="0.01" /></text></element>
+ <element name="text_uiu2b"><text string=" &lt; "><color red="0.01" green="0.01" blue="0.01" /></text></element>
+ <element name="text_uiu2c"><text string=" &gt;"><color red="0.01" green="0.01" blue="0.01" /></text></element>
+ <element name="text_uiu2d"><text string=" &gt;&gt;"><color red="0.01" green="0.01" blue="0.01" /></text></element>
+ <element name="text_uiu3b"><text string="/"><color red="0.81" green="0.8" blue="0.79" /></text></element>
+
+ <element name="text_uiu3a" defstate="0">
+ <simplecounter maxstate="999" digits="1" align="2">
+ <color red="0.81" green="0.8" blue="0.79" />
+ </simplecounter>
+ </element>
+ <element name="text_uiu3c" defstate="0">
+ <simplecounter maxstate="999" digits="1" align="1">
+ <color red="0.81" green="0.8" blue="0.79" />
+ </simplecounter>
+ </element>
+
+ <group name="sb_ui">
+ <bounds x="0" y="0" width="10" height="80" />
+ <element ref="cblack"><bounds x="0" y="0" width="10" height="1" /></element>
+ <element ref="cblack"><bounds x="0" y="7" width="10" height="1" /></element>
+ <element ref="cblack"><bounds x="0" y="79" width="10" height="1" /></element>
+ <element ref="text_uit1"><bounds x="0" y="2" width="10" height="2" /></element>
+ <element ref="text_uit2"><bounds x="0" y="4" width="10" height="2" /></element>
+
+ <!-- board -->
+ <element ref="text_uib1"><bounds x="0" y="9" width="10" height="2" /></element>
+ <element ref="cwhite"><bounds x="1" y="11.5" width="8" height="2.5" /></element>
+ <element ref="cwhite"><bounds x="1" y="15" width="8" height="2.5" /></element>
+
+ <element ref="text_uib2"><bounds x="1.5" y="11.75" width="7" height="2" /></element>
+ <element ref="text_uib3"><bounds x="1.5" y="15.25" width="7" height="2" /></element>
+
+ <element ref="hlub" inputtag="board:UI" inputmask="0x200"><bounds x="1" y="11.5" width="8" height="2.5" /><color alpha="0.25" /></element>
+ <element ref="hlub" inputtag="board:UI" inputmask="0x100"><bounds x="1" y="15" width="8" height="2.5" /><color alpha="0.25" /></element>
+
+ <!-- spawn -->
+ <element ref="text_uis1"><bounds x="0" y="20.5" width="10" height="2" /></element>
+ <element ref="cwhite"><bounds x="1" y="23" width="8" height="12" /></element>
+ <element ref="cwhite"><bounds x="1" y="36" width="8" height="12" /></element>
+
+ <element name="piece_ui1" ref="piece"><bounds x="1" y="23" width="4" height="4" /></element>
+ <element name="piece_ui2" ref="piece"><bounds x="1" y="27" width="4" height="4" /></element>
+ <element name="piece_ui3" ref="piece"><bounds x="1" y="31" width="4" height="4" /></element>
+ <element name="piece_ui4" ref="piece"><bounds x="5" y="23" width="4" height="4" /></element>
+ <element name="piece_ui5" ref="piece"><bounds x="5" y="27" width="4" height="4" /></element>
+ <element name="piece_ui6" ref="piece"><bounds x="5" y="31" width="4" height="4" /></element>
+ <element name="piece_ui7" ref="piece"><bounds x="1" y="36" width="4" height="4" /></element>
+ <element name="piece_ui8" ref="piece"><bounds x="1" y="40" width="4" height="4" /></element>
+ <element name="piece_ui9" ref="piece"><bounds x="1" y="44" width="4" height="4" /></element>
+ <element name="piece_ui10" ref="piece"><bounds x="5" y="36" width="4" height="4" /></element>
+ <element name="piece_ui11" ref="piece"><bounds x="5" y="40" width="4" height="4" /></element>
+ <element name="piece_ui12" ref="piece"><bounds x="5" y="44" width="4" height="4" /></element>
+
+ <element ref="hlub" inputtag="board:SPAWN" inputmask="0x0001"><bounds x="1" y="23" width="4" height="4" /><color alpha="0.25" /></element>
+ <element ref="hlub" inputtag="board:SPAWN" inputmask="0x0002"><bounds x="1" y="27" width="4" height="4" /><color alpha="0.25" /></element>
+ <element ref="hlub" inputtag="board:SPAWN" inputmask="0x0004"><bounds x="1" y="31" width="4" height="4" /><color alpha="0.25" /></element>
+ <element ref="hlub" inputtag="board:SPAWN" inputmask="0x0008"><bounds x="5" y="23" width="4" height="4" /><color alpha="0.25" /></element>
+ <element ref="hlub" inputtag="board:SPAWN" inputmask="0x0010"><bounds x="5" y="27" width="4" height="4" /><color alpha="0.25" /></element>
+ <element ref="hlub" inputtag="board:SPAWN" inputmask="0x0020"><bounds x="5" y="31" width="4" height="4" /><color alpha="0.25" /></element>
+ <element ref="hlub" inputtag="board:SPAWN" inputmask="0x0040"><bounds x="1" y="36" width="4" height="4" /><color alpha="0.25" /></element>
+ <element ref="hlub" inputtag="board:SPAWN" inputmask="0x0080"><bounds x="1" y="40" width="4" height="4" /><color alpha="0.25" /></element>
+ <element ref="hlub" inputtag="board:SPAWN" inputmask="0x0100"><bounds x="1" y="44" width="4" height="4" /><color alpha="0.25" /></element>
+ <element ref="hlub" inputtag="board:SPAWN" inputmask="0x0200"><bounds x="5" y="36" width="4" height="4" /><color alpha="0.25" /></element>
+ <element ref="hlub" inputtag="board:SPAWN" inputmask="0x0400"><bounds x="5" y="40" width="4" height="4" /><color alpha="0.25" /></element>
+ <element ref="hlub" inputtag="board:SPAWN" inputmask="0x0800"><bounds x="5" y="44" width="4" height="4" /><color alpha="0.25" /></element>
+
+ <!-- hand -->
+ <element ref="text_uih1"><bounds x="0" y="51" width="10" height="2" /></element>
+ <element ref="cblack"><bounds x="1" y="53.5" width="8" height="6" /></element>
+ <element name="piece_ui0" ref="piece"><bounds x="2" y="53.5" width="6" height="6" /></element>
+
+ <element ref="cwhite"><bounds x="1" y="60.5" width="8" height="2.5" /></element>
+ <element ref="text_uih2"><bounds x="1.5" y="60.75" width="7" height="2" /></element>
+ <element ref="hlub" inputtag="board:UI" inputmask="0x08"><bounds x="1" y="60.5" width="8" height="2.5" /><color alpha="0.25" /></element>
+
+ <!-- undo -->
+ <element ref="text_uiu1"><bounds x="0" y="66" width="10" height="2" /></element>
+ <element ref="cwhite"><bounds x="1" y="68.5" width="1.7" height="6" /></element>
+ <element ref="cwhite"><bounds x="3.1" y="68.5" width="1.7" height="6" /></element>
+ <element ref="cwhite"><bounds x="5.2" y="68.5" width="1.7" height="6" /></element>
+ <element ref="cwhite"><bounds x="7.3" y="68.5" width="1.7" height="6" /></element>
+ <element ref="text_uiu2a"><bounds x="1" y="69.5" width="1.7" height="4" /></element>
+ <element ref="text_uiu2b"><bounds x="3.1" y="69.5" width="1.7" height="4" /></element>
+ <element ref="text_uiu2c"><bounds x="5.2" y="69.5" width="1.7" height="4" /></element>
+ <element ref="text_uiu2d"><bounds x="7.3" y="69.5" width="1.7" height="4" /></element>
+
+ <element ref="hlub" inputtag="board:UI" inputmask="0x10"><bounds x="1" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></element>
+ <element ref="hlub" inputtag="board:UI" inputmask="0x20"><bounds x="3.1" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></element>
+ <element ref="hlub" inputtag="board:UI" inputmask="0x40"><bounds x="5.2" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></element>
+ <element ref="hlub" inputtag="board:UI" inputmask="0x80"><bounds x="7.3" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></element>
+
+ <element name="count_ui0" ref="text_uiu3a"><bounds x="0" y="75" width="4" height="2" /></element>
+ <element name="count_ui1" ref="text_uiu3c"><bounds x="6" y="75" width="4" height="2" /></element>
+ <element ref="text_uiu3b"><bounds x="4" y="75" width="2" height="2" /></element>
+ </group>
+
+
+<!-- buttons -->
+
+ <element name="whitew"><rect><color red="1" green="1" blue="1" /></rect></element>
+ <element name="black"><rect><color red="0.21" green="0.2" blue="0.2" /></rect></element>
+
+ <element name="triangleb">
+ <image><data><![CDATA[
+ <svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="10" height="10">
+ <path d="M 1,1 9,9 1,9 z" fill="#000000" stroke="#ffffff" stroke-width="0.2" />
+ </svg>
+ ]]></data></image>
+ </element>
+
+ <element name="text_b0"><text string="NEW GAME" align="1"></text></element>
+ <element name="text_b1"><text string="LEVEL" align="1"></text></element>
+ <element name="text_b2"><text string="SHOW" align="1"></text></element>
+ <element name="text_b2a"><text string="MOVE" align="1"></text></element>
+ <element name="text_b3"><text string="SET UP" align="1"></text></element>
+ <element name="text_b4"><text string="TAKE BACK" align="1"></text></element>
+ <element name="text_b5"><text string="CHANGE" align="1"></text></element>
+ <element name="text_b5a"><text string="COLOR" align="1"></text></element>
+ <element name="text_b6"><text string="MULTIMOVE" align="1"></text></element>
+ <element name="text_b7"><text string="PLAY" align="1"></text></element>
+ <element name="text_b8"><text string="LEARNING" align="1"></text></element>
+ <element name="text_b9"><text string="SOUND/" align="1"></text></element>
+ <element name="text_b9a"><text string="CHANGE" align="1"></text></element>
+ <element name="text_b9b"><text string="DIRECTION" align="1"></text></element>
+
+ <element name="text_p1"><image file="chess/wk.svg"/></element>
+ <element name="text_p2"><image file="chess/wq.svg"/></element>
+ <element name="text_p3"><image file="chess/wr.svg"/></element>
+ <element name="text_p4"><image file="chess/wb.svg"/></element>
+ <element name="text_p5"><image file="chess/wn.svg"/></element>
+ <element name="text_p6"><image file="chess/wp.svg"/></element>
+
+ <element name="hlb1" defstate="0">
+ <rect>
+ <bounds xc="0" yc="0" width="8.75" height="6" />
+ <color alpha="0" />
+ </rect>
+ <rect state="1">
+ <bounds xc="0" yc="0" width="8" height="5" />
+ <color red="0.17" green="0.17" blue="0.175" />
+ </rect>
+ </element>
+
+ <element name="hlb2" defstate="0">
+ <rect><color alpha="0" /></rect> <!-- force unit square element bounds -->
+ <disk state="1">
+ <bounds xc="0.5" yc="0.5" width="0.85" height="0.85" />
+ <color red="0.17" green="0.17" blue="0.175" />
+ </disk>
+ </element>
+
+ <group name="buttons">
+ <bounds x="0" y="0" width="60" height="60" />
+
+ <element ref="whitew"><bounds x="24.75" y="10" width="1.2" height="1.2" /></element>
+ <element ref="whitew"><bounds x="33.75" y="10" width="1.2" height="1.2" /></element>
+
+ <element ref="text_b0"><bounds x="26.5" y="10" width="10" height="1.3" /></element>
+ <element ref="text_b1"><bounds x="35.5" y="10" width="10" height="1.3" /></element>
+
+ <repeat count="4">
+ <param name="x1" start="6.75" increment="9" />
+ <param name="x2" start="8.5" increment="9" />
+ <param name="i" start="2" increment="1" />
+
+ <element ref="whitew"><bounds x="~x1~" y="17" width="1.2" height="1.2" /></element>
+ <element ref="text_b~i~"><bounds x="~x2~" y="17" width="10" height="1.3" /></element>
+ </repeat>
+
+ <element ref="text_b2a"><bounds x="8.5" y="18.2" width="10" height="1.3" /></element>
+ <element ref="text_b5a"><bounds x="35.5" y="18.2" width="10" height="1.3" /></element>
+
+ <repeat count="4">
+ <param name="x1" start="6.75" increment="9" />
+ <param name="x2" start="8.5" increment="9" />
+ <param name="i" start="6" increment="1" />
+
+ <element ref="whitew"><bounds x="~x1~" y="24" width="1.2" height="1.2" /></element>
+ <element ref="text_b~i~"><bounds x="~x2~" y="24" width="10" height="1.3" /></element>
+ </repeat>
+
+ <element ref="text_b9a"><bounds x="35.5" y="25.2" width="10" height="1.3" /></element>
+ <element ref="text_b9b"><bounds x="35.5" y="26.4" width="10" height="1.3" /></element>
+
+ <repeat count="3">
+ <param name="x1" start="5" increment="12.65" />
+ <param name="x2" start="8.25" increment="12.65" />
+ <param name="i" start="1" increment="2" />
+
+ <element ref="triangleb"><bounds x="~x1~" y="39" width="12" height="12" /><orientation flipy="yes" /></element>
+ <element ref="text_p~i~"><bounds xc="~x2~" yc="42.05" width="3.5" height="3.5" /></element>
+ </repeat>
+
+ <repeat count="3">
+ <param name="x1" start="6" increment="12.65" />
+ <param name="x2" start="14.9" increment="12.65" />
+ <param name="i" start="2" increment="2" />
+
+ <element ref="triangleb"><bounds x="~x1~" y="40" width="12" height="12" /><orientation flipx="yes" /></element>
+ <element ref="text_p~i~"><bounds xc="~x2~" yc="48.65" width="3.5" height="3.5" /></element>
+ </repeat>
+
+ <element ref="cwhite" blend="multiply"><bounds x="5" y="8" width="38" height="50" /></element>
+
+ <repeat count="3">
+ <param name="x" start="8.25" increment="12.65" />
+ <param name="mask" start="0x20" rshift="2" />
+
+ <element ref="hlb2" blend="add" inputtag="IN.0" inputmask="~mask~"><bounds xc="~x~" yc="42.25" width="6.5" height="6.5" /></element>
+ </repeat>
+
+ <repeat count="3">
+ <param name="x" start="14.9" increment="12.65" />
+ <param name="mask" start="0x10" rshift="2" />
+
+ <element ref="hlb2" blend="add" inputtag="IN.0" inputmask="~mask~"><bounds xc="~x~" yc="48.85" width="6.5" height="6.5" /></element>
+ </repeat>
+
+ <repeat count="3">
+ <param name="x" start="24" increment="9" />
+ <element ref="black"><bounds x="~x~" y="10" width="0.25" height="5" /></element>
+ </repeat>
+ <repeat count="5">
+ <param name="x" start="6" increment="9" />
+ <element ref="black"><bounds x="~x~" y="17" width="0.25" height="5" /></element>
+ </repeat>
+ <repeat count="5">
+ <param name="x" start="6" increment="9" />
+ <element ref="black"><bounds x="~x~" y="24" width="0.25" height="5" /></element>
+ </repeat>
+
+ <element ref="black"><bounds x="6" yc="9" width="36.25" height="0.25" /></element>
+ <element ref="black"><bounds x="6" yc="16" width="36.25" height="0.25" /></element>
+ <element ref="black"><bounds x="6" yc="23" width="36.25" height="0.25" /></element>
+ <element ref="black"><bounds x="6" yc="30" width="36.25" height="0.25" /></element>
+
+ <element ref="hlb1" blend="add" inputtag="IN.1" inputmask="0x01"><bounds x="24.25" y="9.5" width="8.75" height="6" /></element>
+ <element ref="hlb1" blend="add" inputtag="IN.1" inputmask="0x02"><bounds x="33.25" y="9.5" width="8.75" height="6" /></element>
+ <element ref="hlb1" blend="add" inputtag="IN.1" inputmask="0x80"><bounds x="6.25" y="16.5" width="8.75" height="6" /></element>
+ <element ref="hlb1" blend="add" inputtag="IN.1" inputmask="0x04"><bounds x="15.25" y="16.5" width="8.75" height="6" /></element>
+ <element ref="hlb1" blend="add" inputtag="IN.0" inputmask="0x80"><bounds x="24.25" y="16.5" width="8.75" height="6" /></element>
+ <element ref="hlb1" blend="add" inputtag="IN.1" inputmask="0x10"><bounds x="33.25" y="16.5" width="8.75" height="6" /></element>
+ <element ref="hlb1" blend="add" inputtag="IN.1" inputmask="0x08"><bounds x="6.25" y="23.5" width="8.75" height="6" /></element>
+ <element ref="hlb1" blend="add" inputtag="IN.0" inputmask="0x40"><bounds x="15.25" y="23.5" width="8.75" height="6" /></element>
+ <element ref="hlb1" blend="add" inputtag="IN.1" inputmask="0x40"><bounds x="24.25" y="23.5" width="8.75" height="6" /></element>
+ <element ref="hlb1" blend="add" inputtag="IN.1" inputmask="0x20"><bounds x="33.25" y="23.5" width="8.75" height="6" /></element>
+ </group>
+
+
+<!-- leds -->
+
+ <element name="text_l5"><text string="SET UP"></text></element>
+ <element name="text_l6"><text string="LEARNING"></text></element>
+ <element name="text_l7"><text string=" "></text></element>
+ <element name="text_l8"><text string=" "></text></element>
+ <element name="text_l9"><text string="WARNING"></text></element>
+ <element name="text_l10"><text string="WHITE"></text></element>
+ <element name="text_l11"><text string="BLACK"></text></element>
+
+ <element name="text_l7a"><text string="TURN" align="1"></text></element>
+ <element name="text_l7b"><text string="BOARD" align="1"></text></element>
+ <element name="text_l8a"><text string="MULTI" align="1"></text></element>
+ <element name="text_l8b"><text string="MOVE" align="1"></text></element>
+
+ <group name="leds">
+ <bounds x="0" y="0" width="100" height="20" />
+
+ <repeat count="7">
+ <param name="x" start="10" increment="10" />
+ <param name="i" start="5" increment="1" />
+
+ <element ref="text_l~i~"><bounds xc="~x~" y="15" width="10" height="2.5" /></element>
+ </repeat>
+
+ <element ref="text_l7a"><bounds x="27.5" y="12.7" width="10" height="2.5" /></element>
+ <element ref="text_l7b"><bounds x="27.5" y="15" width="10" height="2.5" /></element>
+
+ <element ref="text_l8a"><bounds x="37.8" y="12.7" width="10" height="2.5" /></element>
+ <element ref="text_l8b"><bounds x="37.8" y="15" width="10" height="2.5" /></element>
+
+ <element ref="cwhite" blend="multiply"><bounds x="5" y="0" width="90" height="20" /></element>
+
+ <element name="1.0" ref="ledr"><bounds xc="10" y="9" width="2.5" height="2.5" /></element>
+ <element name="1.1" ref="ledr"><bounds xc="20" y="9" width="2.5" height="2.5" /></element>
+ <element name="1.2" ref="ledr"><bounds xc="30" y="9" width="2.5" height="2.5" /></element>
+ <element name="1.3" ref="ledr"><bounds xc="40" y="9" width="2.5" height="2.5" /></element>
+ <element name="1.4" ref="ledr"><bounds xc="50" y="9" width="2.5" height="2.5" /></element>
+ <element name="1.6" ref="ledr"><bounds xc="60" y="9" width="2.5" height="2.5" /></element>
+ <element name="1.7" ref="ledr"><bounds xc="70" y="9" width="2.5" height="2.5" /></element>
+ </group>
+
+
+<!-- build screen -->
+
+ <view name="Internal Layout">
+ <bounds left="-18.5" right="126.5" top="-2.25" bottom="87.5" />
+
+ <!-- bottom labels -->
+ <element ref="text_l1"><bounds xc="10" y="81.35" width="10" height="1.3" /></element>
+ <element ref="text_l2"><bounds xc="30" y="81.35" width="10" height="1.3" /></element>
+ <element ref="text_l3"><bounds xc="50" y="81.35" width="10" height="1.3" /></element>
+ <element ref="text_l4"><bounds xc="70" y="81.35" width="10" height="1.3" /></element>
+
+ <!-- chessboard coords -->
+ <element ref="text_a"><bounds xc="5" y="80.75" width="2" height="2" /></element>
+ <element ref="text_b"><bounds xc="15" y="80.75" width="2" height="2" /></element>
+ <element ref="text_c"><bounds xc="25" y="80.75" width="2" height="2" /></element>
+ <element ref="text_d"><bounds xc="35" y="80.75" width="2" height="2" /></element>
+ <element ref="text_e"><bounds xc="45" y="80.75" width="2" height="2" /></element>
+ <element ref="text_f"><bounds xc="55" y="80.75" width="2" height="2" /></element>
+ <element ref="text_g"><bounds xc="65" y="80.75" width="2" height="2" /></element>
+ <element ref="text_h"><bounds xc="75" y="80.75" width="2" height="2" /></element>
+
+ <element ref="text_8"><bounds x="-2.75" yc="5" width="2" height="2" /></element>
+ <element ref="text_7"><bounds x="-2.75" yc="15" width="2" height="2" /></element>
+ <element ref="text_6"><bounds x="-2.75" yc="25" width="2" height="2" /></element>
+ <element ref="text_5"><bounds x="-2.75" yc="35" width="2" height="2" /></element>
+ <element ref="text_4"><bounds x="-2.75" yc="45" width="2" height="2" /></element>
+ <element ref="text_3"><bounds x="-2.75" yc="55" width="2" height="2" /></element>
+ <element ref="text_2"><bounds x="-2.75" yc="65" width="2" height="2" /></element>
+ <element ref="text_1"><bounds x="-2.75" yc="75" width="2" height="2" /></element>
+
+ <!-- chessboard leds -->
+ <element name="0.7" ref="ledg"><bounds x="-5.5" yc="5" width="2" height="1" /></element>
+ <element name="0.6" ref="ledg"><bounds x="-5.5" yc="15" width="2" height="1" /></element>
+ <element name="0.5" ref="ledg"><bounds x="-5.5" yc="25" width="2" height="1" /></element>
+ <element name="0.4" ref="ledg"><bounds x="-5.5" yc="35" width="2" height="1" /></element>
+ <element name="0.3" ref="ledg"><bounds x="-5.5" yc="45" width="2" height="1" /></element>
+ <element name="0.2" ref="ledg"><bounds x="-5.5" yc="55" width="2" height="1" /></element>
+ <element name="0.1" ref="ledg"><bounds x="-5.5" yc="65" width="2" height="1" /></element>
+ <element name="0.0" ref="ledg"><bounds x="-5.5" yc="75" width="2" height="1" /></element>
+
+ <element name="2.0" ref="ledg"><bounds xc="5" y="83.5" width="1" height="2" /></element>
+ <element name="2.1" ref="ledg"><bounds xc="15" y="83.5" width="1" height="2" /></element>
+ <element name="2.2" ref="ledg"><bounds xc="25" y="83.5" width="1" height="2" /></element>
+ <element name="2.3" ref="ledg"><bounds xc="35" y="83.5" width="1" height="2" /></element>
+ <element name="2.4" ref="ledg"><bounds xc="45" y="83.5" width="1" height="2" /></element>
+ <element name="2.5" ref="ledg"><bounds xc="55" y="83.5" width="1" height="2" /></element>
+ <element name="2.6" ref="ledg"><bounds xc="65" y="83.5" width="1" height="2" /></element>
+ <element name="2.7" ref="ledg"><bounds xc="75" y="83.5" width="1" height="2" /></element>
+
+ <group ref="sb_board"><bounds x="-0.25" y="-0.25" width="80.5" height="80.5" /></group>
+ <group ref="sb_ui"><bounds x="-17" y="0" width="10" height="80" /></group>
+
+ <group ref="buttons"><bounds x="79.25" y="20" width="60" height="60" /></group>
+
+ <group ref="leds"><bounds x="81.4" y="-5" width="55" height="11" /></group>
+ <element ref="black"><bounds x="85.25" y="6" width="36.25" height="0.25" /></element>
+
+ </view>
+</mamelayout>
diff --git a/src/mame/mame.lst b/src/mame/mame.lst
index 056edf878c7..83757a35362 100644
--- a/src/mame/mame.lst
+++ b/src/mame/mame.lst
@@ -46259,6 +46259,9 @@ vl1
@source:yamaha/ymvl70.cpp
vl70 // 1996 VL70-m
+@source:yeno/416xl.cpp
+y416xl
+
@source:yunsung/nmg5.cpp
7ordi // (c) 2002 Yun Sung
garogun // (c) 2000 Yun Sung
diff --git a/src/mame/tryom/chess.cpp b/src/mame/tryom/chess.cpp
index 87d05b0e010..3bad50fda23 100644
--- a/src/mame/tryom/chess.cpp
+++ b/src/mame/tryom/chess.cpp
@@ -58,7 +58,7 @@ private:
required_device<cpu_device> m_maincpu;
required_device<f38t56_device> m_psu;
required_device<pwm_display_device> m_display;
- required_device<dac_bit_interface> m_dac;
+ required_device<dac_1bit_device> m_dac;
required_ioport_array<5> m_inputs;
std::unique_ptr<u8[]> m_ram;
diff --git a/src/mame/tryom/omar.cpp b/src/mame/tryom/omar.cpp
index 1170818731b..b067d4660a3 100644
--- a/src/mame/tryom/omar.cpp
+++ b/src/mame/tryom/omar.cpp
@@ -67,7 +67,7 @@ protected:
required_device<cpu_device> m_maincpu;
required_device<f38t56_device> m_psu;
required_device<pwm_display_device> m_display;
- required_device<dac_bit_interface> m_dac;
+ required_device<dac_1bit_device> m_dac;
required_ioport_array<5> m_inputs;
u8 m_inp_mux = 0;
@@ -90,6 +90,7 @@ void omar_state::machine_start()
save_item(NAME(m_inp_mux));
}
+
// Omar II
class omar2_state : public omar_state
diff --git a/src/mame/yeno/416xl.cpp b/src/mame/yeno/416xl.cpp
new file mode 100644
index 00000000000..c6d3d7504ac
--- /dev/null
+++ b/src/mame/yeno/416xl.cpp
@@ -0,0 +1,222 @@
+// license:BSD-3-Clause
+// copyright-holders:hap
+// thanks-to:Berger
+/*******************************************************************************
+
+Yeno 416 XL
+
+The chess engine is by Frans Morsch, similar to Mephisto Europa.
+
+NOTE: Turn the power off (SAVE) before exiting MAME, otherwise NVRAM won't save
+properly.
+
+Hardware notes:
+- PCB label: CHESS3 YENO 416XL
+- Hitachi HD63B01Y0P @ ~8MHz (LC oscillator)
+- 8*8 chessboard buttons, 16+7 LEDs, piezo
+
+TODO:
+- if/when MAME supports an exit callback, hook up power-off switch to that
+
+*******************************************************************************/
+
+#include "emu.h"
+
+#include "cpu/m6800/m6801.h"
+#include "machine/sensorboard.h"
+#include "sound/dac.h"
+#include "video/pwm.h"
+
+#include "speaker.h"
+
+// internal artwork
+#include "yeno_416xl.lh"
+
+
+namespace {
+
+class y416xl_state : public driver_device
+{
+public:
+ y416xl_state(const machine_config &mconfig, device_type type, const char *tag) :
+ driver_device(mconfig, type, tag),
+ m_maincpu(*this, "maincpu"),
+ m_board(*this, "board"),
+ m_display(*this, "display"),
+ m_dac(*this, "dac"),
+ m_inputs(*this, "IN.%u", 0)
+ { }
+
+ void y416xl(machine_config &config);
+
+ DECLARE_INPUT_CHANGED_MEMBER(power_off) { if (newval) m_power = false; }
+
+protected:
+ virtual void machine_start() override;
+ virtual void machine_reset() override { m_power = true; }
+
+private:
+ // devices/pointers
+ required_device<hd6301y0_cpu_device> m_maincpu;
+ required_device<sensorboard_device> m_board;
+ required_device<pwm_display_device> m_display;
+ required_device<dac_1bit_device> m_dac;
+ required_ioport_array<2> m_inputs;
+
+ bool m_power = false;
+ u16 m_inp_mux = 0;
+
+ // I/O handlers
+ template <int N> void leds_w(u8 data);
+ u8 p2_r();
+ void p2_w(u8 data);
+ u8 p5_r();
+ void p6_w(u8 data);
+};
+
+void y416xl_state::machine_start()
+{
+ // register for savestates
+ save_item(NAME(m_power));
+ save_item(NAME(m_inp_mux));
+}
+
+
+
+/*******************************************************************************
+ I/O
+*******************************************************************************/
+
+template <int N>
+void y416xl_state::leds_w(u8 data)
+{
+ // P10-P17, P30-P37, P40-P47: leds (direct)
+ m_display->write_row(N, ~data);
+}
+
+u8 y416xl_state::p2_r()
+{
+ // P22: power switch
+ return m_power ? 0xff : 0xfb;
+}
+
+void y416xl_state::p2_w(u8 data)
+{
+ // P20,P21: input mux (buttons)
+ m_inp_mux = (m_inp_mux & 0xff) | (~data << 8 & 0x300);
+
+ // P23: speaker out
+ m_dac->write(BIT(data, 3));
+}
+
+u8 y416xl_state::p5_r()
+{
+ // P50-P57: multiplexed inputs
+ u8 data = 0;
+
+ // read buttons
+ for (int i = 0; i < 3; i++)
+ if (BIT(m_inp_mux, i + 8))
+ data |= m_inputs[i]->read();
+
+ // read chessboard
+ for (int i = 0; i < 8; i++)
+ if (BIT(m_inp_mux, i))
+ data |= m_board->read_file(i);
+
+ return ~data;
+}
+
+void y416xl_state::p6_w(u8 data)
+{
+ // P60-P67: input mux (chessboard)
+ m_inp_mux = (m_inp_mux & 0x300) | (data ^ 0xff);
+}
+
+
+
+/*******************************************************************************
+ Input Ports
+*******************************************************************************/
+
+static INPUT_PORTS_START( y416xl )
+ PORT_START("IN.0")
+ PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_6) PORT_CODE(KEYCODE_6_PAD) PORT_NAME("Pawn")
+ PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_5) PORT_CODE(KEYCODE_5_PAD) PORT_NAME("Knight")
+ PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_4) PORT_CODE(KEYCODE_4_PAD) PORT_NAME("Bishop")
+ PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_3) PORT_CODE(KEYCODE_3_PAD) PORT_NAME("Rook")
+ PORT_BIT(0x10, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_2) PORT_CODE(KEYCODE_2_PAD) PORT_NAME("Queen")
+ PORT_BIT(0x20, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_1) PORT_CODE(KEYCODE_1_PAD) PORT_NAME("King")
+ PORT_BIT(0x40, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_P) PORT_NAME("Play")
+ PORT_BIT(0x80, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_T) PORT_NAME("Take Back")
+
+ PORT_START("IN.1")
+ PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_N) PORT_NAME("New Game")
+ PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_L) PORT_NAME("Level")
+ PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_S) PORT_NAME("Set Up")
+ PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_U) PORT_NAME("Multimove")
+ PORT_BIT(0x10, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_C) PORT_NAME("Change Color")
+ PORT_BIT(0x20, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_O) PORT_NAME("Sound / Change Direction")
+ PORT_BIT(0x40, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_E) PORT_NAME("Learning")
+ PORT_BIT(0x80, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_M) PORT_NAME("Show Move")
+
+ PORT_START("POWER") // needs to be triggered for nvram to work
+ PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_OTHER) PORT_CODE(KEYCODE_F1) PORT_CHANGED_MEMBER(DEVICE_SELF, y416xl_state, power_off, 0) PORT_NAME("Power Off")
+INPUT_PORTS_END
+
+
+
+/*******************************************************************************
+ Machine Configs
+*******************************************************************************/
+
+void y416xl_state::y416xl(machine_config &config)
+{
+ // basic machine hardware
+ HD6301Y0(config, m_maincpu, 8'000'000); // approximation, no XTAL
+ m_maincpu->nvram_enable_backup(true);
+ m_maincpu->standby_cb().set(m_maincpu, FUNC(hd6301y0_cpu_device::nvram_set_battery));
+ m_maincpu->standby_cb().append([this](int state) { if (state) m_display->clear(); });
+ m_maincpu->out_p1_cb().set(FUNC(y416xl_state::leds_w<0>));
+ m_maincpu->in_p2_cb().set(FUNC(y416xl_state::p2_r));
+ m_maincpu->out_p2_cb().set(FUNC(y416xl_state::p2_w));
+ m_maincpu->out_p3_cb().set(FUNC(y416xl_state::leds_w<1>));
+ m_maincpu->out_p4_cb().set(FUNC(y416xl_state::leds_w<2>));
+ m_maincpu->in_p5_cb().set(FUNC(y416xl_state::p5_r));
+ m_maincpu->out_p6_cb().set(FUNC(y416xl_state::p6_w));
+
+ SENSORBOARD(config, m_board).set_type(sensorboard_device::BUTTONS);
+ m_board->init_cb().set(m_board, FUNC(sensorboard_device::preset_chess));
+ m_board->set_delay(attotime::from_msec(150));
+ m_board->set_nvram_enable(true);
+
+ // video hardware
+ PWM_DISPLAY(config, m_display).set_size(3, 8);
+ config.set_default_layout(layout_yeno_416xl);
+
+ // sound hardware
+ SPEAKER(config, "speaker").front_center();
+ DAC_1BIT(config, m_dac).add_route(ALL_OUTPUTS, "speaker", 0.25);
+}
+
+
+
+/*******************************************************************************
+ ROM Definitions
+*******************************************************************************/
+
+ROM_START( y416xl )
+ ROM_REGION( 0x4000, "maincpu", 0 )
+ ROM_LOAD("yeno_ic-890529_hd6301y0k79p.u1", 0x0000, 0x4000, CRC(85b4368d) SHA1(9dc12a6538141efe1ebcf8162ac7348ddc2b33ae) )
+ROM_END
+
+} // anonymous namespace
+
+
+
+/*******************************************************************************
+ Drivers
+*******************************************************************************/
+
+// YEAR NAME PARENT COMPAT MACHINE INPUT CLASS INIT COMPANY, FULLNAME, FLAGS
+SYST( 1989, y416xl, 0, 0, y416xl, y416xl, y416xl_state, empty_init, "Yeno", "416 XL (Yeno)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )