Factored XML video definitions

This commit is contained in:
Jeff Parsons 2014-11-15 11:59:22 -08:00 • committed by jeffpar
commit a408730928
44 changed files with 139 additions and 210 deletions

View file

@ -1,17 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.16.0/machine.xsl"?>
<machine id="ibm5150" class="pc" border="1" width="980px" pos="center" style="background-color:#FAEBD7">
<machine id="ibm5150" class="pc" border="1" pos="center" style="background-color:#FAEBD7">
<name pos="center">Zork I (IBM PC Model 5150)</name>
<computer id="zork-cga-64k" name="IBM PC"/>
<cpu id="cpu8088" model="8088"/>
<ram id="ramLow" addr="0x00000" test="false"/>
<rom id="romBASIC" addr="0xf6000" size="0x8000" file="/devices/pc/basic/ibm-basic-1.00.json"/>
<rom id="romBIOS" addr="0xfe000" size="0x2000" file="/devices/pc/bios/5150/1981-04-24.json"/>
<video id="videoCGA" screenwidth="960" screenheight="400" scale="true" charset="/devices/pc/video/ibm-mda-cga.json" padding="8px">
<menu>
<title>Color Display</title>
</menu>
</video>
<video ref="/devices/pc/video/video-cga.xml"/>
<keyboard id="keyboard" pos="left" padleft="8px">
<control type="button" class="input" binding="esc">ESC</control>
<control type="button" class="input" binding="ctrl-c">CTRL-C</control>