Some other interesting bugs were fixed along the way: the Video component incorrectly assumed that masking a negative number with 0x80000000 would yield 0x80000000 (it actually yields -0x80000000, thank you JavaScript); the ChipSet component provides a new addCMOSMemory() interface that RAM objects can use to bump the CMOS total to match the actual total; the CPU properly implements INSW and OUTSW instructions now (kind of important for the AT hard disk controller)
21 lines
No EOL
1.3 KiB
XML
21 lines
No EOL
1.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.15.4/machine.xsl"?>
|
|
<machine id="ibm5160" class="pc" border="1" width="980px" pos="center" style="background-color:#FAEBD7">
|
|
<name pos="center">IBM PC XT (Model 5160), CGA, 256Kb, 10Mb Drive</name>
|
|
<computer id="xt-cga-256k" name="IBM PC XT" resume="1"/>
|
|
<ram id="ramLow" addr="0x00000"/>
|
|
<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">
|
|
<name>Color Display</name>
|
|
</video>
|
|
<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>
|
|
</cpu>
|
|
<keyboard ref="/configs/pc/keyboards/minimal-f1-f10.xml"/>
|
|
<fdc ref="/configs/pc/disks/samples.xml" pos="right"/>
|
|
<hdc id="hdcXT" drives='[{name:"10Mb Hard Disk",type:3}]'/>
|
|
<chipset id="chipset" model="5160" sw1="01001001"/>
|
|
</machine> |