Allow machine XML files to separate machine "type" from machine "class"; if present, "type" should determine the machine type, and "class" simply becomes the machine's style

This commit is contained in:
Jeff Parsons 2017-01-29 10:13:03 -08:00 committed by Jeff Parsons
commit bb1bcc804f
18 changed files with 108 additions and 33 deletions

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pc8080/1.32.2/machine.xsl"?>
<machine id="vt100" class="pc8080 machine-right" border="1" pos="center" background="#FAEBD7">
<machine id="vt100" type="pc8080" class="machine-right" border="1" pos="center" background="#FAEBD7">
<name pos="center">VT100 Terminal</name>
<computer id="computer" busWidth="16"/>
<cpu id="cpu8080" model="8080" cycles="2764800" autoStart="true"/>