Dual-display demo with side-by-side MDA and CGA screens
This commit is contained in:
parent
f3b254ebcd
commit
cd38446f68
7 changed files with 96 additions and 28 deletions
18
devices/pc/machine/5150/dual/64kb/machine.xml
Normal file
18
devices/pc/machine/5150/dual/64kb/machine.xml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.18.2/machine.xsl"?>
|
||||
<machine id="ibm5150" class="pc" border="1" pos="center" style="background-color:#FAEBD7">
|
||||
<name pos="center">IBM PC (Model 5150) with Dual Display</name>
|
||||
<computer id="pc-dual-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 ref="/devices/pc/video/ibm/mda/ibm-mda-dual.xml"/>
|
||||
<video ref="/devices/pc/video/ibm/cga/ibm-cga-dual.xml"/>
|
||||
<cpu id="cpu8088" model="8088" autostart="true" padleft="8px">
|
||||
<control type="button" binding="run">Run</control>
|
||||
<control type="button" binding="reset">Reset</control>
|
||||
</cpu>
|
||||
<keyboard ref="/devices/pc/keyboard/keyboard-minimal.xml"/>
|
||||
<fdc ref="/disks/pc/samples.xml" pos="right"/>
|
||||
<chipset id="chipset" model="5150" sw1="01000001" sw2="11110000"/>
|
||||
</machine>
|
||||
|
|
@ -13,6 +13,7 @@ Here you'll find sample Machine Configurations for all the IBM PC models that PC
|
|||
* [IBM PC, MDA, 64K, Debugger](/devices/pc/machine/5150/mda/64kb/debugger/)
|
||||
* [IBM PC, CGA, 64K, DONKEY.BAS](/devices/pc/machine/5150/cga/64kb/donkey/)
|
||||
* [IBM PC, CGA, 64K, DONKEY.BAS, Debugger](/devices/pc/machine/5150/cga/64kb/donkey/debugger/)
|
||||
* [IBM PC, Dual Display, 64K](/devices/pc/machine/5150/dual/64kb/)
|
||||
|
||||
### Model 5160 Machine Configurations
|
||||
|
||||
|
|
|
|||
6
devices/pc/video/ibm/cga/ibm-cga-dual.xml
Normal file
6
devices/pc/video/ibm/cga/ibm-cga-dual.xml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<video id="videoCGA" model="cga" screenwidth="960" screenheight="480" scale="true" charset="/devices/pc/video/ibm/cga/ibm-cga.json" pos="center" padding="8px">
|
||||
<menu>
|
||||
<title>Color Display</title>
|
||||
</menu>
|
||||
</video>
|
||||
11
devices/pc/video/ibm/mda/ibm-mda-dual.xml
Normal file
11
devices/pc/video/ibm/mda/ibm-mda-dual.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<video id="videoMDA" model="mda" screenwidth="720" screenheight="350" scale="true" charset="/devices/pc/video/ibm/mda/ibm-mda.json" pos="center" padding="8px">
|
||||
<menu>
|
||||
<title>Monochrome Display</title>
|
||||
<control type="container" pos="right">
|
||||
<control type="led" label="Caps" binding="caps-lock" padleft="8px"/>
|
||||
<control type="led" label="Num" binding="num-lock" padleft="8px"/>
|
||||
<control type="led" label="Scroll" binding="scroll-lock" padleft="8px"/>
|
||||
</control>
|
||||
</menu>
|
||||
</video>
|
||||
Loading…
Reference in a new issue