diff options
author | hap <happppp@users.noreply.github.com> | 2015-08-24 00:56:21 +0200 |
---|---|---|
committer | hap <happppp@users.noreply.github.com> | 2015-08-24 00:56:21 +0200 |
commit | 52fe42940679d7dd89a6ff7e219ea23cec0d772a (patch) | |
tree | a2c8cc36c18d5b06bec0a387f6bc1819284ec43b | |
parent | e7d7db664bd5ff7a24a56b2251783123e6bfa63b (diff) |
added internal layout for 4004clk
-rw-r--r-- | src/mess/drivers/4004clk.c | 9 | ||||
-rw-r--r-- | src/mess/drivers/tispeak.c | 6 | ||||
-rw-r--r-- | src/mess/layout/4004clk.lay | 55 |
3 files changed, 51 insertions, 19 deletions
diff --git a/src/mess/drivers/4004clk.c b/src/mess/drivers/4004clk.c index 631690d582d..861c3ad3164 100644 --- a/src/mess/drivers/4004clk.c +++ b/src/mess/drivers/4004clk.c @@ -5,6 +5,8 @@ 4004 Nixie Clock 03/08/2009 Initial driver + + note: MAME external artwork is not required, ****************************************************************************/ @@ -21,7 +23,7 @@ public: m_maincpu(*this, "maincpu"), m_dac(*this, "dac"), m_input(*this, "INPUT") - { } + { } required_device<i4004_cpu_device> m_maincpu; required_device<dac_device> m_dac; @@ -155,7 +157,6 @@ static MACHINE_CONFIG_START( 4004clk, nixieclock_state ) MCFG_CPU_DATA_MAP(4004clk_mem) MCFG_CPU_IO_MAP(4004clk_io) - /* video hardware */ MCFG_DEFAULT_LAYOUT(layout_4004clk) @@ -190,5 +191,5 @@ ROM_END /* Driver */ -/* YEAR NAME PARENT COMPAT MACHINE INPUT INIT COMPANY FULLNAME FLAGS */ -SYST( 2008, 4004clk, 0, 0, 4004clk, 4004clk, driver_device, 0, "John L. Weinrich", "4004 Nixie Clock", MACHINE_SUPPORTS_SAVE) +/* YEAR NAME PARENT COMPAT MACHINE INPUT INIT COMPANY FULLNAME FLAGS */ +SYST( 2008, 4004clk, 0, 0, 4004clk, 4004clk, driver_device, 0, "John L. Weinrich", "4004 Nixie Clock", MACHINE_SUPPORTS_SAVE ) diff --git a/src/mess/drivers/tispeak.c b/src/mess/drivers/tispeak.c index d2a6903d42a..211d535f9ac 100644 --- a/src/mess/drivers/tispeak.c +++ b/src/mess/drivers/tispeak.c @@ -9,7 +9,9 @@ These devices, mostly edu-toys, are based around an MCU(TMS0270/TMS1100), TMS51xx speech, and VSM ROM(s). Newer devices, such as Speak & Music, are based around the TMP50C40 and belong in another driver, probably. - + + note: except for tntell, MAME external artwork is not required. But it + is objectively a large improvement. ---------------------------------------------------------------------------- @@ -143,7 +145,7 @@ Speak & Math: - TMS51xx: CD2801 - VSM(1/2): 16KB CD2392 - VSM(2/2): 16KB CD2393 - - VFD: itron brand, label? + - VFD: Futaba 9SY -02Z 7E - notes: As with the Speak & Spell, the voice actor was a radio announcer. However, the phrase "is greater than or less than" had to be added in a hurry by one of the TI employees in a hurry, the day before a demo. diff --git a/src/mess/layout/4004clk.lay b/src/mess/layout/4004clk.lay index c8c84d3ac84..e3ec9522743 100644 --- a/src/mess/layout/4004clk.lay +++ b/src/mess/layout/4004clk.lay @@ -1,18 +1,47 @@ <?xml version="1.0"?> <mamelayout version="2"> - <element name="background"> - <rect> - <bounds left="0" top="0" right="1" bottom="1" /> - <color red="0.0" green="0.0" blue="0.0" /> - </rect> + +<!-- define elements --> + + <element name="digit" defstate="10"> + <rect><color red="0.1" green="0.06" blue="0.02" /></rect> + <text state="0" string="0"><color red="1.0" green="0.6" blue="0.2" /></text> + <text state="1" string="1"><color red="1.0" green="0.6" blue="0.2" /></text> + <text state="2" string="2"><color red="1.0" green="0.6" blue="0.2" /></text> + <text state="3" string="3"><color red="1.0" green="0.6" blue="0.2" /></text> + <text state="4" string="4"><color red="1.0" green="0.6" blue="0.2" /></text> + <text state="5" string="5"><color red="1.0" green="0.6" blue="0.2" /></text> + <text state="6" string="6"><color red="1.0" green="0.6" blue="0.2" /></text> + <text state="7" string="7"><color red="1.0" green="0.6" blue="0.2" /></text> + <text state="8" string="8"><color red="1.0" green="0.6" blue="0.2" /></text> + <text state="9" string="9"><color red="1.0" green="0.6" blue="0.2" /></text> + <text state="10" string=" "><color red="1.0" green="0.6" blue="0.2" /></text> </element> - <element name="warning"><text string="Mandatory Artwork '4004clk.zip' is missing from 'Artwork' folder."><color red="1.0" green="0.5" blue="0.5" /></text></element> - <view name="artwork_missing"> - <bezel element="background"> - <bounds left="0" top="0" right="580" bottom="150" /> - </bezel> - <bezel name="warning_txt" element="warning"> - <bounds left="50" right="530" top="50" bottom="65" /> - </bezel> + + <element name="dot" defstate="0"> + <disk state="0"><color red="0.1" green="0.06" blue="0.02" /></disk> + <disk state="1"><color red="1.0" green="0.6" blue="0.2" /></disk> + </element> + + +<!-- build screen --> + + <view name="Internal Layout"> + <bounds left="-1" right="67.9" top="-1" bottom="16" /> + + <!-- 3*2 neon digits, separated by colons --> + + <bezel name="nixie0" element="digit"><bounds x="0" y="0" width="10" height="15" /></bezel> + <bezel name="nixie1" element="digit"><bounds x="10.3" y="0" width="10" height="15" /></bezel> + <bezel name="nixie2" element="digit"><bounds x="23.3" y="0" width="10" height="15" /></bezel> + <bezel name="nixie3" element="digit"><bounds x="33.6" y="0" width="10" height="15" /></bezel> + <bezel name="nixie4" element="digit"><bounds x="46.6" y="0" width="10" height="15" /></bezel> + <bezel name="nixie5" element="digit"><bounds x="56.9" y="0" width="10" height="15" /></bezel> + + <bezel name="neon1" element="dot"><bounds x="21.05" y="4.35" width="1.5" height="1.5" /></bezel> + <bezel name="neon0" element="dot"><bounds x="21.05" y="9.15" width="1.5" height="1.5" /></bezel> + <bezel name="neon2" element="dot"><bounds x="44.35" y="4.35" width="1.5" height="1.5" /></bezel> + <bezel name="neon3" element="dot"><bounds x="44.35" y="9.15" width="1.5" height="1.5" /></bezel> + </view> </mamelayout> |