diff options
author | Vas Crabb <vas@vastheman.com> | 2019-11-02 02:07:50 +1100 |
---|---|---|
committer | Vas Crabb <vas@vastheman.com> | 2019-11-02 02:07:50 +1100 |
commit | 74bd9899a7d5854f60eecfdacd643b2aea8c2ada (patch) | |
tree | 8e86315844618480e68c583c23e2494575ef3871 /src/mame/layout | |
parent | b1246642eb6e3f48f1fe19b7ae6584c1e544e88b (diff) |
New working machines
--------------------
RS-232 DCE-DCE Bridge
(nw) This is a simple machine for wiring together two things that want
to plug into an RS-232 port. This means that for DCE-like things (e.g.
serial printers) there's no need to create an extra machine to allow
them to talk to the outside world with the null_modem device. (Also
added some asserts, removed a FIXME, and put the swtpc8212 terminal in
the default RS-232 devices.)
Diffstat (limited to 'src/mame/layout')
-rw-r--r-- | src/mame/layout/dcebridge.lay | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/src/mame/layout/dcebridge.lay b/src/mame/layout/dcebridge.lay new file mode 100644 index 00000000000..04792f90476 --- /dev/null +++ b/src/mame/layout/dcebridge.lay @@ -0,0 +1,86 @@ +<?xml version="1.0"?> +<!-- +license:CC0 +copyright-holders:Vas Crabb +RS-232 DCE-DCE bridge layout +--> +<mamelayout version="2"> + <element name="led"> + <disk state="0"> + <color red="1.0" green="0.0" blue="0.0" /> + </disk> + <disk state="1"> + <color red="0.15" green="0.0" blue="0.0" /> + </disk> + </element> + + <element name="label_a"> + <text string="A" /> + </element> + <element name="label_b"> + <text string="B" /> + </element> + + <element name="label_dcd"> + <text string="DCD" /> + </element> + <element name="label_dsr"> + <text string="DSR" /> + </element> + <element name="label_ri"> + <text string="RI" /> + </element> + <element name="label_cts"> + <text string="CTS" /> + </element> + + <view name="Control Lines"> + <bounds x="0" y="0" width="95" height="45" /> + + <element ref="label_a"> + <bounds x="5" y="16" width="10" height="8" /> + </element> + <element ref="label_b"> + <bounds x="5" y="31" width="10" height="8" /> + </element> + + <element ref="label_dcd"> + <bounds x="18" y="5" width="14" height="8" /> + </element> + <element ref="label_dsr"> + <bounds x="38" y="5" width="14" height="8" /> + </element> + <element ref="label_ri"> + <bounds x="58" y="5" width="14" height="8" /> + </element> + <element ref="label_cts"> + <bounds x="78" y="5" width="14" height="8" /> + </element> + + <element ref="led" name="dcd_a"> + <bounds x="20" y="15" width="10" height="10" /> + </element> + <element ref="led" name="dsr_a"> + <bounds x="40" y="15" width="10" height="10" /> + </element> + <element ref="led" name="ri_a"> + <bounds x="60" y="15" width="10" height="10" /> + </element> + <element ref="led" name="cts_a"> + <bounds x="80" y="15" width="10" height="10" /> + </element> + + <element ref="led" name="dcd_b"> + <bounds x="20" y="30" width="10" height="10" /> + </element> + <element ref="led" name="dsr_b"> + <bounds x="40" y="30" width="10" height="10" /> + </element> + <element ref="led" name="ri_b"> + <bounds x="60" y="30" width="10" height="10" /> + </element> + <element ref="led" name="cts_b"> + <bounds x="80" y="30" width="10" height="10" /> + </element> + </view> +</mamelayout> |