keep separate layout (nw)

This commit is contained in:
Miodrag Milanovic 2016-04-30 20:18:19 +02:00
parent c294968563
commit cc961900ac
2 changed files with 86 additions and 8 deletions

View File

@ -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)

View File

@ -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>