diff options
author | Joakim Larsson Edström <joakimlarsson42@gmail.com> | 2019-10-30 22:49:24 +0100 |
---|---|---|
committer | ajrhacker <ajrhacker@users.noreply.github.com> | 2019-10-30 17:49:24 -0400 |
commit | 9582866bbf8c5c59e4c925b9b74cd6af1dc45eb1 (patch) | |
tree | 688f987d1dbb57570c4038406fc6c3c01648b889 /src/mame/layout | |
parent | fe1612aa8120d3c3e4fcb97ac070b44360db3a7d (diff) |
EPC: Keyboard working, added leds and removed imperfect feature (#5832)
* i8251.cpp: required initial state to enable receiver of a 8251a and also to avoid sending start bit to diserial on reset and get framing error
* eispc_kb.cpp: removed need for scheduler abuse as problem is fixed by correcting the init of the i8251 USART on host side instead
* eispc.cpp: removed an obsolete TODO
* eispc_kb.h: removed imperfect_features marking
* epc: Added keyboard LEDs, Caps and Num lock works with current keyboard rom, scroll lock led needs a dump from a newer keyboard
Diffstat (limited to 'src/mame/layout')
-rw-r--r-- | src/mame/layout/epc.lay | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/mame/layout/epc.lay b/src/mame/layout/epc.lay new file mode 100644 index 00000000000..f775109be10 --- /dev/null +++ b/src/mame/layout/epc.lay @@ -0,0 +1,34 @@ +<?xml version="1.0"?> +<!-- +license:CC0 +copyright-holders:Joakim Larsson Edstrom +LEDs for the Ericsson PC keyboard +--> +<mamelayout version="2"> + <element name="text_caps"><text string="Caps Lock"><color red="0.7" green="0.7" blue="0.7" /></text></element> + <element name="text_num"><text string="Num Lock"><color red="0.7" green="0.7" blue="0.7" /></text></element> + <element name="text_scroll"><text string="Scroll Lock"><color red="0.7" green="0.7" blue="0.7" /></text></element> + <element name="led" defstate="0"><disk><color red="0.85" green="0.18" blue="0.16" /></disk></element> + + <group name="caps"> + <bezel element="led" name="kbled0"><bounds x="0" y="0" width="100" height="100" /></bezel> + <bezel element="text_caps"><bounds x="120" y="0" width="900" height="100" /></bezel> + </group> + + <group name="num"> + <bezel element="led" name="kbled1"><bounds x="0" y="0" width="100" height="100" /></bezel> + <bezel element="text_num"><bounds x="120" y="0" width="800" height="100" /></bezel> + </group> + + <group name="scroll"> + <bezel element="led" name="kbled2"><bounds x="0" y="0" width="100" height="100" /></bezel> + <bezel element="text_scroll"><bounds x="120" y="0" width="1000" height="100" /></bezel> + </group> + + <view name="Default Layout"> + <screen index="0"><bounds left="0" top="150" right="1000" bottom="900" /></screen> + <group ref="caps"> <bounds x="0" y="0" width="90" height="10" /></group> + <group ref="num"> <bounds x="110" y="0" width="80" height="10" /></group> + <group ref="scroll"><bounds x="210" y="0" width="100" height="10" /></group> + </view> +</mamelayout> |