diff options
-rw-r--r-- | src/mame/drivers/thayers.cpp | 11 | ||||
-rw-r--r-- | src/mame/layout/thayers.lay | 83 |
2 files changed, 86 insertions, 8 deletions
diff --git a/src/mame/drivers/thayers.cpp b/src/mame/drivers/thayers.cpp index 4405f05945b..35310d792e3 100644 --- a/src/mame/drivers/thayers.cpp +++ b/src/mame/drivers/thayers.cpp @@ -17,7 +17,7 @@ #include "machine/ldstub.h" #include "machine/ldv1000.h" #include "cpu/cop400/cop400.h" -//#include "dlair.lh" +#include "thayers.lh" struct ssi263_t @@ -99,11 +99,6 @@ protected: virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr) override; }; - -extern const internal_layout layout_dlair; - - - static const UINT8 led_map[16] = { 0x3f, 0x06, 0x5b, 0x4f, 0x66, 0x6d, 0x7c, 0x07, 0x7f, 0x67, 0x77, 0x7c, 0x39, 0x5e, 0x79, 0x00 }; /* Interrupts */ @@ -834,5 +829,5 @@ ROM_END /* Game Drivers */ /* YEAR NAME PARENT MACHINE INPUT INIT MONITOR COMPANY FULLNAME FLAGS LAYOUT */ -GAMEL( 1984, thayers, 0, thayers, thayers, driver_device, 0, ROT0, "RDI Video Systems", "Thayer's Quest (set 1)", MACHINE_NOT_WORKING | MACHINE_NO_SOUND, layout_dlair) -GAMEL( 1984, thayersa, thayers, thayers, thayers, driver_device, 0, ROT0, "RDI Video Systems", "Thayer's Quest (set 2)", MACHINE_NOT_WORKING | MACHINE_NO_SOUND, layout_dlair) +GAMEL( 1984, thayers, 0, thayers, thayers, driver_device, 0, ROT0, "RDI Video Systems", "Thayer's Quest (set 1)", MACHINE_NOT_WORKING | MACHINE_NO_SOUND, layout_thayers) +GAMEL( 1984, thayersa, thayers, thayers, thayers, driver_device, 0, ROT0, "RDI Video Systems", "Thayer's Quest (set 2)", MACHINE_NOT_WORKING | MACHINE_NO_SOUND, layout_thayers) diff --git a/src/mame/layout/thayers.lay b/src/mame/layout/thayers.lay new file mode 100644 index 00000000000..7b94c1f89cc --- /dev/null +++ b/src/mame/layout/thayers.lay @@ -0,0 +1,83 @@ +<?xml version="1.0"?> +<mamelayout version="2"> + <element name="digit" defstate="10"> + <led7seg> + <color red="1.0" green="0.3" blue="0.0" /> + </led7seg> + </element> + + <view name="Simple LEDs"> + <screen index="0"> + <bounds left="0" top="0" right="4" bottom="3" /> + </screen> + + + <bezel name="digit0" element="digit"> + <bounds x="1.4" y="-1.5" width="0.2" height="0.3" /> + </bezel> + + <bezel name="digit1" element="digit"> + <bounds x="1.6" y="-1.5" width="0.2" height="0.3" /> + </bezel> + + <bezel name="digit2" element="digit"> + <bounds x="1.8" y="-1.5" width="0.2" height="0.3" /> + </bezel> + + <bezel name="digit3" element="digit"> + <bounds x="2.0" y="-1.5" width="0.2" height="0.3" /> + </bezel> + + <bezel name="digit4" element="digit"> + <bounds x="2.2" y="-1.5" width="0.2" height="0.3" /> + </bezel> + + <bezel name="digit5" element="digit"> + <bounds x="2.4" y="-1.5" width="0.2" height="0.3" /> + </bezel> + + + <bezel name="digit6" element="digit"> + <bounds x="1.9" y="-1.2" width="0.2" height="0.3" /> + </bezel> + + + <bezel name="digit8" element="digit"> + <bounds x="1.4" y="-0.9" width="0.2" height="0.3" /> + </bezel> + + <bezel name="digit9" element="digit"> + <bounds x="1.6" y="-0.9" width="0.2" height="0.3" /> + </bezel> + + <bezel name="digit10" element="digit"> + <bounds x="1.8" y="-0.9" width="0.2" height="0.3" /> + </bezel> + + <bezel name="digit11" element="digit"> + <bounds x="2.0" y="-0.9" width="0.2" height="0.3" /> + </bezel> + + <bezel name="digit12" element="digit"> + <bounds x="2.2" y="-0.9" width="0.2" height="0.3" /> + </bezel> + + <bezel name="digit13" element="digit"> + <bounds x="2.4" y="-0.9" width="0.2" height="0.3" /> + </bezel> + + + <bezel name="digit7" element="digit"> + <bounds x="1.9" y="-0.6" width="0.2" height="0.3" /> + </bezel> + + + <bezel name="digit14" element="digit"> + <bounds x="1.7" y="-0.3" width="0.2" height="0.3" /> + </bezel> + + <bezel name="digit15" element="digit"> + <bounds x="1.9" y="-0.3" width="0.2" height="0.3" /> + </bezel> + </view> +</mamelayout> |