Added an empty 10Mb disk image formatted by PC-DOS 2.0 (currently used by one machine: 5160/cga/640kb); also fixed some issues uncovered in the process of creating the disk image (eg, a bug in the HDC's save logic when no image has been loaded), and made some fixes and optimizations in DiskDump

This commit is contained in:
Jeff Parsons 2017-06-01 15:32:17 -07:00 committed by Jeff Parsons
commit 3e1aa196bd
13 changed files with 1871 additions and 1832 deletions

View file

@ -13,7 +13,7 @@
<keyboard ref="/devices/pcx86/keyboard/us83-buttons-minimal.xml"/>
<debugger id="debugger"/>
<panel ref="/devices/pcx86/panel/wide.xml"/>
<hdc id="hdcXT" drives='[{name:"10Mb Hard Disk",type:3}]'>
<hdc id="hdcXT" drives='[{name:"10Mb Hard Disk",type:3,path:"/disks/pcx86/fixed/10mb/PCDOS200-EMPTY.json"}]'>
<control type="button" binding="saveHD0">Save HD</control>
</hdc>
<chipset id="chipset" model="5160" sw1="01001001" pos="left" padLeft="8px" padBottom="8px">

View file

@ -14,7 +14,7 @@
<control type="button" binding="reset">Reset</control>
</cpu>
<keyboard ref="/devices/pcx86/keyboard/us83-buttons-minimal.xml"/>
<hdc id="hdcXT" drives='[{name:"10Mb Hard Disk",type:3}]'>
<hdc id="hdcXT" drives='[{name:"10Mb Hard Disk",type:3,path:"/disks/pcx86/fixed/10mb/PCDOS200-EMPTY.json"}]'>
<control type="button" binding="saveHD0">Save HD</control>
</hdc>
<chipset id="chipset" model="5160" sw1="01001001"/>