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,6 +1,6 @@
<?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" pos="center" width="1000px" style="background-color:white">
<machine id="ibm5150" class="pc" border="1" width="1000px" pos="center" style="background-color:white">
<name>IBM PC (Model 5150), CGA, 384K</name>
<computer id="pc-cga-384k" name="IBM PC"/>
<cpu id="cpu8088" model="8088"/>
@ -8,11 +8,7 @@
<ram id="ramLow" addr="0x00000" test="false" comment="no memory test"/>
<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" pos="center" width="960px" padding="8px">
<menu>
<title>Color Display</title>
</menu>
</video>
<video ref="/devices/pc/video/video-cga-960.xml"/>
<keyboard ref="/devices/pc/keyboard/us83.xml"/>
<panel ref="/devices/pc/panel/wide.xml"/>
<fdc ref="/disks/pc/samples.xml" width="280px"/>

View file

@ -6,11 +6,7 @@
<ram id="ramLow" addr="0x00000"/>
<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" 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"/>
<keyboard ref="/devices/pc/keyboard/minimal.xml"/>
<debugger id="debugger"/>

View file

@ -6,11 +6,7 @@
<ram id="ramLow" addr="0x00000"/>
<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" 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" padleft="8px">
<control type="button" class="input" binding="run">Run</control>
<control type="button" class="input" binding="reset">Reset</control>

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" pos="center" width="1000px" style="background-color:white">
<machine id="ibm5150" class="pc" border="1" width="1000px" pos="center" style="background-color:white">
<name>IBM PC (Model 5150), CGA, 64K</name>
<computer id="pc-cga-64k" name="IBM PC"/>
<cpu id="cpu8088" model="8088"/>
<ram id="ramLow" addr="0x00000"/>
<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" pos="center" width="960px" padding="8px">
<menu>
<title>Color Display</title>
</menu>
</video>
<video ref="/devices/pc/video/video-cga-960.xml"/>
<keyboard ref="/devices/pc/keyboard/us83.xml"/>
<debugger id="debugger"/>
<panel ref="/devices/pc/panel/wide.xml"/>

View file

@ -6,11 +6,7 @@
<ram id="ramLow" addr="0x00000"/>
<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="videoMDA" screenwidth="720" screenheight="350" scale="true" charset="/devices/pc/video/ibm-mda-cga.json" pos="center" padding="8px">
<menu>
<title>Monochrome Display</title>
</menu>
</video>
<video ref="/devices/pc/video/video-mda.xml"/>
<cpu id="cpu8088" model="8088" autostart="true"/>
<keyboard ref="/devices/pc/keyboard/minimal-functions.xml"/>
<debugger id="debugger"/>

View file

@ -6,11 +6,7 @@
<ram id="ramLow" addr="0x00000"/>
<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="videoMDA" screenwidth="720" screenheight="350" scale="true" charset="/devices/pc/video/ibm-mda-cga.json" pos="center" padding="8px">
<menu>
<title>Monochrome Display</title>
</menu>
</video>
<video ref="/devices/pc/video/video-mda.xml"/>
<cpu id="cpu8088" model="8088" autostart="true" padleft="8px">
<control type="button" class="input" binding="run">Run</control>
<control type="button" class="input" binding="reset">Reset</control>

View file

@ -7,14 +7,7 @@
<ram id="ramLow" addr="0x00000"/>
<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="videoMDA" screenwidth="720" screenheight="350" scale="true" charset="/devices/pc/video/ibm-mda-cga.json" pos="center" padding="8px">
<menu>
<title>Monochrome Display</title>
<control type="led" class="output" label="Scroll" binding="scroll-lock" pos="right" padleft="8px"/>
<control type="led" class="output" label="Num" binding="num-lock" pos="right" padleft="8px"/>
<control type="led" class="output" label="Caps" binding="caps-lock" pos="right" padleft="8px"/>
</menu>
</video>
<video ref="/devices/pc/video/video-mda.xml"/>
<keyboard ref="/devices/pc/keyboard/us83.xml"/>
<debugger id="debugger"/>
<panel ref="/devices/pc/panel/wide.xml"/>