This commit is contained in:
arbee 2021-04-27 07:44:00 -04:00
commit 9c6c446fec
12 changed files with 136 additions and 197 deletions

View File

@ -2,4 +2,4 @@
Place chesspieces for use with internal artwork here, each SVG is expected to be square with transparent background. They are used with sensorboard device chesspieces simulation, as well as button labels in some cases.
The ones that are included in MAME by default are licensed under the [BSD-3-Clause](http://opensource.org/licenses/BSD-3-Clause), copyright-holders: Cburnett, Antonsusi. Revision 11 December 2020.
The ones that are included in MAME by default are licensed under the [BSD-3-Clause](http://opensource.org/licenses/BSD-3-Clause), copyright-holders: Cburnett, Antonsusi. Revision 26 April 2021.

View File

@ -1,20 +1,27 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="45" height="45">
<g style="opacity:1; fill:#000000; fill-opacity:1; fill-rule:evenodd; stroke:#000000; stroke-width:1.5; stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4; stroke-dasharray:none; stroke-opacity:1;">
<g style="fill:#000000; stroke:none;">
<circle cx="6" cy="12" r="2.75"/>
<circle cx="14" cy="9" r="2.75"/>
<circle cx="22.5" cy="8" r="2.75"/>
<circle cx="31" cy="9" r="2.75"/>
<circle cx="39" cy="12" r="2.75"/>
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="45"
height="45">
<g style="fill:#000000;stroke:#000000;stroke-width:1.5; stroke-linecap:round;stroke-linejoin:round">
<path d="M 9,26 C 17.5,24.5 30,24.5 36,26 L 38.5,13.5 L 31,25 L 30.7,10.9 L 25.5,24.5 L 22.5,10 L 19.5,24.5 L 14.3,10.9 L 14,25 L 6.5,13.5 L 9,26 z"
style="stroke-linecap:butt;fill:#000000" />
<path d="m 9,26 c 0,2 1.5,2 2.5,4 1,1.5 1,1 0.5,3.5 -1.5,1 -1,2.5 -1,2.5 -1.5,1.5 0,2.5 0,2.5 6.5,1 16.5,1 23,0 0,0 1.5,-1 0,-2.5 0,0 0.5,-1.5 -1,-2.5 -0.5,-2.5 -0.5,-2 0.5,-3.5 1,-2 2.5,-2 2.5,-4 -8.5,-1.5 -18.5,-1.5 -27,0 z" />
<path d="M 11.5,30 C 15,29 30,29 33.5,30" />
<path d="m 12,33.5 c 6,-1 15,-1 21,0" />
<circle cx="6" cy="12" r="2" />
<circle cx="14" cy="9" r="2" />
<circle cx="22.5" cy="8" r="2" />
<circle cx="31" cy="9" r="2" />
<circle cx="39" cy="12" r="2" />
<path d="M 11,38.5 A 35,35 1 0 0 34,38.5"
style="fill:none; stroke:#000000;stroke-linecap:butt;" />
<g style="fill:none; stroke:#ffffff;">
<path d="M 11,29 A 35,35 1 0 1 34,29" />
<path d="M 12.5,31.5 L 32.5,31.5" />
<path d="M 11.5,34.5 A 35,35 1 0 0 33.5,34.5" />
<path d="M 10.5,37.5 A 35,35 1 0 0 34.5,37.5" />
</g>
<path d="M 9,26 C 17.5,24.5 30,24.5 36,26 L 38.5,13.5 L 31,25 L 30.7,10.9 L 25.5,24.5 L 22.5,10 L 19.5,24.5 L 14.3,10.9 L 14,25 L 6.5,13.5 L 9,26 z" style="stroke-linecap:butt; stroke:#000000;"/>
<path d="M 9,26 C 9,28 10.5,28 11.5,30 C 12.5,31.5 12.5,31 12,33.5 C 10.5,34.5 11,36 11,36 C 9.5,37.5 11,38.5 11,38.5 C 17.5,39.5 27.5,39.5 34,38.5 C 34,38.5 35.5,37.5 34,36 C 34,36 34.5,34.5 33,33.5 C 32.5,31 32.5,31.5 33.5,30 C 34.5,28 36,28 36,26 C 27.5,24.5 17.5,24.5 9,26 z" style="stroke-linecap:butt;"/>
<path d="M 11,38.5 A 35,35 1 0 0 34,38.5" style="fill:none; stroke:#000000; stroke-linecap:butt;"/>
<path d="M 11,29 A 35,35 1 0 1 34,29" style="fill:none; stroke:#ffffff;"/>
<path d="M 12.5,31.5 L 32.5,31.5" style="fill:none; stroke:#ffffff;"/>
<path d="M 11.5,34.5 A 35,35 1 0 0 33.5,34.5" style="fill:none; stroke:#ffffff;"/>
<path d="M 10.5,37.5 A 35,35 1 0 0 34.5,37.5" style="fill:none; stroke:#ffffff;"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -1,15 +1,15 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="45" height="45">
<g style="opacity:1; fill:#ffffff; fill-opacity:1; fill-rule:evenodd; stroke:#000000; stroke-width:1.5; stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4; stroke-dasharray:none; stroke-opacity:1;">
<path d="M 9 13 A 2 2 0 1 1 5,13 A 2 2 0 1 1 9 13 z" transform="translate(-1,-1)"/>
<path d="M 9 13 A 2 2 0 1 1 5,13 A 2 2 0 1 1 9 13 z" transform="translate(15.5,-5.5)"/>
<path d="M 9 13 A 2 2 0 1 1 5,13 A 2 2 0 1 1 9 13 z" transform="translate(32,-1)"/>
<path d="M 9 13 A 2 2 0 1 1 5,13 A 2 2 0 1 1 9 13 z" transform="translate(7,-4)"/>
<path d="M 9 13 A 2 2 0 1 1 5,13 A 2 2 0 1 1 9 13 z" transform="translate(24,-4)"/>
<path d="M 9,26 C 17.5,24.5 27.5,24.5 36,26 L 38,14 L 31,25 L 31,11 L 25.5,24.5 L 22.5,9.5 L 19.5,24.5 L 14,11 L 14,25 L 7,14 L 9,26 z " style="stroke-linecap:butt;"/>
<path d="M 9,26 C 9,28 10.5,28 11.5,30 C 12.5,31.5 12.5,31 12,33.5 C 10.5,34.5 11,36 11,36 C 9.5,37.5 11,38.5 11,38.5 C 17.5,39.5 27.5,39.5 34,38.5 C 34,38.5 35.5,37.5 34,36 C 34,36 34.5,34.5 33,33.5 C 32.5,31 32.5,31.5 33.5,30 C 34.5,28 36,28 36,26 C 27.5,24.5 17.5,24.5 9,26 z" style="stroke-linecap:butt;"/>
<path d="M 11.5,30 C 15,29 30,29 33.5,30" style="fill:none;"/>
<path d="M 12,33.5 C 18,32.5 27,32.5 33,33.5" style="fill:none;"/>
<g style="fill:#ffffff;stroke:#000000;stroke-width:1.5;stroke-linejoin:round">
<path d="M 9,26 C 17.5,24.5 30,24.5 36,26 L 38.5,13.5 L 31,25 L 30.7,10.9 L 25.5,24.5 L 22.5,10 L 19.5,24.5 L 14.3,10.9 L 14,25 L 6.5,13.5 L 9,26 z"/>
<path d="M 9,26 C 9,28 10.5,28 11.5,30 C 12.5,31.5 12.5,31 12,33.5 C 10.5,34.5 11,36 11,36 C 9.5,37.5 11,38.5 11,38.5 C 17.5,39.5 27.5,39.5 34,38.5 C 34,38.5 35.5,37.5 34,36 C 34,36 34.5,34.5 33,33.5 C 32.5,31 32.5,31.5 33.5,30 C 34.5,28 36,28 36,26 C 27.5,24.5 17.5,24.5 9,26 z"/>
<path d="M 11.5,30 C 15,29 30,29 33.5,30" style="fill:none"/>
<path d="M 12,33.5 C 18,32.5 27,32.5 33,33.5" style="fill:none"/>
<circle cx="6" cy="12" r="2" />
<circle cx="14" cy="9" r="2" />
<circle cx="22.5" cy="8" r="2" />
<circle cx="31" cy="9" r="2" />
<circle cx="39" cy="12" r="2" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -45,14 +45,15 @@ TODO:
******************************************************************************/
#include "emu.h"
#include "bus/generic/slot.h"
#include "bus/generic/carts.h"
#include "cpu/m6502/m6502.h"
#include "machine/6522via.h"
#include "machine/nvram.h"
#include "machine/timer.h"
#include "video/pwm.h"
#include "sound/dac.h"
#include "bus/generic/slot.h"
#include "bus/generic/carts.h"
#include "video/pwm.h"
#include "speaker.h"
#include "softlist.h"

View File

@ -4,10 +4,9 @@
LC-80 by VEB Mikroelektronik "Karl Marx" Erfurt
When first started, the screen is blank. Wait about 8 seconds for
it to introduce itself, then you may use it or paste to it.
The decimal points indicate which side of the display you will
be updating.
When first started, the screen is blank. Wait about 8 seconds for it to
introduce itself, then you may use it or paste to it. The decimal points
indicate which side of the display you will be updating.
Pasting:
0-F : as is
@ -30,12 +29,12 @@ Hardware notes (2-ROM version from schematics):
- cassette port
- 6*7seg display, 2 leds, piezo
The PCB is literally inside a map that can be closed like a book. It has a nice
calculator style keypad attached to it.
The PCB is literally inside a leather map that can be closed like a book.
It has a nice calculator style keypad attached to it.
The memory can be expanded. There's an export version with more RAM/ROM by
default and a faster U880D CPU (3300.0kHz XTAL). It included a chess program
called SC-80, that can be started by executing ADR C800. Press ADR again for
called SC-80 that can be started by executing ADR C800. Press ADR again for
NEW GAME, and use the 1-8 number keys for A1-H8.

View File

@ -48,8 +48,8 @@ TODO:
#include "machine/ram.h"
#include "machine/sensorboard.h"
#include "machine/timer.h"
#include "video/sed1520.h"
#include "sound/spkrdev.h"
#include "video/sed1520.h"
#include "emupal.h"
#include "screen.h"

View File

@ -30,12 +30,15 @@ Fidelity CC10 synonyms: RE, LV, RV, PB, ♪, CL, EN
****************************************************************************/
#include "emu.h"
#include "cpu/z80/z80.h"
#include "machine/z80pio.h"
#include "video/pwm.h"
#include "sound/dac.h"
#include "video/pwm.h"
#include "speaker.h"
// internal artwork
#include "sc2.lh"
@ -71,8 +74,8 @@ private:
void main_io(address_map &map);
void main_map(address_map &map);
u8 m_inp_mux;
u8 m_digit_data;
u8 m_inp_mux = 0;
u8 m_digit_data = 0;
void update_display();
u8 pio_port_b_r();
@ -83,10 +86,6 @@ private:
void sc2_state::machine_start()
{
// zerofill
m_inp_mux = 0;
m_digit_data = 0;
// register for savestates
save_item(NAME(m_inp_mux));
save_item(NAME(m_digit_data));

View File

@ -63,8 +63,8 @@ TODO:
#include "machine/ram.h"
#include "machine/smartboard.h"
#include "machine/timer.h"
#include "video/t6963c.h"
#include "sound/spkrdev.h"
#include "video/t6963c.h"
#include "speaker.h"

View File

@ -7,7 +7,9 @@ license:CC0
<!-- define elements -->
<element name="black"><rect><color red="0.17" green="0.15" blue="0.15" /></rect></element>
<element name="blacka"><rect><color red="0.2" green="0.18" blue="0.18" /></rect></element>
<element name="white"><rect><color red="0.81" green="0.8" blue="0.79" /></rect></element>
<element name="whitew"><rect><color red="1" green="1" blue="1" /></rect></element>
<element name="redb"><rect><color red="0.81" green="0.3" blue="0.29" /></rect></element>
<element name="disk_black"><disk><color red="0.17" green="0.15" blue="0.15" /></disk></element>
<element name="disk_white"><disk><color red="0.81" green="0.8" blue="0.79" /></disk></element>
@ -170,30 +172,12 @@ license:CC0
<text string="NO"><color red="0.81" green="0.3" blue="0.29" /></text>
</element>
<element name="text_king">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="[K]"><color red="0.17" green="0.15" blue="0.15" /></text>
</element>
<element name="text_queen">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="[Q]"><color red="0.17" green="0.15" blue="0.15" /></text>
</element>
<element name="text_rook">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="[R]"><color red="0.17" green="0.15" blue="0.15" /></text>
</element>
<element name="text_bishop">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="[B]"><color red="0.17" green="0.15" blue="0.15" /></text>
</element>
<element name="text_knight">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="[N]"><color red="0.17" green="0.15" blue="0.15" /></text>
</element>
<element name="text_pawn">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="[P]"><color red="0.17" green="0.15" blue="0.15" /></text>
</element>
<element name="text_p1"><image file="chess/bk.svg"/></element>
<element name="text_p2"><image file="chess/bq.svg"/></element>
<element name="text_p3"><image file="chess/br.svg"/></element>
<element name="text_p4"><image file="chess/bb.svg"/></element>
<element name="text_p5"><image file="chess/bn.svg"/></element>
<element name="text_p6"><image file="chess/bp.svg"/></element>
<!-- sb board -->
@ -486,8 +470,7 @@ license:CC0
<group ref="sb_board"><bounds x="3" y="3.5" width="80" height="80" /></group>
<group ref="sb_ui"><bounds x="-18" y="3.5" width="10" height="80" /></group>
<!-- chessboard coords -->
<!-- chessboard coords -->
<element ref="text_8"><bounds x="-2.75" y="7.5" width="2" height="2" /></element>
<element ref="text_7"><bounds x="-2.75" y="17.5" width="2" height="2" /></element>
<element ref="text_6"><bounds x="-2.75" y="27.5" width="2" height="2" /></element>
@ -506,8 +489,7 @@ license:CC0
<element ref="text_g"><bounds x="65" y="85" width="2" height="2" /></element>
<element ref="text_h"><bounds x="75" y="85" width="2" height="2" /></element>
<!-- chessboard leds -->
<!-- chessboard leds -->
<element name="0.7" ref="led"><bounds x="-0.5" y="7.75" width="1.5" height="1.5" /></element>
<element name="0.6" ref="led"><bounds x="-0.5" y="17.75" width="1.5" height="1.5" /></element>
<element name="0.5" ref="led"><bounds x="-0.5" y="27.75" width="1.5" height="1.5" /></element>
@ -526,7 +508,16 @@ license:CC0
<element name="1.6" ref="led"><bounds x="67.25" y="85.5" width="1.5" height="1.5" /></element>
<element name="1.7" ref="led"><bounds x="77.25" y="85.5" width="1.5" height="1.5" /></element>
<!-- bottom side -->
<!-- bottom side -->
<element ref="whitew"><bounds x="5" y="98.2" width="80" height="4" /></element>
<element ref="text_p1"><bounds x="6.25" y="98.35" width="3.5" height="3.5" /></element>
<element ref="text_p2"><bounds x="15.25" y="98.35" width="3.5" height="3.5" /></element>
<element ref="text_p3"><bounds x="24.25" y="98.35" width="3.5" height="3.5" /></element>
<element ref="text_p4"><bounds x="58.25" y="98.35" width="3.5" height="3.5" /></element>
<element ref="text_p5"><bounds x="67.25" y="98.35" width="3.5" height="3.5" /></element>
<element ref="text_p6"><bounds x="76.25" y="98.35" width="3.5" height="3.5" /></element>
<element ref="blacka" blend="add"><bounds x="5" y="98.2" width="80" height="4" /></element>
<element ref="white" blend="multiply"><bounds x="5" y="98.2" width="80" height="4" /></element>
<element ref="text_white"><bounds x="33" y="87.5" width="10" height="2" /></element>
<element ref="text_black"><bounds x="43" y="87.5" width="10" height="2" /></element>
@ -545,13 +536,6 @@ license:CC0
<element ref="text_u5"><bounds x="64" y="96.3" width="10" height="1.8" /></element>
<element ref="text_u6"><bounds x="73" y="96.3" width="10" height="1.8" /></element>
<element ref="text_king"><bounds x="3" y="98.5" width="10" height="2.65" /></element>
<element ref="text_queen"><bounds x="12" y="98.5" width="10" height="2.65" /></element>
<element ref="text_rook"><bounds x="21" y="98.5" width="10" height="2.65" /></element>
<element ref="text_bishop"><bounds x="55" y="98.5" width="10" height="2.65" /></element>
<element ref="text_knight"><bounds x="64" y="98.5" width="10" height="2.65" /></element>
<element ref="text_pawn"><bounds x="73" y="98.5" width="10" height="2.65" /></element>
<element ref="disk_black"><bounds x="6" y="92" width="4" height="4" /></element>
<element ref="disk_black"><bounds x="15" y="92" width="4" height="4" /></element>
<element ref="disk_black"><bounds x="24" y="92" width="4" height="4" /></element>

View File

@ -7,7 +7,9 @@ license:CC0
<!-- define elements -->
<element name="black"><rect><color red="0.17" green="0.15" blue="0.15" /></rect></element>
<element name="blacka"><rect><color red="0.2" green="0.18" blue="0.18" /></rect></element>
<element name="white"><rect><color red="0.81" green="0.8" blue="0.79" /></rect></element>
<element name="whitew"><rect><color red="1" green="1" blue="1" /></rect></element>
<element name="redb"><rect><color red="0.81" green="0.3" blue="0.29" /></rect></element>
<element name="disk_black"><disk><color red="0.17" green="0.15" blue="0.15" /></disk></element>
<element name="disk_white"><disk><color red="0.81" green="0.8" blue="0.79" /></disk></element>
@ -179,30 +181,12 @@ license:CC0
<text string="ALTERNATE"><color red="0.81" green="0.3" blue="0.29" /></text>
</element>
<element name="text_king">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="[K]"><color red="0.17" green="0.15" blue="0.15" /></text>
</element>
<element name="text_queen">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="[Q]"><color red="0.17" green="0.15" blue="0.15" /></text>
</element>
<element name="text_rook">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="[R]"><color red="0.17" green="0.15" blue="0.15" /></text>
</element>
<element name="text_bishop">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="[B]"><color red="0.17" green="0.15" blue="0.15" /></text>
</element>
<element name="text_knight">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="[N]"><color red="0.17" green="0.15" blue="0.15" /></text>
</element>
<element name="text_pawn">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="[P]"><color red="0.17" green="0.15" blue="0.15" /></text>
</element>
<element name="text_p1"><image file="chess/bk.svg"/></element>
<element name="text_p2"><image file="chess/bq.svg"/></element>
<element name="text_p3"><image file="chess/br.svg"/></element>
<element name="text_p4"><image file="chess/bb.svg"/></element>
<element name="text_p5"><image file="chess/bn.svg"/></element>
<element name="text_p6"><image file="chess/bp.svg"/></element>
<!-- sb board -->
@ -496,8 +480,7 @@ license:CC0
<group ref="sb_ui"><bounds x="-18" y="3.5" width="10" height="80" /></group>
<!-- chessboard coords -->
<!-- chessboard coords -->
<element ref="text_8"><bounds x="-2.75" y="7.5" width="2" height="2" /></element>
<element ref="text_7"><bounds x="-2.75" y="17.5" width="2" height="2" /></element>
<element ref="text_6"><bounds x="-2.75" y="27.5" width="2" height="2" /></element>
@ -516,8 +499,7 @@ license:CC0
<element ref="text_g"><bounds x="65" y="85" width="2" height="2" /></element>
<element ref="text_h"><bounds x="75" y="85" width="2" height="2" /></element>
<!-- chessboard leds -->
<!-- chessboard leds -->
<element name="0.7" ref="led"><bounds x="-0.5" y="7.75" width="1.5" height="1.5" /></element>
<element name="0.6" ref="led"><bounds x="-0.5" y="17.75" width="1.5" height="1.5" /></element>
<element name="0.5" ref="led"><bounds x="-0.5" y="27.75" width="1.5" height="1.5" /></element>
@ -536,7 +518,16 @@ license:CC0
<element name="1.6" ref="led"><bounds x="67.25" y="85.5" width="1.5" height="1.5" /></element>
<element name="1.7" ref="led"><bounds x="77.25" y="85.5" width="1.5" height="1.5" /></element>
<!-- bottom side -->
<!-- bottom side -->
<element ref="whitew"><bounds x="5" y="98.2" width="80" height="4" /></element>
<element ref="text_p1"><bounds x="6.25" y="98.35" width="3.5" height="3.5" /></element>
<element ref="text_p2"><bounds x="15.25" y="98.35" width="3.5" height="3.5" /></element>
<element ref="text_p3"><bounds x="24.25" y="98.35" width="3.5" height="3.5" /></element>
<element ref="text_p4"><bounds x="58.25" y="98.35" width="3.5" height="3.5" /></element>
<element ref="text_p5"><bounds x="67.25" y="98.35" width="3.5" height="3.5" /></element>
<element ref="text_p6"><bounds x="76.25" y="98.35" width="3.5" height="3.5" /></element>
<element ref="blacka" blend="add"><bounds x="5" y="98.2" width="80" height="4" /></element>
<element ref="white" blend="multiply"><bounds x="5" y="98.2" width="80" height="4" /></element>
<element ref="text_white"><bounds x="33" y="87.5" width="10" height="2" /></element>
<element ref="text_black"><bounds x="43" y="87.5" width="10" height="2" /></element>
@ -555,13 +546,6 @@ license:CC0
<element ref="text_u5"><bounds x="64" y="96.3" width="10" height="1.8" /></element>
<element ref="text_u6"><bounds x="73" y="96.3" width="10" height="1.8" /></element>
<element ref="text_king"><bounds x="3" y="98.5" width="10" height="2.65" /></element>
<element ref="text_queen"><bounds x="12" y="98.5" width="10" height="2.65" /></element>
<element ref="text_rook"><bounds x="21" y="98.5" width="10" height="2.65" /></element>
<element ref="text_bishop"><bounds x="55" y="98.5" width="10" height="2.65" /></element>
<element ref="text_knight"><bounds x="64" y="98.5" width="10" height="2.65" /></element>
<element ref="text_pawn"><bounds x="73" y="98.5" width="10" height="2.65" /></element>
<element ref="disk_black"><bounds x="6" y="92" width="4" height="4" /></element>
<element ref="disk_black"><bounds x="15" y="92" width="4" height="4" /></element>
<element ref="disk_black"><bounds x="24" y="92" width="4" height="4" /></element>
@ -594,8 +578,7 @@ license:CC0
<element ref="text_clear"><bounds x="84" y="93" width="6" height="2" /></element>
<element ref="hlr" inputtag="IN.0" inputmask="0x01"><bounds x="83" y="91" width="8" height="6" /><color alpha="0.3" /></element>
<!-- lcd panel -->
<!-- lcd panel -->
<element ref="black"><bounds x="30.5" y="90" width="25" height="8" /></element>
<element ref="lcd_bg"><bounds x="31" y="90.5" width="24" height="7" /></element>

View File

@ -7,7 +7,9 @@ license:CC0
<!-- define elements -->
<element name="black"><rect><color red="0.17" green="0.15" blue="0.15" /></rect></element>
<element name="blacka"><rect><color red="0.2" green="0.18" blue="0.18" /></rect></element>
<element name="white"><rect><color red="0.81" green="0.8" blue="0.79" /></rect></element>
<element name="whitew"><rect><color red="1" green="1" blue="1" /></rect></element>
<element name="greenb"><rect><color red="0.10" green="0.30" blue="0.15" /></rect></element>
<element name="disk_black"><disk><color red="0.17" green="0.15" blue="0.15" /></disk></element>
<element name="disk_white"><disk><color red="0.81" green="0.8" blue="0.79" /></disk></element>
@ -183,30 +185,12 @@ license:CC0
<text string="ALTERNATE"><color red="0.10" green="0.30" blue="0.15" /></text>
</element>
<element name="text_king">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="[K]"><color red="0.17" green="0.15" blue="0.15" /></text>
</element>
<element name="text_queen">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="[Q]"><color red="0.17" green="0.15" blue="0.15" /></text>
</element>
<element name="text_rook">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="[R]"><color red="0.17" green="0.15" blue="0.15" /></text>
</element>
<element name="text_bishop">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="[B]"><color red="0.17" green="0.15" blue="0.15" /></text>
</element>
<element name="text_knight">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="[N]"><color red="0.17" green="0.15" blue="0.15" /></text>
</element>
<element name="text_pawn">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="[P]"><color red="0.17" green="0.15" blue="0.15" /></text>
</element>
<element name="text_p1"><image file="chess/bk.svg"/></element>
<element name="text_p2"><image file="chess/bq.svg"/></element>
<element name="text_p3"><image file="chess/br.svg"/></element>
<element name="text_p4"><image file="chess/bb.svg"/></element>
<element name="text_p5"><image file="chess/bn.svg"/></element>
<element name="text_p6"><image file="chess/bp.svg"/></element>
<!-- sb board -->
@ -499,8 +483,7 @@ license:CC0
<group ref="sb_board"><bounds x="3" y="3.5" width="80" height="80" /></group>
<group ref="sb_ui"><bounds x="-18" y="3.5" width="10" height="80" /></group>
<!-- chessboard coords -->
<!-- chessboard coords -->
<element ref="text_8"><bounds x="-2.75" y="7.5" width="2" height="2" /></element>
<element ref="text_7"><bounds x="-2.75" y="17.5" width="2" height="2" /></element>
<element ref="text_6"><bounds x="-2.75" y="27.5" width="2" height="2" /></element>
@ -519,8 +502,7 @@ license:CC0
<element ref="text_g"><bounds x="65" y="85" width="2" height="2" /></element>
<element ref="text_h"><bounds x="75" y="85" width="2" height="2" /></element>
<!-- chessboard leds -->
<!-- chessboard leds -->
<element name="0.7" ref="led"><bounds x="-0.5" y="7.75" width="1.5" height="1.5" /></element>
<element name="0.6" ref="led"><bounds x="-0.5" y="17.75" width="1.5" height="1.5" /></element>
<element name="0.5" ref="led"><bounds x="-0.5" y="27.75" width="1.5" height="1.5" /></element>
@ -539,7 +521,16 @@ license:CC0
<element name="1.6" ref="led"><bounds x="67.25" y="85.5" width="1.5" height="1.5" /></element>
<element name="1.7" ref="led"><bounds x="77.25" y="85.5" width="1.5" height="1.5" /></element>
<!-- bottom side -->
<!-- bottom side -->
<element ref="whitew"><bounds x="5" y="98.2" width="80" height="4" /></element>
<element ref="text_p1"><bounds x="6.25" y="98.35" width="3.5" height="3.5" /></element>
<element ref="text_p2"><bounds x="15.25" y="98.35" width="3.5" height="3.5" /></element>
<element ref="text_p3"><bounds x="24.25" y="98.35" width="3.5" height="3.5" /></element>
<element ref="text_p4"><bounds x="58.25" y="98.35" width="3.5" height="3.5" /></element>
<element ref="text_p5"><bounds x="67.25" y="98.35" width="3.5" height="3.5" /></element>
<element ref="text_p6"><bounds x="76.25" y="98.35" width="3.5" height="3.5" /></element>
<element ref="blacka" blend="add"><bounds x="5" y="98.2" width="80" height="4" /></element>
<element ref="white" blend="multiply"><bounds x="5" y="98.2" width="80" height="4" /></element>
<element ref="text_white"><bounds x="33" y="87.5" width="10" height="2" /></element>
<element ref="text_black"><bounds x="43" y="87.5" width="10" height="2" /></element>
@ -558,13 +549,6 @@ license:CC0
<element ref="text_u5"><bounds x="64" y="96.3" width="10" height="1.8" /></element>
<element ref="text_u6"><bounds x="73" y="96.3" width="10" height="1.8" /></element>
<element ref="text_king"><bounds x="3" y="98.5" width="10" height="2.65" /></element>
<element ref="text_queen"><bounds x="12" y="98.5" width="10" height="2.65" /></element>
<element ref="text_rook"><bounds x="21" y="98.5" width="10" height="2.65" /></element>
<element ref="text_bishop"><bounds x="55" y="98.5" width="10" height="2.65" /></element>
<element ref="text_knight"><bounds x="64" y="98.5" width="10" height="2.65" /></element>
<element ref="text_pawn"><bounds x="73" y="98.5" width="10" height="2.65" /></element>
<element ref="disk_black"><bounds x="6" y="92" width="4" height="4" /></element>
<element ref="disk_black"><bounds x="15" y="92" width="4" height="4" /></element>
<element ref="disk_black"><bounds x="24" y="92" width="4" height="4" /></element>
@ -597,8 +581,7 @@ license:CC0
<element ref="text_clear"><bounds x="84" y="93" width="6" height="2" /></element>
<element ref="hlr" inputtag="IN.0" inputmask="0x01"><bounds x="83" y="91" width="8" height="6" /><color alpha="0.3" /></element>
<!-- lcd panel -->
<!-- lcd panel -->
<element ref="black"><bounds x="30.5" y="90" width="25" height="8" /></element>
<element ref="lcd_bg"><bounds x="31" y="90.5" width="24" height="7" /></element>

View File

@ -7,7 +7,9 @@ license:CC0
<!-- define elements -->
<element name="black"><rect><color red="0.17" green="0.15" blue="0.15" /></rect></element>
<element name="blacka"><rect><color red="0.2" green="0.18" blue="0.18" /></rect></element>
<element name="white"><rect><color red="0.81" green="0.8" blue="0.79" /></rect></element>
<element name="whitew"><rect><color red="1" green="1" blue="1" /></rect></element>
<element name="disk_black"><disk><color red="0.17" green="0.15" blue="0.15" /></disk></element>
<element name="disk_white"><disk><color red="0.81" green="0.8" blue="0.79" /></disk></element>
<element name="lcd_bg"><rect><color red="0.54" green="0.57" blue="0.58" /></rect></element>
@ -178,30 +180,12 @@ license:CC0
<text string="ALTERNATE"><color red="0.81" green="0.3" blue="0.29" /></text>
</element>
<element name="text_king">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="[K]"><color red="0.17" green="0.15" blue="0.15" /></text>
</element>
<element name="text_queen">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="[Q]"><color red="0.17" green="0.15" blue="0.15" /></text>
</element>
<element name="text_rook">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="[R]"><color red="0.17" green="0.15" blue="0.15" /></text>
</element>
<element name="text_bishop">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="[B]"><color red="0.17" green="0.15" blue="0.15" /></text>
</element>
<element name="text_knight">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="[N]"><color red="0.17" green="0.15" blue="0.15" /></text>
</element>
<element name="text_pawn">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="[P]"><color red="0.17" green="0.15" blue="0.15" /></text>
</element>
<element name="text_p1"><image file="chess/bk.svg"/></element>
<element name="text_p2"><image file="chess/bq.svg"/></element>
<element name="text_p3"><image file="chess/br.svg"/></element>
<element name="text_p4"><image file="chess/bb.svg"/></element>
<element name="text_p5"><image file="chess/bn.svg"/></element>
<element name="text_p6"><image file="chess/bp.svg"/></element>
<!-- sb board -->
@ -494,8 +478,7 @@ license:CC0
<group ref="sb_board"><bounds x="3" y="3.5" width="80" height="80" /></group>
<group ref="sb_ui"><bounds x="-18" y="3.5" width="10" height="80" /></group>
<!-- chessboard coords -->
<!-- chessboard coords -->
<element ref="text_8"><bounds x="-2.75" y="7.5" width="2" height="2" /></element>
<element ref="text_7"><bounds x="-2.75" y="17.5" width="2" height="2" /></element>
<element ref="text_6"><bounds x="-2.75" y="27.5" width="2" height="2" /></element>
@ -514,8 +497,7 @@ license:CC0
<element ref="text_g"><bounds x="65" y="85" width="2" height="2" /></element>
<element ref="text_h"><bounds x="75" y="85" width="2" height="2" /></element>
<!-- chessboard leds -->
<!-- chessboard leds -->
<element name="0.7" ref="led"><bounds x="-0.5" y="7.75" width="1.5" height="1.5" /></element>
<element name="0.6" ref="led"><bounds x="-0.5" y="17.75" width="1.5" height="1.5" /></element>
<element name="0.5" ref="led"><bounds x="-0.5" y="27.75" width="1.5" height="1.5" /></element>
@ -534,7 +516,16 @@ license:CC0
<element name="1.6" ref="led"><bounds x="67.25" y="85.5" width="1.5" height="1.5" /></element>
<element name="1.7" ref="led"><bounds x="77.25" y="85.5" width="1.5" height="1.5" /></element>
<!-- bottom side -->
<!-- bottom side -->
<element ref="whitew"><bounds x="5" y="98.2" width="80" height="4" /></element>
<element ref="text_p1"><bounds x="6.25" y="98.35" width="3.5" height="3.5" /></element>
<element ref="text_p2"><bounds x="15.25" y="98.35" width="3.5" height="3.5" /></element>
<element ref="text_p3"><bounds x="24.25" y="98.35" width="3.5" height="3.5" /></element>
<element ref="text_p4"><bounds x="58.25" y="98.35" width="3.5" height="3.5" /></element>
<element ref="text_p5"><bounds x="67.25" y="98.35" width="3.5" height="3.5" /></element>
<element ref="text_p6"><bounds x="76.25" y="98.35" width="3.5" height="3.5" /></element>
<element ref="blacka" blend="add"><bounds x="5" y="98.2" width="80" height="4" /></element>
<element ref="white" blend="multiply"><bounds x="5" y="98.2" width="80" height="4" /></element>
<element ref="text_white"><bounds x="33" y="87.5" width="10" height="2" /></element>
<element ref="text_black"><bounds x="43" y="87.5" width="10" height="2" /></element>
@ -553,13 +544,6 @@ license:CC0
<element ref="text_u5"><bounds x="64" y="96.3" width="10" height="1.8" /></element>
<element ref="text_u6"><bounds x="73" y="96.3" width="10" height="1.8" /></element>
<element ref="text_king"><bounds x="3" y="98.5" width="10" height="2.65" /></element>
<element ref="text_queen"><bounds x="12" y="98.5" width="10" height="2.65" /></element>
<element ref="text_rook"><bounds x="21" y="98.5" width="10" height="2.65" /></element>
<element ref="text_bishop"><bounds x="55" y="98.5" width="10" height="2.65" /></element>
<element ref="text_knight"><bounds x="64" y="98.5" width="10" height="2.65" /></element>
<element ref="text_pawn"><bounds x="73" y="98.5" width="10" height="2.65" /></element>
<element ref="disk_black"><bounds x="6" y="92" width="4" height="4" /></element>
<element ref="disk_black"><bounds x="15" y="92" width="4" height="4" /></element>
<element ref="disk_black"><bounds x="24" y="92" width="4" height="4" /></element>
@ -592,8 +576,7 @@ license:CC0
<element ref="text_clear"><bounds x="84" y="93" width="6" height="2" /></element>
<element ref="hlr" inputtag="IN.0" inputmask="0x01"><bounds x="83" y="91" width="8" height="6" /><color alpha="0.3" /></element>
<!-- lcd panel -->
<!-- lcd panel -->
<element ref="black"><bounds x="30.5" y="90" width="25" height="8" /></element>
<element ref="lcd_bg"><bounds x="31" y="90.5" width="24" height="7" /></element>