Factored XML video definitions
This commit is contained in:
parent
501649f67b
commit
a408730928
44 changed files with 139 additions and 210 deletions
|
|
@ -1,16 +1,12 @@
|
|||
<?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="740px" pos="center" style="background-color:#FAEBD7">
|
||||
<machine id="ibm5150" class="pc" border="1" pos="center" style="background-color:#FAEBD7">
|
||||
<name pos="center">IBM PC (Model 5150) running CP/M-86</name>
|
||||
<computer id="cpm-mda-64k" name="IBM PC" resume="1"/>
|
||||
<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" padding="8px">
|
||||
<menu>
|
||||
<title>Monochrome Display</title>
|
||||
</menu>
|
||||
</video>
|
||||
<video ref="/devices/pc/video/video-mda.xml"/>
|
||||
<cpu id="cpu8088" model="8088" autostart="true" pos="left" padleft="8px" padbottom="8px">
|
||||
<control type="button" class="input" binding="run">Run</control>
|
||||
<control type="button" class="input" binding="reset">Reset</control>
|
||||
|
|
|
|||
|
|
@ -6,14 +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" 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"/>
|
||||
<cpu id="cpu8088" model="8088" autostart="true" pos="left" padleft="8px" padbottom="8px">
|
||||
<control type="button" class="input" binding="run">Run</control>
|
||||
<control type="button" class="input" binding="reset">Reset</control>
|
||||
|
|
|
|||
|
|
@ -5,13 +5,9 @@
|
|||
<computer id="infocom-cga-64k" name="IBM PC" resume="1"/>
|
||||
<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.rom"/>
|
||||
<rom id="romBIOS" addr="0xfe000" size="0x2000" file="/devices/pc/bios/5150/1981-04-24.rom"/>
|
||||
<video id="videoCGA" screenwidth="960" screenheight="400" scale="true" charset="/devices/pc/video/ibm-mda-cga.rom" padding="8px">
|
||||
<menu>
|
||||
<title>Color Display</title>
|
||||
</menu>
|
||||
</video>
|
||||
<rom id="romBASIC" addr="0xf6000" size="0x8000" file="/devices/pc/basic/private/ibm-basic-1.00.rom"/>
|
||||
<rom id="romBIOS" addr="0xfe000" size="0x2000" file="/devices/pc/bios/5150/private/1981-04-24.rom"/>
|
||||
<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>
|
||||
|
|
|
|||
|
|
@ -1,16 +1,12 @@
|
|||
<?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">IBM PC Model 5150 (CGA, 64K)</name>
|
||||
<computer id="infocom-cga-64k" name="IBM PC" resume="1"/>
|
||||
<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"/>
|
||||
<cpu id="cpu8088" model="8088" autostart="true" pos="left" padleft="8px" padbottom="8px">
|
||||
<control type="button" class="input" binding="run">Run</control>
|
||||
<control type="button" class="input" binding="reset">Reset</control>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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" padding="8px">
|
||||
<menu>
|
||||
<title>Monochrome Display</title>
|
||||
</menu>
|
||||
</video>
|
||||
<video ref="/devices/pc/video/video-mda.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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue