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="ibm5160" class="pc" border="1" pos="center" width="1000px" style="background-color:white">
<machine id="ibm5160" class="pc" border="1" width="1000px" pos="center" style="background-color:white">
<name pos="center">IBM PC XT (Model 5160), CGA, 256K, 10Mb Drive</name>
<computer id="xt-cga-256k" name="IBM PC XT"/>
<ram id="ramLow" addr="0x00000" test="false"/>
<rom id="romHDC" addr="0xc8000" size="0x2000" file="/devices/pc/hdc/ibm-xebec-1982.json"/>
<rom id="romBASIC" addr="0xf6000" size="0x8000" file="/devices/pc/basic/ibm-basic-1.10.json"/>
<rom id="romBIOS" addr="0xfe000" size="0x2000" file="/devices/pc/bios/5160/1982-11-08.json"/>
<video id="videoCGA" screenwidth="960" screenheight="400" scale="true" charset="/devices/pc/video/ibm-mda-cga.json" pos="center" width="960px" padding="8px">
<menu>
<title>Color Display</title>
</menu>
</video>
<video ref="/devices/pc/video/video-cga-960.xml"/>
<cpu id="cpu8088" model="8088" autostart="true" pos="left" padleft="8px">
<control type="button" class="input" binding="run">Run</control>
<control type="button" class="input" binding="reset">Reset</control>