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)
22 lines
1.4 KiB
XML
22 lines
1.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.15.4/machine.xsl"?>
|
|
<machine id="ibm5150" class="pc" border="1" width="980px" pos="center" style="background-color:#FAEBD7">
|
|
<name pos="center">IBM PC (Model 5150), CGA, 64K</name>
|
|
<computer id="pc-cga-64k" name="IBM PC" state="/configs/pc/machines/5150/cga/64kb/donkey/state.json"/>
|
|
<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="videoCGA" screenwidth="960" screenheight="400" scale="true" charset="/devices/pc/video/ibm-mda-cga.json" width="960px" padding="8px">
|
|
<name>Color Display</name>
|
|
</video>
|
|
<cpu id="cpu8088" model="8088" autostart="true"/>
|
|
<keyboard ref="/configs/pc/keyboards/minimal.xml"/>
|
|
<debugger id="debugger"/>
|
|
<panel ref="/configs/pc/panels/wide.xml"/>
|
|
<fdc ref="/configs/pc/disks/samples.xml" width="280px"/>
|
|
<chipset id="chipset" model="5150" sw1="01001001" sw2="11110000" pos="left" padleft="8px" padbottom="8px">
|
|
<control type="switches" class="input" label="SW1" binding="sw1" left="0px"/>
|
|
<control type="switches" class="input" label="SW2" binding="sw2" left="0px"/>
|
|
<control type="description" class="output" binding="swdesc" left="0px"/>
|
|
</chipset>
|
|
</machine>
|