diff options
author | 2017-09-18 19:55:13 -0400 | |
---|---|---|
committer | 2017-09-18 19:55:13 -0400 | |
commit | a7d79f96457f769deb43c36638293604f36320f0 (patch) | |
tree | 3d6a8fffcc46eeb44cb36392030ea2064d0c715b /src | |
parent | c5fc27014221d65d4c03985e56cca2b06aad2941 (diff) | |
parent | 360fb75b61780e3da4e5afc8a5b014c34877cab1 (diff) |
Merge pull request #2662 from rfka01/master
Added basic stub layout with drive LEDs
Diffstat (limited to 'src')
-rw-r--r-- | src/mame/drivers/kdt6.cpp | 2 | ||||
-rw-r--r-- | src/mame/layout/kdt6.lay | 41 |
2 files changed, 43 insertions, 0 deletions
diff --git a/src/mame/drivers/kdt6.cpp b/src/mame/drivers/kdt6.cpp index 5e5622578b7..122833c944a 100644 --- a/src/mame/drivers/kdt6.cpp +++ b/src/mame/drivers/kdt6.cpp @@ -29,6 +29,7 @@ #include "screen.h" #include "speaker.h" #include "softlist.h" +#include "kdt6.lh" //************************************************************************** @@ -618,6 +619,7 @@ static MACHINE_CONFIG_START( psi98 ) MCFG_SCREEN_UPDATE_DRIVER(kdt6_state, screen_update) MCFG_PALETTE_ADD_MONOCHROME("palette") + MCFG_DEFAULT_LAYOUT(layout_kdt6) MCFG_MC6845_ADD("crtc", MC6845, "screen", XTAL_13_5168MHz / 8) MCFG_MC6845_SHOW_BORDER_AREA(false) diff --git a/src/mame/layout/kdt6.lay b/src/mame/layout/kdt6.lay new file mode 100644 index 00000000000..15cce723e13 --- /dev/null +++ b/src/mame/layout/kdt6.lay @@ -0,0 +1,41 @@ +<?xml version="1.0"?> +<mamelayout version="2"> + <element name="driveled" defstate="0"> + <rect state="1"> + <color red="0.75" green="0.0" blue="0.0" /> + </rect> + <rect state="0"> + <color red="0.20" green="0.0" blue="0.0" /> + </rect> + </element> + + <element name="DRIVE0"> + <text string="A"> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + </element> + <element name="DRIVE1"> + <text string="B"> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + </element> + + <view name="Default Layout"> + <screen index="0"> + <bounds x="61" y="0" width="1024" height="768" /> + </screen> + <bezel name="drive0_led" element="driveled"> + <bounds x="15" y="3" width="10" height="10" /> + </bezel> + <bezel name="drive1_led" element="driveled"> + <bounds x="15" y="18" width="10" height="10" /> + </bezel> + <bezel name="label20" element="DRIVE0"> + <bounds x="0" y="0" width="15" height="16" /> + </bezel> + <bezel name="label21" element="DRIVE1"> + <bounds x="0" y="14" width="15" height="16" /> + </bezel> + + </view> +</mamelayout>
\ No newline at end of file |