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>

View file

@ -7,11 +7,7 @@
<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"/>
<keyboard ref="/devices/pc/keyboard/minimal-functions.xml"/>
<debugger id="debugger"/>

View file

@ -7,11 +7,7 @@
<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>

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="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>IBM PC XT (Model 5160), CGA, 256K, 10Mb Drive</name>
<computer id="xt-cga-256k" name="IBM PC XT"/>
<cpu id="cpu8088" model="8088"/>
@ -8,11 +8,7 @@
<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"/>
<keyboard ref="/devices/pc/keyboard/us83.xml"/>
<debugger id="debugger"/>
<panel ref="/devices/pc/panel/default.xml"/>

View file

@ -7,12 +7,7 @@
<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" autolock="true" charset="/devices/pc/video/ibm-mda-cga.json" width="960px" padding="8px">
<menu>
<title>Color Display</title>
<control type="button" class="input" binding="lockPointer" pos="right">Lock Pointer</control>
</menu>
</video>
<video ref="/devices/pc/video/video-cga-lock.xml"/>
<cpu id="cpu8088" model="8088" autostart="false"/>
<keyboard ref="/devices/pc/keyboard/minimal-functions.xml"/>
<debugger id="debugger"/>

View file

@ -7,12 +7,7 @@
<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" autolock="true" charset="/devices/pc/video/ibm-mda-cga.json" padding="8px">
<menu>
<title>Color Display</title>
<control type="button" class="input" binding="lockPointer" pos="right">Lock Pointer</control>
</menu>
</video>
<video ref="/devices/pc/video/video-cga-lock.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>

View file

@ -8,12 +8,7 @@
<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" autolock="true" charset="/devices/pc/video/ibm-mda-cga.json" pos="center" width="960px" padding="8px">
<menu>
<title>Color Display</title>
<control type="button" class="input" binding="lockPointer" pos="right">Lock Pointer</control>
</menu>
</video>
<video ref="/devices/pc/video/video-cga-lock.xml"/>
<keyboard ref="/devices/pc/keyboard/us83.xml"/>
<debugger id="debugger"/>
<panel ref="/devices/pc/panel/wide.xml"/>

View file

@ -8,12 +8,7 @@
<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" autolock="true" charset="/devices/pc/video/ibm-mda-cga.json" pos="center" width="960px" padding="8px">
<menu>
<title>Color Display</title>
<control type="button" class="input" binding="lockPointer" pos="right">Lock Pointer</control>
</menu>
</video>
<video ref="/devices/pc/video/video-cga-lock.xml"/>
<keyboard ref="/devices/pc/keyboard/us83.xml"/>
<debugger id="debugger"/>
<panel ref="/devices/pc/panel/default.xml"/>

View file

@ -7,11 +7,7 @@
<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" touchscreen="true" pos="center" width="960px" padding="8px">
<menu>
<title>Color Display</title>
</menu>
</video>
<video ref="/devices/pc/video/video-cga-960-touch.xml"/>
<cpu id="cpu8088" model="8088" autostart="true"/>
<keyboard ref="/devices/pc/keyboard/minimal-f1-f10.xml"/>
<debugger id="debugger"/>

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="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>IBM PC XT (Model 5160), CGA, 640K, 10Mb Drive</name>
<computer id="xt-cga-640k" name="IBM PC XT"/>
<cpu id="cpu8088" model="8088" autostart="true"/>
@ -8,12 +8,7 @@
<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" autolock="true" fontrom="/devices/pc/video/ibm-mda-cga.json" pos="center" width="960px" padding="8px">
<menu>
<title>Color Display</title>
<control type="button" class="input" binding="lockPointer" pos="right">Lock Pointer</control>
</menu>
</video>
<video ref="/devices/pc/video/video-cga-lock.xml"/>
<keyboard ref="/devices/pc/keyboard/us83.xml"/>
<debugger id="debugger"/>
<panel ref="/devices/pc/panel/wide.xml"/>

View file

@ -7,11 +7,7 @@
<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" touchscreen="true" pos="center" padding="8px">
<menu>
<title>Color Display</title>
</menu>
</video>
<video ref="/devices/pc/video/video-cga-960-touch.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>