From 000f1d0b98942d61f34e573200860479c9aab740 Mon Sep 17 00:00:00 2001 From: Christian Brunschen <6741909+cbrunschen@users.noreply.github.com> Date: Fri, 21 Nov 2025 14:45:26 +0000 Subject: [PATCH 01/10] {vfx,vfxsd,sd1,sd132}.lay: Regenerate with updated button size. VFX family buttons are actually 15.8mm wide, not 15mm. Regenerated all four layouts. --- src/mame/layout/sd1.lay | 647 +++++++++++++++++++------------------ src/mame/layout/sd132.lay | 653 +++++++++++++++++++------------------- src/mame/layout/vfx.lay | 564 ++++++++++++++++---------------- src/mame/layout/vfxsd.lay | 647 +++++++++++++++++++------------------ 4 files changed, 1234 insertions(+), 1277 deletions(-) diff --git a/src/mame/layout/sd1.lay b/src/mame/layout/sd1.lay index dee54132a2d89..11196ad4e7db0 100644 --- a/src/mame/layout/sd1.lay +++ b/src/mame/layout/sd1.lay @@ -2,39 +2,36 @@ - + - + + - ]]> - + - + + - ]]> - + - + - + + - ]]> @@ -49,7 +46,6 @@ - ]]> @@ -63,7 +59,6 @@ - ]]> @@ -80,7 +75,6 @@ - ]]> @@ -93,7 +87,6 @@ - ]]> @@ -105,7 +98,6 @@ - ]]> @@ -162,7 +154,7 @@ ]]> - + - + @@ -459,7 +451,7 @@ - + @@ -490,87 +482,87 @@ - + + ]]> + ]]> - + + ]]> + ]]> - + + ]]> + ]]> - + + ]]> + ]]> - + + ]]> + ]]> - + @@ -932,10 +924,10 @@ - + - + @@ -947,11 +939,11 @@ - - + + - - + + @@ -973,166 +965,166 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -1141,172 +1133,172 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -1314,134 +1306,134 @@ - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - + - + - + @@ -1485,7 +1477,7 @@ - + @@ -1500,7 +1492,7 @@ - + @@ -1551,10 +1543,10 @@ - + - + @@ -2095,10 +2087,10 @@ - + - + @@ -2112,13 +2104,13 @@ - + - + - + @@ -2126,7 +2118,7 @@ - + @@ -2134,7 +2126,7 @@ - + @@ -2142,7 +2134,7 @@ - + @@ -2150,7 +2142,7 @@ - + @@ -2158,7 +2150,7 @@ - + @@ -2166,7 +2158,7 @@ - + @@ -2174,7 +2166,7 @@ - + @@ -2182,7 +2174,7 @@ - + @@ -2190,7 +2182,7 @@ - + @@ -2198,7 +2190,7 @@ - + @@ -2206,7 +2198,7 @@ - + @@ -2214,7 +2206,7 @@ - + @@ -2222,7 +2214,7 @@ - + @@ -2230,7 +2222,7 @@ - + @@ -2238,7 +2230,7 @@ - + @@ -2246,7 +2238,7 @@ - + @@ -2254,7 +2246,7 @@ - + @@ -2262,7 +2254,7 @@ - + @@ -2270,7 +2262,7 @@ - + @@ -2278,7 +2270,7 @@ - + @@ -2286,7 +2278,7 @@ - + @@ -2294,7 +2286,7 @@ - + @@ -2302,7 +2294,7 @@ - + @@ -2310,7 +2302,7 @@ - + @@ -2318,7 +2310,7 @@ - + @@ -2326,7 +2318,7 @@ - + @@ -2334,7 +2326,7 @@ - + @@ -2342,7 +2334,7 @@ - + @@ -2350,7 +2342,7 @@ - + @@ -2358,7 +2350,7 @@ - + @@ -2366,7 +2358,7 @@ - + @@ -2374,7 +2366,7 @@ - + @@ -2382,7 +2374,7 @@ - + @@ -2390,7 +2382,7 @@ - + @@ -2398,7 +2390,7 @@ - + @@ -2406,7 +2398,7 @@ - + @@ -2437,32 +2429,32 @@ - + - + - - - + + + - - + + - + - - + + - - + + @@ -2493,7 +2485,7 @@ - + @@ -2523,10 +2515,10 @@ - + - + @@ -2542,7 +2534,7 @@ - + @@ -2559,7 +2551,7 @@ - + @@ -2574,21 +2566,21 @@ - + - - + + - + - + @@ -2603,10 +2595,10 @@ - + - + @@ -2620,13 +2612,13 @@ - + - + @@ -2662,7 +2654,7 @@ manager:addHandler(SliderHandler:create(view, "slider_data_entry", "slider_knob_data_entry", "analog_data_entry")) manager:addHandler(SliderHandler:create(view, "wheel_pitch_bend", "wheel_knob_pitch_bend", "analog_pitch_bend", true, true)) manager:addHandler(SliderHandler:create(view, "wheel_mod_wheel", "wheel_knob_mod_wheel", "analog_mod_wheel", true, false)) - manager:addHandler(KeyboardHandler:create(view, "playable_keyboard_background", "playable_keyboard_key_", "key_", 4, 3)) + manager:addHandler(KeyboardHandler:create(view, "compact_keyboard_background", "compact_keyboard_key_", "key_", 4, 3)) end if view.unqualified_name == "Panel" then @@ -3266,9 +3258,6 @@ ----------------------------------------------------------------------- -- Slider library ends. ----------------------------------------------------------------------- - - - ]]> diff --git a/src/mame/layout/sd132.lay b/src/mame/layout/sd132.lay index bcc5fc090451d..ba988733143cb 100644 --- a/src/mame/layout/sd132.lay +++ b/src/mame/layout/sd132.lay @@ -2,39 +2,36 @@ - + - + + - ]]> - + - + + - ]]> - + - + - + + - ]]> @@ -49,7 +46,6 @@ - ]]> @@ -63,7 +59,6 @@ - ]]> @@ -80,7 +75,6 @@ - ]]> @@ -93,7 +87,6 @@ - ]]> @@ -105,7 +98,6 @@ - ]]> @@ -162,7 +154,7 @@ ]]> - + - + @@ -459,7 +451,7 @@ - + @@ -474,8 +466,8 @@ - - + + @@ -493,87 +485,87 @@ - + + ]]> + ]]> - + + ]]> + ]]> - + + ]]> + ]]> - + + ]]> + ]]> - + + ]]> + ]]> - + @@ -935,10 +927,10 @@ - + - + @@ -950,11 +942,11 @@ - - + + - - + + @@ -976,166 +968,166 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -1144,172 +1136,172 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -1317,134 +1309,134 @@ - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - + - + - + @@ -1488,7 +1480,7 @@ - + @@ -1503,7 +1495,7 @@ - + @@ -1554,10 +1546,10 @@ - + - + @@ -2098,10 +2090,10 @@ - + - + @@ -2115,13 +2107,13 @@ - + - + - + @@ -2129,7 +2121,7 @@ - + @@ -2137,7 +2129,7 @@ - + @@ -2145,7 +2137,7 @@ - + @@ -2153,7 +2145,7 @@ - + @@ -2161,7 +2153,7 @@ - + @@ -2169,7 +2161,7 @@ - + @@ -2177,7 +2169,7 @@ - + @@ -2185,7 +2177,7 @@ - + @@ -2193,7 +2185,7 @@ - + @@ -2201,7 +2193,7 @@ - + @@ -2209,7 +2201,7 @@ - + @@ -2217,7 +2209,7 @@ - + @@ -2225,7 +2217,7 @@ - + @@ -2233,7 +2225,7 @@ - + @@ -2241,7 +2233,7 @@ - + @@ -2249,7 +2241,7 @@ - + @@ -2257,7 +2249,7 @@ - + @@ -2265,7 +2257,7 @@ - + @@ -2273,7 +2265,7 @@ - + @@ -2281,7 +2273,7 @@ - + @@ -2289,7 +2281,7 @@ - + @@ -2297,7 +2289,7 @@ - + @@ -2305,7 +2297,7 @@ - + @@ -2313,7 +2305,7 @@ - + @@ -2321,7 +2313,7 @@ - + @@ -2329,7 +2321,7 @@ - + @@ -2337,7 +2329,7 @@ - + @@ -2345,7 +2337,7 @@ - + @@ -2353,7 +2345,7 @@ - + @@ -2361,7 +2353,7 @@ - + @@ -2369,7 +2361,7 @@ - + @@ -2377,7 +2369,7 @@ - + @@ -2385,7 +2377,7 @@ - + @@ -2393,7 +2385,7 @@ - + @@ -2401,7 +2393,7 @@ - + @@ -2409,7 +2401,7 @@ - + @@ -2440,32 +2432,32 @@ - + - + - - - + + + - - + + - + - - + + - - + + @@ -2496,7 +2488,7 @@ - + @@ -2529,13 +2521,13 @@ - + - + - + @@ -2552,7 +2544,7 @@ - + @@ -2569,7 +2561,7 @@ - + @@ -2584,21 +2576,21 @@ - + - - + + - + - + @@ -2613,10 +2605,10 @@ - + - + @@ -2630,13 +2622,13 @@ - + - + @@ -2672,7 +2664,7 @@ manager:addHandler(SliderHandler:create(view, "slider_data_entry", "slider_knob_data_entry", "analog_data_entry")) manager:addHandler(SliderHandler:create(view, "wheel_pitch_bend", "wheel_knob_pitch_bend", "analog_pitch_bend", true, true)) manager:addHandler(SliderHandler:create(view, "wheel_mod_wheel", "wheel_knob_mod_wheel", "analog_mod_wheel", true, false)) - manager:addHandler(KeyboardHandler:create(view, "playable_keyboard_background", "playable_keyboard_key_", "key_", 4, 3)) + manager:addHandler(KeyboardHandler:create(view, "compact_keyboard_background", "compact_keyboard_key_", "key_", 4, 3)) end if view.unqualified_name == "Panel" then @@ -3276,9 +3268,6 @@ ----------------------------------------------------------------------- -- Slider library ends. ----------------------------------------------------------------------- - - - ]]> diff --git a/src/mame/layout/vfx.lay b/src/mame/layout/vfx.lay index b65002395c74a..205833bb8f48e 100644 --- a/src/mame/layout/vfx.lay +++ b/src/mame/layout/vfx.lay @@ -2,39 +2,36 @@ - + - + + - ]]> - + - + + - ]]> - + - + - + + - ]]> @@ -49,7 +46,6 @@ - ]]> @@ -63,7 +59,6 @@ - ]]> @@ -76,7 +71,6 @@ - ]]> @@ -88,7 +82,6 @@ - ]]> @@ -145,7 +138,7 @@ ]]> - + - + @@ -434,71 +427,71 @@ - + + ]]> + ]]> - + + ]]> + ]]> - + + ]]> + ]]> - + + ]]> + ]]> - + @@ -852,10 +845,10 @@ - + - + @@ -867,11 +860,11 @@ - - + + - - + + @@ -893,151 +886,151 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -1046,133 +1039,133 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -1180,107 +1173,107 @@ - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - + - + - + @@ -1321,7 +1314,7 @@ - + @@ -1375,10 +1368,10 @@ - + - + @@ -1919,10 +1912,10 @@ - + - + @@ -1936,13 +1929,13 @@ - + - + - + @@ -1950,7 +1943,7 @@ - + @@ -1958,7 +1951,7 @@ - + @@ -1966,7 +1959,7 @@ - + @@ -1974,7 +1967,7 @@ - + @@ -1982,7 +1975,7 @@ - + @@ -1990,7 +1983,7 @@ - + @@ -1998,7 +1991,7 @@ - + @@ -2006,7 +1999,7 @@ - + @@ -2014,7 +2007,7 @@ - + @@ -2022,7 +2015,7 @@ - + @@ -2030,7 +2023,7 @@ - + @@ -2038,7 +2031,7 @@ - + @@ -2046,7 +2039,7 @@ - + @@ -2054,7 +2047,7 @@ - + @@ -2062,7 +2055,7 @@ - + @@ -2070,7 +2063,7 @@ - + @@ -2078,7 +2071,7 @@ - + @@ -2086,7 +2079,7 @@ - + @@ -2094,7 +2087,7 @@ - + @@ -2102,7 +2095,7 @@ - + @@ -2110,7 +2103,7 @@ - + @@ -2118,7 +2111,7 @@ - + @@ -2126,7 +2119,7 @@ - + @@ -2134,7 +2127,7 @@ - + @@ -2142,7 +2135,7 @@ - + @@ -2150,7 +2143,7 @@ - + @@ -2158,7 +2151,7 @@ - + @@ -2166,7 +2159,7 @@ - + @@ -2174,7 +2167,7 @@ - + @@ -2182,7 +2175,7 @@ - + @@ -2190,7 +2183,7 @@ - + @@ -2198,7 +2191,7 @@ - + @@ -2206,7 +2199,7 @@ - + @@ -2214,7 +2207,7 @@ - + @@ -2222,7 +2215,7 @@ - + @@ -2230,7 +2223,7 @@ - + @@ -2261,32 +2254,32 @@ - + - + - - - + + + - - + + - + - - + + - - + + @@ -2317,7 +2310,7 @@ - + @@ -2344,10 +2337,10 @@ - + - + @@ -2360,7 +2353,7 @@ - + @@ -2377,7 +2370,7 @@ - + @@ -2392,21 +2385,21 @@ - + - - + + - + - + @@ -2421,10 +2414,10 @@ - + - + @@ -2438,13 +2431,13 @@ - + - + @@ -2480,7 +2473,7 @@ manager:addHandler(SliderHandler:create(view, "slider_data_entry", "slider_knob_data_entry", "analog_data_entry")) manager:addHandler(SliderHandler:create(view, "wheel_pitch_bend", "wheel_knob_pitch_bend", "analog_pitch_bend", true, true)) manager:addHandler(SliderHandler:create(view, "wheel_mod_wheel", "wheel_knob_mod_wheel", "analog_mod_wheel", true, false)) - manager:addHandler(KeyboardHandler:create(view, "playable_keyboard_background", "playable_keyboard_key_", "key_", 4, 3)) + manager:addHandler(KeyboardHandler:create(view, "compact_keyboard_background", "compact_keyboard_key_", "key_", 4, 3)) end if view.unqualified_name == "Panel" then @@ -3084,9 +3077,6 @@ ----------------------------------------------------------------------- -- Slider library ends. ----------------------------------------------------------------------- - - - ]]> diff --git a/src/mame/layout/vfxsd.lay b/src/mame/layout/vfxsd.lay index 76766a1aa68fd..160aa8fdb4c25 100644 --- a/src/mame/layout/vfxsd.lay +++ b/src/mame/layout/vfxsd.lay @@ -2,39 +2,36 @@ - + - + + - ]]> - + - + + - ]]> - + - + - + + - ]]> @@ -49,7 +46,6 @@ - ]]> @@ -63,7 +59,6 @@ - ]]> @@ -80,7 +75,6 @@ - ]]> @@ -93,7 +87,6 @@ - ]]> @@ -105,7 +98,6 @@ - ]]> @@ -162,7 +154,7 @@ ]]> - + - + @@ -459,7 +451,7 @@ - + @@ -490,87 +482,87 @@ - + + ]]> + ]]> - + + ]]> + ]]> - + + ]]> + ]]> - + + ]]> + ]]> - + + ]]> + ]]> - + @@ -932,10 +924,10 @@ - + - + @@ -947,11 +939,11 @@ - - + + - - + + @@ -973,166 +965,166 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -1141,172 +1133,172 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -1314,134 +1306,134 @@ - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - + - + - + @@ -1485,7 +1477,7 @@ - + @@ -1500,7 +1492,7 @@ - + @@ -1551,10 +1543,10 @@ - + - + @@ -2095,10 +2087,10 @@ - + - + @@ -2112,13 +2104,13 @@ - + - + - + @@ -2126,7 +2118,7 @@ - + @@ -2134,7 +2126,7 @@ - + @@ -2142,7 +2134,7 @@ - + @@ -2150,7 +2142,7 @@ - + @@ -2158,7 +2150,7 @@ - + @@ -2166,7 +2158,7 @@ - + @@ -2174,7 +2166,7 @@ - + @@ -2182,7 +2174,7 @@ - + @@ -2190,7 +2182,7 @@ - + @@ -2198,7 +2190,7 @@ - + @@ -2206,7 +2198,7 @@ - + @@ -2214,7 +2206,7 @@ - + @@ -2222,7 +2214,7 @@ - + @@ -2230,7 +2222,7 @@ - + @@ -2238,7 +2230,7 @@ - + @@ -2246,7 +2238,7 @@ - + @@ -2254,7 +2246,7 @@ - + @@ -2262,7 +2254,7 @@ - + @@ -2270,7 +2262,7 @@ - + @@ -2278,7 +2270,7 @@ - + @@ -2286,7 +2278,7 @@ - + @@ -2294,7 +2286,7 @@ - + @@ -2302,7 +2294,7 @@ - + @@ -2310,7 +2302,7 @@ - + @@ -2318,7 +2310,7 @@ - + @@ -2326,7 +2318,7 @@ - + @@ -2334,7 +2326,7 @@ - + @@ -2342,7 +2334,7 @@ - + @@ -2350,7 +2342,7 @@ - + @@ -2358,7 +2350,7 @@ - + @@ -2366,7 +2358,7 @@ - + @@ -2374,7 +2366,7 @@ - + @@ -2382,7 +2374,7 @@ - + @@ -2390,7 +2382,7 @@ - + @@ -2398,7 +2390,7 @@ - + @@ -2406,7 +2398,7 @@ - + @@ -2437,32 +2429,32 @@ - + - + - - - + + + - - + + - + - - + + - - + + @@ -2493,7 +2485,7 @@ - + @@ -2523,10 +2515,10 @@ - + - + @@ -2542,7 +2534,7 @@ - + @@ -2559,7 +2551,7 @@ - + @@ -2574,21 +2566,21 @@ - + - - + + - + - + @@ -2603,10 +2595,10 @@ - + - + @@ -2620,13 +2612,13 @@ - + - + @@ -2662,7 +2654,7 @@ manager:addHandler(SliderHandler:create(view, "slider_data_entry", "slider_knob_data_entry", "analog_data_entry")) manager:addHandler(SliderHandler:create(view, "wheel_pitch_bend", "wheel_knob_pitch_bend", "analog_pitch_bend", true, true)) manager:addHandler(SliderHandler:create(view, "wheel_mod_wheel", "wheel_knob_mod_wheel", "analog_mod_wheel", true, false)) - manager:addHandler(KeyboardHandler:create(view, "playable_keyboard_background", "playable_keyboard_key_", "key_", 4, 3)) + manager:addHandler(KeyboardHandler:create(view, "compact_keyboard_background", "compact_keyboard_key_", "key_", 4, 3)) end if view.unqualified_name == "Panel" then @@ -3266,9 +3258,6 @@ ----------------------------------------------------------------------- -- Slider library ends. ----------------------------------------------------------------------- - - - ]]> From 0f701506d832866bb3e4417ab3e7e65dbbf47144 Mon Sep 17 00:00:00 2001 From: Christian Brunschen <6741909+cbrunschen@users.noreply.github.com> Date: Sun, 23 Nov 2025 17:19:34 +0000 Subject: [PATCH 02/10] Added the multi-page indicators above the respective button labels. --- src/mame/layout/sd1.lay | 86 +++++++++++++++++++++++++++++++++++++++ src/mame/layout/sd132.lay | 86 +++++++++++++++++++++++++++++++++++++++ src/mame/layout/vfx.lay | 52 +++++++++++++++++++++++ src/mame/layout/vfxsd.lay | 86 +++++++++++++++++++++++++++++++++++++++ 4 files changed, 310 insertions(+) diff --git a/src/mame/layout/sd1.lay b/src/mame/layout/sd1.lay index 11196ad4e7db0..37ad0fcd5ba61 100644 --- a/src/mame/layout/sd1.lay +++ b/src/mame/layout/sd1.lay @@ -24,6 +24,50 @@ ]]> + + + + + + + + ]]> + + + + + + + + + + ]]> + + + + + + + + + + ]]> + + + + + + + + + + ]]> + + @@ -1111,12 +1155,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/mame/layout/sd132.lay b/src/mame/layout/sd132.lay index ba988733143cb..95dbe399991fe 100644 --- a/src/mame/layout/sd132.lay +++ b/src/mame/layout/sd132.lay @@ -24,6 +24,50 @@ ]]> + + + + + + + + ]]> + + + + + + + + + + ]]> + + + + + + + + + + ]]> + + + + + + + + + + ]]> + + @@ -1114,12 +1158,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/mame/layout/vfx.lay b/src/mame/layout/vfx.lay index 205833bb8f48e..adf11268c3b98 100644 --- a/src/mame/layout/vfx.lay +++ b/src/mame/layout/vfx.lay @@ -24,6 +24,28 @@ ]]> + + + + + + + + ]]> + + + + + + + + + + ]]> + + @@ -1026,6 +1048,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/mame/layout/vfxsd.lay b/src/mame/layout/vfxsd.lay index 160aa8fdb4c25..5d3b4f2a1088f 100644 --- a/src/mame/layout/vfxsd.lay +++ b/src/mame/layout/vfxsd.lay @@ -24,6 +24,50 @@ ]]> + + + + + + + + ]]> + + + + + + + + + + ]]> + + + + + + + + + + ]]> + + + + + + + + + + ]]> + + @@ -1111,12 +1155,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 26b53e488d2d1ec54630048d4aea5ede71690c06 Mon Sep 17 00:00:00 2001 From: Christian Brunschen <6741909+cbrunschen@users.noreply.github.com> Date: Sun, 23 Nov 2025 17:46:45 +0000 Subject: [PATCH 03/10] Adjust the height of the multi-page indicators: start from the baseline of the label. --- src/mame/layout/sd1.lay | 52 +++++++++++++++++++-------------------- src/mame/layout/sd132.lay | 52 +++++++++++++++++++-------------------- src/mame/layout/vfx.lay | 32 ++++++++++++------------ src/mame/layout/vfxsd.lay | 52 +++++++++++++++++++-------------------- 4 files changed, 94 insertions(+), 94 deletions(-) diff --git a/src/mame/layout/sd1.lay b/src/mame/layout/sd1.lay index 37ad0fcd5ba61..f80c2e08e25c2 100644 --- a/src/mame/layout/sd1.lay +++ b/src/mame/layout/sd1.lay @@ -26,44 +26,44 @@ - + - + + ]]> - + - + + ]]> - + - + + ]]> - + - + + ]]> @@ -1156,34 +1156,34 @@ - + - + - + - + - + - + - + - + - + - + @@ -1192,16 +1192,16 @@ - + - + - + - + diff --git a/src/mame/layout/sd132.lay b/src/mame/layout/sd132.lay index 95dbe399991fe..5fc1c766d05bb 100644 --- a/src/mame/layout/sd132.lay +++ b/src/mame/layout/sd132.lay @@ -26,44 +26,44 @@ - + - + + ]]> - + - + + ]]> - + - + + ]]> - + - + + ]]> @@ -1159,34 +1159,34 @@ - + - + - + - + - + - + - + - + - + - + @@ -1195,16 +1195,16 @@ - + - + - + - + diff --git a/src/mame/layout/vfx.lay b/src/mame/layout/vfx.lay index adf11268c3b98..2a648c44e1dd1 100644 --- a/src/mame/layout/vfx.lay +++ b/src/mame/layout/vfx.lay @@ -26,22 +26,22 @@ - + - + + ]]> - + - + + ]]> @@ -1049,34 +1049,34 @@ - + - + - + - + - + - + - + - + - + - + diff --git a/src/mame/layout/vfxsd.lay b/src/mame/layout/vfxsd.lay index 5d3b4f2a1088f..9522b7bd4121c 100644 --- a/src/mame/layout/vfxsd.lay +++ b/src/mame/layout/vfxsd.lay @@ -26,44 +26,44 @@ - + - + + ]]> - + - + + ]]> - + - + + ]]> - + - + + ]]> @@ -1156,34 +1156,34 @@ - + - + - + - + - + - + - + - + - + - + @@ -1192,16 +1192,16 @@ - + - + - + - + From 5fe66ea0a1d87cb263478df52f2f1c30f892d134 Mon Sep 17 00:00:00 2001 From: Christian Brunschen <6741909+cbrunschen@users.noreply.github.com> Date: Sun, 23 Nov 2025 17:55:19 +0000 Subject: [PATCH 04/10] Correctly place the "Output" button. --- src/mame/layout/sd1.lay | 6 +++--- src/mame/layout/sd132.lay | 6 +++--- src/mame/layout/vfx.lay | 6 +++--- src/mame/layout/vfxsd.lay | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/mame/layout/sd1.lay b/src/mame/layout/sd1.lay index f80c2e08e25c2..5b85fe03868ae 100644 --- a/src/mame/layout/sd1.lay +++ b/src/mame/layout/sd1.lay @@ -1171,7 +1171,7 @@ - + @@ -1309,7 +1309,7 @@ - + @@ -1456,7 +1456,7 @@ - + diff --git a/src/mame/layout/sd132.lay b/src/mame/layout/sd132.lay index 5fc1c766d05bb..13c4510000e4e 100644 --- a/src/mame/layout/sd132.lay +++ b/src/mame/layout/sd132.lay @@ -1174,7 +1174,7 @@ - + @@ -1312,7 +1312,7 @@ - + @@ -1459,7 +1459,7 @@ - + diff --git a/src/mame/layout/vfx.lay b/src/mame/layout/vfx.lay index 2a648c44e1dd1..1fffbc056d576 100644 --- a/src/mame/layout/vfx.lay +++ b/src/mame/layout/vfx.lay @@ -1064,7 +1064,7 @@ - + @@ -1181,7 +1181,7 @@ - + @@ -1289,7 +1289,7 @@ - + diff --git a/src/mame/layout/vfxsd.lay b/src/mame/layout/vfxsd.lay index 9522b7bd4121c..b43128da35945 100644 --- a/src/mame/layout/vfxsd.lay +++ b/src/mame/layout/vfxsd.lay @@ -1171,7 +1171,7 @@ - + @@ -1309,7 +1309,7 @@ - + @@ -1456,7 +1456,7 @@ - + From d43f6ea91d1fe2b18e6085762ffb152f780449b2 Mon Sep 17 00:00:00 2001 From: Christian Brunschen <6741909+cbrunschen@users.noreply.github.com> Date: Mon, 1 Dec 2025 08:53:23 +0000 Subject: [PATCH 05/10] Regenerate with improved vertical placement of button labels, metrics based on the "Arimo" font (metrics compatible with Helvetica, Arial and Liberation Sans), and using stretched text for the pseudo-logos. --- src/mame/layout/sd1.lay | 364 ++++++++++++++++++------------------- src/mame/layout/sd132.lay | 372 +++++++++++++++++++------------------- src/mame/layout/vfx.lay | 288 ++++++++++++++--------------- src/mame/layout/vfxsd.lay | 364 ++++++++++++++++++------------------- 4 files changed, 694 insertions(+), 694 deletions(-) diff --git a/src/mame/layout/sd1.lay b/src/mame/layout/sd1.lay index 5b85fe03868ae..903d3b970da17 100644 --- a/src/mame/layout/sd1.lay +++ b/src/mame/layout/sd1.lay @@ -24,46 +24,46 @@ ]]> - + - + - + + ]]> - + - + - + + ]]> - + - + - + + ]]> - + - + - + + ]]> @@ -978,10 +978,10 @@ - + - + @@ -1009,46 +1009,46 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -1154,63 +1154,63 @@ - - - + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - + - + - - + + - - + + - - + + - - + + - + - + - + @@ -1222,175 +1222,175 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -1528,13 +1528,13 @@ - + - + - + @@ -1543,58 +1543,58 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -1618,16 +1618,16 @@ - + - + - + - + @@ -2162,16 +2162,16 @@ - + - + - + - + @@ -2499,7 +2499,7 @@ - + @@ -2513,7 +2513,7 @@ - + @@ -2534,7 +2534,7 @@ - + @@ -2599,16 +2599,16 @@ - + - - + + - - + + - + @@ -2620,7 +2620,7 @@ - + @@ -2637,7 +2637,7 @@ - + @@ -2652,7 +2652,7 @@ - + @@ -2661,12 +2661,12 @@ - + - + @@ -2681,10 +2681,10 @@ - + - + @@ -2698,7 +2698,7 @@ - + @@ -3030,18 +3030,18 @@ -- The ranges where we can find the tops of the 12 keys within an octave local k12 = { - { key=0, x0=0, x1=79027/1000000, black=false, l = l_white }, - { key=1, x0=1769/20000, x1=807/5000, black=true, l = l_black }, - { key=2, x0=8541/50000, x1=4997/20000, black=false, l = l_white }, - { key=3, x0=25927/100000, x1=16611/50000, black=true, l = l_black }, - { key=4, x0=8541/25000, x1=42067/100000, black=false, l = l_white }, - { key=5, x0=1707/4000, x1=4997/10000, black=false, l = l_white }, - { key=6, x0=1591/3125, x1=58207/100000, black=true, l = l_black }, - { key=7, x0=59149/100000, x1=16611/25000, black=false, l = l_white }, - { key=8, x0=33693/50000, x1=74681/100000, black=true, l = l_black }, - { key=9, x0=75623/100000, x1=41459/50000, black=false, l = l_white }, - { key=10, x0=4193/5000, x1=18231/20000, black=true, l = l_black }, - { key=11, x0=92097/100000, x1=3106/3125, black=false, l = l_white }, + { key=0, x0=0, x1=79027/1000000, black=false, l = l_white }, + { key=1, x0=1769/20000, x1=807/5000, black=true, l = l_black }, + { key=2, x0=8541/50000, x1=4997/20000, black=false, l = l_white }, + { key=3, x0=25927/100000, x1=16611/50000, black=true, l = l_black }, + { key=4, x0=8541/25000, x1=42067/100000, black=false, l = l_white }, + { key=5, x0=1707/4000, x1=4997/10000, black=false, l = l_white }, + { key=6, x0=1591/3125, x1=58207/100000, black=true, l = l_black }, + { key=7, x0=59149/100000, x1=16611/25000, black=false, l = l_white }, + { key=8, x0=33693/50000, x1=74681/100000, black=true, l = l_black }, + { key=9, x0=75623/100000, x1=41459/50000, black=false, l = l_white }, + { key=10, x0=4193/5000, x1=18231/20000, black=true, l = l_black }, + { key=11, x0=92097/100000, x1=3106/3125, black=false, l = l_white }, } -- 85 equally sized ranges that each contain exactly one key, and the key @@ -3191,7 +3191,7 @@ key.item:set_animation_state_callback(function() new_state = 0 if key.pressure > 0 then - new_state = 128 + key.pressure + new_state = 127 + key.pressure elseif key.velocity > 0 then new_state = key.velocity else diff --git a/src/mame/layout/sd132.lay b/src/mame/layout/sd132.lay index 13c4510000e4e..428ca20ca856b 100644 --- a/src/mame/layout/sd132.lay +++ b/src/mame/layout/sd132.lay @@ -24,46 +24,46 @@ ]]> - + - + - + + ]]> - + - + - + + ]]> - + - + - + + ]]> - + - + - + + ]]> @@ -510,8 +510,8 @@ - - + + @@ -981,10 +981,10 @@ - + - + @@ -1012,46 +1012,46 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -1157,63 +1157,63 @@ - - - + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - + - + - - + + - - + + - - + + - - + + - + - + - + @@ -1225,175 +1225,175 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -1531,13 +1531,13 @@ - + - + - + @@ -1546,58 +1546,58 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -1621,16 +1621,16 @@ - + - + - + - + @@ -2165,16 +2165,16 @@ - + - + - + - + @@ -2502,7 +2502,7 @@ - + @@ -2516,7 +2516,7 @@ - + @@ -2537,7 +2537,7 @@ - + @@ -2605,20 +2605,20 @@ - + - - + + - - + + - - + + - + @@ -2630,7 +2630,7 @@ - + @@ -2647,7 +2647,7 @@ - + @@ -2662,7 +2662,7 @@ - + @@ -2671,12 +2671,12 @@ - + - + @@ -2691,10 +2691,10 @@ - + - + @@ -2708,7 +2708,7 @@ - + @@ -3040,18 +3040,18 @@ -- The ranges where we can find the tops of the 12 keys within an octave local k12 = { - { key=0, x0=0, x1=79027/1000000, black=false, l = l_white }, - { key=1, x0=1769/20000, x1=807/5000, black=true, l = l_black }, - { key=2, x0=8541/50000, x1=4997/20000, black=false, l = l_white }, - { key=3, x0=25927/100000, x1=16611/50000, black=true, l = l_black }, - { key=4, x0=8541/25000, x1=42067/100000, black=false, l = l_white }, - { key=5, x0=1707/4000, x1=4997/10000, black=false, l = l_white }, - { key=6, x0=1591/3125, x1=58207/100000, black=true, l = l_black }, - { key=7, x0=59149/100000, x1=16611/25000, black=false, l = l_white }, - { key=8, x0=33693/50000, x1=74681/100000, black=true, l = l_black }, - { key=9, x0=75623/100000, x1=41459/50000, black=false, l = l_white }, - { key=10, x0=4193/5000, x1=18231/20000, black=true, l = l_black }, - { key=11, x0=92097/100000, x1=3106/3125, black=false, l = l_white }, + { key=0, x0=0, x1=79027/1000000, black=false, l = l_white }, + { key=1, x0=1769/20000, x1=807/5000, black=true, l = l_black }, + { key=2, x0=8541/50000, x1=4997/20000, black=false, l = l_white }, + { key=3, x0=25927/100000, x1=16611/50000, black=true, l = l_black }, + { key=4, x0=8541/25000, x1=42067/100000, black=false, l = l_white }, + { key=5, x0=1707/4000, x1=4997/10000, black=false, l = l_white }, + { key=6, x0=1591/3125, x1=58207/100000, black=true, l = l_black }, + { key=7, x0=59149/100000, x1=16611/25000, black=false, l = l_white }, + { key=8, x0=33693/50000, x1=74681/100000, black=true, l = l_black }, + { key=9, x0=75623/100000, x1=41459/50000, black=false, l = l_white }, + { key=10, x0=4193/5000, x1=18231/20000, black=true, l = l_black }, + { key=11, x0=92097/100000, x1=3106/3125, black=false, l = l_white }, } -- 85 equally sized ranges that each contain exactly one key, and the key @@ -3201,7 +3201,7 @@ key.item:set_animation_state_callback(function() new_state = 0 if key.pressure > 0 then - new_state = 128 + key.pressure + new_state = 127 + key.pressure elseif key.velocity > 0 then new_state = key.velocity else diff --git a/src/mame/layout/vfx.lay b/src/mame/layout/vfx.lay index 1fffbc056d576..321d28831c564 100644 --- a/src/mame/layout/vfx.lay +++ b/src/mame/layout/vfx.lay @@ -24,24 +24,24 @@ ]]> - + - + - + + ]]> - + - + - + + ]]> @@ -877,10 +877,10 @@ - + - + @@ -908,43 +908,43 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -1047,42 +1047,42 @@ - - - + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - + - + @@ -1094,136 +1094,136 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -1334,10 +1334,10 @@ - + - + @@ -1346,46 +1346,46 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -1409,16 +1409,16 @@ - + - + - + - + @@ -1953,16 +1953,16 @@ - + - + - + - + @@ -2290,7 +2290,7 @@ - + @@ -2304,7 +2304,7 @@ - + @@ -2325,7 +2325,7 @@ - + @@ -2387,16 +2387,16 @@ - + - - + + - - + + - + @@ -2405,7 +2405,7 @@ - + @@ -2422,7 +2422,7 @@ - + @@ -2437,7 +2437,7 @@ - + @@ -2446,12 +2446,12 @@ - + - + @@ -2466,10 +2466,10 @@ - + - + @@ -2483,7 +2483,7 @@ - + @@ -2815,18 +2815,18 @@ -- The ranges where we can find the tops of the 12 keys within an octave local k12 = { - { key=0, x0=0, x1=79027/1000000, black=false, l = l_white }, - { key=1, x0=1769/20000, x1=807/5000, black=true, l = l_black }, - { key=2, x0=8541/50000, x1=4997/20000, black=false, l = l_white }, - { key=3, x0=25927/100000, x1=16611/50000, black=true, l = l_black }, - { key=4, x0=8541/25000, x1=42067/100000, black=false, l = l_white }, - { key=5, x0=1707/4000, x1=4997/10000, black=false, l = l_white }, - { key=6, x0=1591/3125, x1=58207/100000, black=true, l = l_black }, - { key=7, x0=59149/100000, x1=16611/25000, black=false, l = l_white }, - { key=8, x0=33693/50000, x1=74681/100000, black=true, l = l_black }, - { key=9, x0=75623/100000, x1=41459/50000, black=false, l = l_white }, - { key=10, x0=4193/5000, x1=18231/20000, black=true, l = l_black }, - { key=11, x0=92097/100000, x1=3106/3125, black=false, l = l_white }, + { key=0, x0=0, x1=79027/1000000, black=false, l = l_white }, + { key=1, x0=1769/20000, x1=807/5000, black=true, l = l_black }, + { key=2, x0=8541/50000, x1=4997/20000, black=false, l = l_white }, + { key=3, x0=25927/100000, x1=16611/50000, black=true, l = l_black }, + { key=4, x0=8541/25000, x1=42067/100000, black=false, l = l_white }, + { key=5, x0=1707/4000, x1=4997/10000, black=false, l = l_white }, + { key=6, x0=1591/3125, x1=58207/100000, black=true, l = l_black }, + { key=7, x0=59149/100000, x1=16611/25000, black=false, l = l_white }, + { key=8, x0=33693/50000, x1=74681/100000, black=true, l = l_black }, + { key=9, x0=75623/100000, x1=41459/50000, black=false, l = l_white }, + { key=10, x0=4193/5000, x1=18231/20000, black=true, l = l_black }, + { key=11, x0=92097/100000, x1=3106/3125, black=false, l = l_white }, } -- 85 equally sized ranges that each contain exactly one key, and the key @@ -2976,7 +2976,7 @@ key.item:set_animation_state_callback(function() new_state = 0 if key.pressure > 0 then - new_state = 128 + key.pressure + new_state = 127 + key.pressure elseif key.velocity > 0 then new_state = key.velocity else diff --git a/src/mame/layout/vfxsd.lay b/src/mame/layout/vfxsd.lay index b43128da35945..39a933cadf9cc 100644 --- a/src/mame/layout/vfxsd.lay +++ b/src/mame/layout/vfxsd.lay @@ -24,46 +24,46 @@ ]]> - + - + - + + ]]> - + - + - + + ]]> - + - + - + + ]]> - + - + - + + ]]> @@ -978,10 +978,10 @@ - + - + @@ -1009,46 +1009,46 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -1154,63 +1154,63 @@ - - - + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - + - + - - + + - - + + - - + + - - + + - + - + - + @@ -1222,175 +1222,175 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -1528,13 +1528,13 @@ - + - + - + @@ -1543,58 +1543,58 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -1618,16 +1618,16 @@ - + - + - + - + @@ -2162,16 +2162,16 @@ - + - + - + - + @@ -2499,7 +2499,7 @@ - + @@ -2513,7 +2513,7 @@ - + @@ -2534,7 +2534,7 @@ - + @@ -2599,16 +2599,16 @@ - + - - + + - - + + - + @@ -2620,7 +2620,7 @@ - + @@ -2637,7 +2637,7 @@ - + @@ -2652,7 +2652,7 @@ - + @@ -2661,12 +2661,12 @@ - + - + @@ -2681,10 +2681,10 @@ - + - + @@ -2698,7 +2698,7 @@ - + @@ -3030,18 +3030,18 @@ -- The ranges where we can find the tops of the 12 keys within an octave local k12 = { - { key=0, x0=0, x1=79027/1000000, black=false, l = l_white }, - { key=1, x0=1769/20000, x1=807/5000, black=true, l = l_black }, - { key=2, x0=8541/50000, x1=4997/20000, black=false, l = l_white }, - { key=3, x0=25927/100000, x1=16611/50000, black=true, l = l_black }, - { key=4, x0=8541/25000, x1=42067/100000, black=false, l = l_white }, - { key=5, x0=1707/4000, x1=4997/10000, black=false, l = l_white }, - { key=6, x0=1591/3125, x1=58207/100000, black=true, l = l_black }, - { key=7, x0=59149/100000, x1=16611/25000, black=false, l = l_white }, - { key=8, x0=33693/50000, x1=74681/100000, black=true, l = l_black }, - { key=9, x0=75623/100000, x1=41459/50000, black=false, l = l_white }, - { key=10, x0=4193/5000, x1=18231/20000, black=true, l = l_black }, - { key=11, x0=92097/100000, x1=3106/3125, black=false, l = l_white }, + { key=0, x0=0, x1=79027/1000000, black=false, l = l_white }, + { key=1, x0=1769/20000, x1=807/5000, black=true, l = l_black }, + { key=2, x0=8541/50000, x1=4997/20000, black=false, l = l_white }, + { key=3, x0=25927/100000, x1=16611/50000, black=true, l = l_black }, + { key=4, x0=8541/25000, x1=42067/100000, black=false, l = l_white }, + { key=5, x0=1707/4000, x1=4997/10000, black=false, l = l_white }, + { key=6, x0=1591/3125, x1=58207/100000, black=true, l = l_black }, + { key=7, x0=59149/100000, x1=16611/25000, black=false, l = l_white }, + { key=8, x0=33693/50000, x1=74681/100000, black=true, l = l_black }, + { key=9, x0=75623/100000, x1=41459/50000, black=false, l = l_white }, + { key=10, x0=4193/5000, x1=18231/20000, black=true, l = l_black }, + { key=11, x0=92097/100000, x1=3106/3125, black=false, l = l_white }, } -- 85 equally sized ranges that each contain exactly one key, and the key @@ -3191,7 +3191,7 @@ key.item:set_animation_state_callback(function() new_state = 0 if key.pressure > 0 then - new_state = 128 + key.pressure + new_state = 127 + key.pressure elseif key.velocity > 0 then new_state = key.velocity else From 16eb2a60807659adce45421efb321610f0f846c0 Mon Sep 17 00:00:00 2001 From: Christian Brunschen <6741909+cbrunschen@users.noreply.github.com> Date: Tue, 2 Dec 2025 10:22:50 +0000 Subject: [PATCH 06/10] {vfx,vfxsd,sd1,sd132}.lay: update the bounds of the fake ensoniq logo & text. --- src/mame/layout/sd1.lay | 4 ++-- src/mame/layout/sd132.lay | 4 ++-- src/mame/layout/vfx.lay | 4 ++-- src/mame/layout/vfxsd.lay | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/mame/layout/sd1.lay b/src/mame/layout/sd1.lay index 903d3b970da17..e8a83b987b5c6 100644 --- a/src/mame/layout/sd1.lay +++ b/src/mame/layout/sd1.lay @@ -2572,7 +2572,7 @@ - + @@ -2605,7 +2605,7 @@ - + diff --git a/src/mame/layout/sd132.lay b/src/mame/layout/sd132.lay index 428ca20ca856b..e2f599074a58c 100644 --- a/src/mame/layout/sd132.lay +++ b/src/mame/layout/sd132.lay @@ -2575,7 +2575,7 @@ - + @@ -2611,7 +2611,7 @@ - + diff --git a/src/mame/layout/vfx.lay b/src/mame/layout/vfx.lay index 321d28831c564..669b8fadfa668 100644 --- a/src/mame/layout/vfx.lay +++ b/src/mame/layout/vfx.lay @@ -2363,7 +2363,7 @@ - + @@ -2393,7 +2393,7 @@ - + diff --git a/src/mame/layout/vfxsd.lay b/src/mame/layout/vfxsd.lay index 39a933cadf9cc..e0884432249ec 100644 --- a/src/mame/layout/vfxsd.lay +++ b/src/mame/layout/vfxsd.lay @@ -2572,7 +2572,7 @@ - + @@ -2605,7 +2605,7 @@ - + From c044642594a891b01a0b7c9b2925667f2e2507d3 Mon Sep 17 00:00:00 2001 From: Christian Brunschen <6741909+cbrunschen@users.noreply.github.com> Date: Tue, 2 Dec 2025 13:50:39 +0000 Subject: [PATCH 07/10] {vfx,vfxsd,sd1,sd132}.lay: regenerate with keyboard pseudo-logo text adjusted to fill the correct space, using Arimo for metrics. --- src/mame/layout/sd1.lay | 2 +- src/mame/layout/sd132.lay | 4 ++-- src/mame/layout/vfx.lay | 2 +- src/mame/layout/vfxsd.lay | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/mame/layout/sd1.lay b/src/mame/layout/sd1.lay index e8a83b987b5c6..3b375547ebc02 100644 --- a/src/mame/layout/sd1.lay +++ b/src/mame/layout/sd1.lay @@ -2608,7 +2608,7 @@ - + diff --git a/src/mame/layout/sd132.lay b/src/mame/layout/sd132.lay index e2f599074a58c..ffacf1ad091e9 100644 --- a/src/mame/layout/sd132.lay +++ b/src/mame/layout/sd132.lay @@ -2614,11 +2614,11 @@ - + - + diff --git a/src/mame/layout/vfx.lay b/src/mame/layout/vfx.lay index 669b8fadfa668..07f567dc9e4f1 100644 --- a/src/mame/layout/vfx.lay +++ b/src/mame/layout/vfx.lay @@ -2396,7 +2396,7 @@ - + diff --git a/src/mame/layout/vfxsd.lay b/src/mame/layout/vfxsd.lay index e0884432249ec..977c6f83455d3 100644 --- a/src/mame/layout/vfxsd.lay +++ b/src/mame/layout/vfxsd.lay @@ -2608,7 +2608,7 @@ - + From 80caee8d7d33d6e1cdf2d393cbbe665f24f666b9 Mon Sep 17 00:00:00 2001 From: Christian Brunschen <6741909+cbrunschen@users.noreply.github.com> Date: Tue, 2 Dec 2025 14:30:30 +0000 Subject: [PATCH 08/10] Adjust the position of the underscore within the VFD cell to better match the real display. --- src/mame/layout/sd1.lay | 2 +- src/mame/layout/sd132.lay | 2 +- src/mame/layout/vfx.lay | 2 +- src/mame/layout/vfxsd.lay | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mame/layout/sd1.lay b/src/mame/layout/sd1.lay index 3b375547ebc02..f5afa94d42773 100644 --- a/src/mame/layout/sd1.lay +++ b/src/mame/layout/sd1.lay @@ -238,7 +238,7 @@ - + diff --git a/src/mame/layout/sd132.lay b/src/mame/layout/sd132.lay index ffacf1ad091e9..e96824eb39d99 100644 --- a/src/mame/layout/sd132.lay +++ b/src/mame/layout/sd132.lay @@ -238,7 +238,7 @@ - + diff --git a/src/mame/layout/vfx.lay b/src/mame/layout/vfx.lay index 07f567dc9e4f1..fd97d68184c60 100644 --- a/src/mame/layout/vfx.lay +++ b/src/mame/layout/vfx.lay @@ -200,7 +200,7 @@ - + diff --git a/src/mame/layout/vfxsd.lay b/src/mame/layout/vfxsd.lay index 977c6f83455d3..3b3ee7b77286c 100644 --- a/src/mame/layout/vfxsd.lay +++ b/src/mame/layout/vfxsd.lay @@ -238,7 +238,7 @@ - + From 86fb576ee09240415df450571c99ca8bd25a2eaf Mon Sep 17 00:00:00 2001 From: Christian Brunschen <6741909+cbrunschen@users.noreply.github.com> Date: Thu, 4 Dec 2025 16:07:04 +0000 Subject: [PATCH 09/10] Show floppy and cartridge if they are loaded. --- src/mame/ensoniq/esq5505.cpp | 6 ++++ src/mame/ensoniq/esqpanel.cpp | 19 ++++++++++ src/mame/ensoniq/esqpanel.h | 8 +++++ src/mame/layout/sd1.lay | 65 +++++++++++++++++++++++++---------- src/mame/layout/sd132.lay | 65 +++++++++++++++++++++++++---------- src/mame/layout/vfx.lay | 37 ++++++++++++++------ src/mame/layout/vfxsd.lay | 65 +++++++++++++++++++++++++---------- 7 files changed, 200 insertions(+), 65 deletions(-) diff --git a/src/mame/ensoniq/esq5505.cpp b/src/mame/ensoniq/esq5505.cpp index 04e8fe50e6608..8af33df637921 100644 --- a/src/mame/ensoniq/esq5505.cpp +++ b/src/mame/ensoniq/esq5505.cpp @@ -336,6 +336,9 @@ void esq5505_state::cartridge_loaded(bool loaded) // On VFX and later, DUART input bit 1 is 0 for cartridge present. LOG("ip1 -> %d\n", state); m_duart->ip1_w(state); + + // Also upadte the panel. + m_panel->set_cartridge_loaded(loaded); } void esq5505_state::cartridge_load(ensoniq_vfx_cartridge *cart) @@ -404,6 +407,9 @@ void esq5505_state::floppy_loaded(bool loaded) LOG("Floppy %s\n", loaded ? "Inserted" : "Ejected"); update_floppy_inputs(); + + // Also update the panel. + m_panel->set_floppy_loaded(loaded); } else { diff --git a/src/mame/ensoniq/esqpanel.cpp b/src/mame/ensoniq/esqpanel.cpp index 8ebc4bfd477a4..7828830cb2c32 100644 --- a/src/mame/ensoniq/esqpanel.cpp +++ b/src/mame/ensoniq/esqpanel.cpp @@ -766,6 +766,7 @@ esqpanel2x40_vfx_device::esqpanel2x40_vfx_device(const machine_config &mconfig, m_panel_type(panel_type), m_vfd(*this, "vfd"), m_lights(*this, "lights"), + m_media(*this, "media"), m_buttons_0(*this, "buttons_0"), m_buttons_32(*this, "buttons_32"), m_analog_data_entry(*this, "analog_data_entry"), @@ -787,6 +788,11 @@ bool esqpanel2x40_vfx_device::write_contents(std::ostream &o) return true; } +void esqpanel2x40_vfx_device::update_media() +{ + m_media = (m_floppy_loaded << 1) | (m_cartridge_loaded); +} + void esqpanel2x40_vfx_device::update_lights() { // set the lights according to their status and blink phase. @@ -817,6 +823,7 @@ void esqpanel2x40_vfx_device::device_start() { esqpanel_device::device_start(); + m_media.resolve(); m_lights.resolve(); m_blink_timer = timer_alloc(FUNC(esqpanel2x40_vfx_device::update_blink), this); @@ -960,6 +967,18 @@ INPUT_CHANGED_MEMBER(esqpanel2x40_vfx_device::key_change) } } +void esqpanel2x40_vfx_device::set_cartridge_loaded(bool loaded) +{ + m_cartridge_loaded = loaded; + update_media(); +} + +void esqpanel2x40_vfx_device::set_floppy_loaded(bool loaded) +{ + m_floppy_loaded = loaded; + update_media(); +} + void esqpanel2x40_vfx_device::set_floppy_active(bool floppy_active) { m_floppy_active = floppy_active; diff --git a/src/mame/ensoniq/esqpanel.h b/src/mame/ensoniq/esqpanel.h index b411b49939d93..c47e6c5f3f94c 100644 --- a/src/mame/ensoniq/esqpanel.h +++ b/src/mame/ensoniq/esqpanel.h @@ -37,6 +37,8 @@ class esqpanel_device : public device_t, public device_serial_interface virtual void key_down(uint8_t key, uint8_t velocity); virtual void key_pressure(uint8_t key, uint8_t pressure); virtual void key_up(uint8_t key); + virtual void set_cartridge_loaded(bool loaded) { } + virtual void set_floppy_loaded(bool loaded) { } virtual void set_floppy_active(bool floppy_active) { } protected: @@ -115,6 +117,8 @@ class esqpanel2x40_vfx_device : public esqpanel_device { DECLARE_INPUT_CHANGED_MEMBER(patch_select_change); DECLARE_INPUT_CHANGED_MEMBER(analog_value_change); DECLARE_INPUT_CHANGED_MEMBER(key_change); + void set_cartridge_loaded(bool loaded) override; + void set_floppy_loaded(bool loaded) override; void set_floppy_active(bool floppy_active) override; void set_family_member(int family_member); @@ -151,14 +155,18 @@ class esqpanel2x40_vfx_device : public esqpanel_device { required_device m_vfd; output_finder<> m_lights; + output_finder<> m_media; required_ioport m_buttons_0; required_ioport m_buttons_32; required_ioport m_analog_data_entry; required_ioport m_analog_volume; + bool m_cartridge_loaded = false; + bool m_floppy_loaded = false; bool m_floppy_active = false; + void update_media(); TIMER_CALLBACK_MEMBER(update_blink); void update_lights(); diff --git a/src/mame/layout/sd1.lay b/src/mame/layout/sd1.lay index f5afa94d42773..81ececa504dde 100644 --- a/src/mame/layout/sd1.lay +++ b/src/mame/layout/sd1.lay @@ -68,6 +68,26 @@ ]]> + + + + + + + ]]> + + + + + + + + + ]]> + + @@ -93,7 +113,7 @@ ]]> - + @@ -106,18 +126,32 @@ ]]> - - - + + - - + + - + + + ]]> + + + + + + + + + + + + ]]> @@ -175,11 +209,6 @@ - - - - - @@ -2563,10 +2592,10 @@ - + - - + + @@ -2586,10 +2615,10 @@ - + - + @@ -2599,7 +2628,7 @@ - + diff --git a/src/mame/layout/sd132.lay b/src/mame/layout/sd132.lay index e96824eb39d99..84aaad9ef76fa 100644 --- a/src/mame/layout/sd132.lay +++ b/src/mame/layout/sd132.lay @@ -68,6 +68,26 @@ ]]> + + + + + + + ]]> + + + + + + + + + ]]> + + @@ -93,7 +113,7 @@ ]]> - + @@ -106,18 +126,32 @@ ]]> - - - + + - - + + - + + + ]]> + + + + + + + + + + + + ]]> @@ -175,11 +209,6 @@ - - - - - @@ -2566,10 +2595,10 @@ - + - - + + @@ -2592,10 +2621,10 @@ - + - + @@ -2605,7 +2634,7 @@ - + diff --git a/src/mame/layout/vfx.lay b/src/mame/layout/vfx.lay index fd97d68184c60..8ee55433bcf78 100644 --- a/src/mame/layout/vfx.lay +++ b/src/mame/layout/vfx.lay @@ -46,6 +46,26 @@ ]]> + + + + + + + ]]> + + + + + + + + + ]]> + + @@ -71,7 +91,7 @@ ]]> - + @@ -137,11 +157,6 @@ - - - - - @@ -2354,10 +2369,10 @@ - + - - + + @@ -2377,7 +2392,7 @@ - + @@ -2387,7 +2402,7 @@ - + diff --git a/src/mame/layout/vfxsd.lay b/src/mame/layout/vfxsd.lay index 3b3ee7b77286c..01fbe64872571 100644 --- a/src/mame/layout/vfxsd.lay +++ b/src/mame/layout/vfxsd.lay @@ -68,6 +68,26 @@ ]]> + + + + + + + ]]> + + + + + + + + + ]]> + + @@ -93,7 +113,7 @@ ]]> - + @@ -106,18 +126,32 @@ ]]> - - - + + - - + + - + + + ]]> + + + + + + + + + + + + ]]> @@ -175,11 +209,6 @@ - - - - - @@ -2563,10 +2592,10 @@ - + - - + + @@ -2586,10 +2615,10 @@ - + - + @@ -2599,7 +2628,7 @@ - + From 6ffae064be2501825daa276cba38cb1700edd0f9 Mon Sep 17 00:00:00 2001 From: Christian Brunschen <6741909+cbrunschen@users.noreply.github.com> Date: Sat, 6 Dec 2025 13:51:56 +0000 Subject: [PATCH 10/10] Re-generate layouts with more consistent formatting of floating-point values (5 decimal digits, strip trailing zeroes) and metrics calculated using harfbuzz. --- src/mame/layout/sd1.lay | 894 ++++++++++++++++++------------------- src/mame/layout/sd132.lay | 896 +++++++++++++++++++------------------- src/mame/layout/vfx.lay | 816 +++++++++++++++++----------------- src/mame/layout/vfxsd.lay | 894 ++++++++++++++++++------------------- 4 files changed, 1750 insertions(+), 1750 deletions(-) diff --git a/src/mame/layout/sd1.lay b/src/mame/layout/sd1.lay index 81ececa504dde..8900114468294 100644 --- a/src/mame/layout/sd1.lay +++ b/src/mame/layout/sd1.lay @@ -24,46 +24,46 @@ ]]> - + - + - + + ]]> - + - + - + + ]]> - + - + - + + ]]> - + - + - + + ]]> @@ -206,7 +206,7 @@ - + @@ -244,7 +244,7 @@ - + @@ -252,7 +252,7 @@ - + @@ -557,7 +557,7 @@ - + @@ -655,7 +655,7 @@ - + @@ -663,7 +663,7 @@ - + @@ -671,7 +671,7 @@ - + @@ -679,7 +679,7 @@ - + @@ -687,7 +687,7 @@ - + @@ -695,7 +695,7 @@ - + @@ -703,7 +703,7 @@ - + @@ -711,7 +711,7 @@ - + @@ -719,7 +719,7 @@ - + @@ -727,7 +727,7 @@ - + @@ -735,7 +735,7 @@ - + @@ -743,7 +743,7 @@ - + @@ -751,7 +751,7 @@ - + @@ -759,7 +759,7 @@ - + @@ -767,7 +767,7 @@ - + @@ -775,7 +775,7 @@ - + @@ -783,7 +783,7 @@ - + @@ -1007,10 +1007,10 @@ - + - + @@ -1038,49 +1038,49 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -1143,100 +1143,100 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - - - + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - + - + - - + + - - + + - - + + - - + + - + - + @@ -1251,175 +1251,175 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -1542,13 +1542,13 @@ - + - + - + @@ -1557,13 +1557,13 @@ - + - + - + @@ -1572,58 +1572,58 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -1647,16 +1647,16 @@ - + - + - + - + @@ -1676,7 +1676,7 @@ - + @@ -1685,489 +1685,489 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -2191,16 +2191,16 @@ - + - + - + - + @@ -2220,7 +2220,7 @@ - + @@ -2229,297 +2229,297 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -2528,7 +2528,7 @@ - + @@ -2542,7 +2542,7 @@ - + @@ -2552,7 +2552,7 @@ - + @@ -2563,7 +2563,7 @@ - + @@ -2628,19 +2628,19 @@ - + - + - + - + - + @@ -2649,7 +2649,7 @@ - + @@ -2661,12 +2661,12 @@ - + - + @@ -2681,21 +2681,21 @@ - + - + - + - + @@ -2710,10 +2710,10 @@ - + - + @@ -2727,7 +2727,7 @@ - + @@ -2736,7 +2736,7 @@ - +