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)
27 lines
1.6 KiB
XML
27 lines
1.6 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" pos="center" style="background-color:#FAEBD7">
|
|
<name>IBM PC XT, 128K EGA, 640K RAM, 10Mb Hard Drive</name>
|
|
<computer id="xt-ega-640k" name="IBM PC XT"/>
|
|
<cpu id="cpu8088" model="8088"/>
|
|
<ram id="ramLow" addr="0x00000" test="false" size="0xa0000" comment="0xa0000 (640Kb) size overrides SW1|ROM BIOS memory test has been disabled"/>
|
|
<rom id="romEGA" addr="0xc0000" size="0x4000" file="/devices/pc/video/ibm-ega.json" notify="videoEGA"/>
|
|
<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="videoEGA" model="ega" memory="0x20000" screenwidth="640" screenheight="350" pos="center" padding="8px">
|
|
<name>Enhanced Color Display</name>
|
|
</video>
|
|
<keyboard ref="/configs/pc/keyboards/minimal-functions.xml"/>
|
|
<debugger id="debugger"/>
|
|
<panel ref="/configs/pc/panels/wide.xml"/>
|
|
<fdc ref="/configs/pc/disks/library.xml"/>
|
|
<chipset id="chipset" model="5160" sw1="01001101" pos="left" padleft="8px" padbottom="8px">
|
|
<control type="switches" class="input" label="SW1" binding="sw1" left="0px"/>
|
|
<control type="description" class="output" binding="swdesc" left="0px"/>
|
|
</chipset>
|
|
<hdc ref="/configs/pc/disks/fixed/win101-ega.xml"/>
|
|
<serial id="com1" adapter="1" binding="print"/>
|
|
<serial id="com2" adapter="2"/>
|
|
<mouse serial="com2"/>
|
|
</machine>
|