Updated the manifest for the PC-DOS 1.00 disk (and shrank the JSON-encoded image a bit)

This commit is contained in:
Jeff Parsons 2017-06-21 19:20:54 -07:00 committed by Jeff Parsons
commit 80d2c3a334
3 changed files with 50 additions and 3 deletions

File diff suppressed because one or more lines are too long

View file

@ -7,5 +7,46 @@
<category>Operating System</category>
<author>IBM/Microsoft</author>
<releaseDate/>
<disk id="disk01" size="163840" chs="40:1:8" img="archive/PCDOS100.img" href="/disks/pcx86/dos/ibm/1.00/PCDOS100.json" md5="54acc6990af083f6256894b5a9815756" md5json="d566df2da47b9d94379a89596df25da5"/>
<disk id="disk01" size="163840" chs="40:1:8" img="archive/PCDOS100.img" href="/disks/pcx86/dos/ibm/1.00/PCDOS100.json" md5="54acc6990af083f6256894b5a9815756" md5json="75e17ef46d45864bd538f49449bcd33d">
<file size="1920" time="1981-08-04 00:00:00" attr="0x20">ART.BAS</file>
<file size="2048" time="1981-08-04 00:00:00" attr="0x20">BALL.BAS</file>
<file size="10880" time="1981-08-04 00:00:00" attr="0x20">BASIC.COM</file>
<file size="16256" time="1981-08-04 00:00:00" attr="0x20">BASICA.COM</file>
<file size="1152" time="1981-08-04 00:00:00" attr="0x20">BLUE.BAS</file>
<file size="640" time="1981-08-04 00:00:00" attr="0x20">BUG.BAS</file>
<file size="3840" time="1981-08-04 00:00:00" attr="0x20">CALENDAR.BAS</file>
<file size="1395" time="1981-08-04 00:00:00" attr="0x20">CHKDSK.COM</file>
<file size="1664" time="1981-08-04 00:00:00" attr="0x20">CIRCLE.BAS</file>
<file size="1536" time="1981-08-04 00:00:00" attr="0x20">COLORBAR.BAS</file>
<file size="4352" time="1981-08-04 00:00:00" attr="0x20">COMM.BAS</file>
<file size="3231" time="1981-08-04 00:00:00" attr="0x20">COMMAND.COM</file>
<file size="1620" time="1981-08-04 00:00:00" attr="0x20">COMP.COM</file>
<file size="640" time="1981-08-04 00:00:00" attr="0x20">DANDY.BAS</file>
<file size="252" time="1981-08-04 00:00:00" attr="0x20">DATE.COM</file>
<file size="6049" time="1981-08-04 00:00:00" attr="0x20">DEBUG.COM</file>
<file size="1124" time="1981-08-04 00:00:00" attr="0x20">DISKCOMP.COM</file>
<file size="1216" time="1981-08-04 00:00:00" attr="0x20">DISKCOPY.COM</file>
<file size="3584" time="1981-08-04 00:00:00" attr="0x20">DONKEY.BAS</file>
<file size="2392" time="1981-08-04 00:00:00" attr="0x20">EDLIN.COM</file>
<file size="2560" time="1981-08-04 00:00:00" attr="0x20">FORMAT.COM</file>
<file size="768" time="1981-08-04 00:00:00" attr="0x20">FORTY.BAS</file>
<file size="768" time="1981-08-04 00:00:00" attr="0x20">HAT.BAS</file>
<file size="640" time="1981-08-04 00:00:00" attr="0x20">HUMOR.BAS</file>
<file size="1920" time="1981-07-23 00:00:00" attr="0x20">IBMBIO.COM</file>
<file size="6400" time="1981-08-13 00:00:00" attr="0x20">IBMDOS.COM</file>
<file size="43264" time="1981-08-04 00:00:00" attr="0x20">LINK.EXE</file>
<file size="768" time="1981-08-04 00:00:00" attr="0x20">MARCH.BAS</file>
<file size="860" time="1981-08-04 00:00:00" attr="0x20">MODE.COM</file>
<file size="6272" time="1981-08-04 00:00:00" attr="0x20">MORTGAGE.BAS</file>
<file size="4224" time="1981-08-04 00:00:00" attr="0x20">MUSIC.BAS</file>
<file size="2304" time="1981-08-04 00:00:00" attr="0x20">PIECHART.BAS</file>
<file size="768" time="1981-08-04 00:00:00" attr="0x20">POP.BAS</file>
<file size="512" time="1981-08-04 00:00:00" attr="0x20">SAKURA.BAS</file>
<file size="2432" time="1981-08-04 00:00:00" attr="0x20">SAMPLES.BAS</file>
<file size="640" time="1981-08-04 00:00:00" attr="0x20">SCALES.BAS</file>
<file size="1920" time="1981-08-04 00:00:00" attr="0x20">SPACE.BAS</file>
<file size="768" time="1981-08-04 00:00:00" attr="0x20">STARS.BAS</file>
<file size="896" time="1981-08-04 00:00:00" attr="0x20">SYS.COM</file>
<file size="250" time="1981-08-04 00:00:00" attr="0x20">TIME.COM</file>
</disk>
</manifest>

View file

@ -2792,6 +2792,7 @@ DiskDump.prototype.convertToJSON = function()
for (i = DiskAPI.BPB.SECTOR_BYTES; i < DiskAPI.BPB.LARGE_SECS+4; i++) {
this.bufDisk.writeUInt8(DiskDump.aDefaultBPBs[iBPB][i] || 0, offBootSector + i);
}
console.log("warning: BPB has been updated");
}
else if (bByte0 == 0xF6 && bByte1 == 0xF6) {
/*
@ -2808,12 +2809,16 @@ DiskDump.prototype.convertToJSON = function()
}
}
if (fBPBExists) {
if (fBPBExists && this.bufDisk.readUInt16LE(offBootSector + DiskAPI.BOOT.SIG_OFFSET) == DiskAPI.BOOT.SIGNATURE) {
/*
* Overwrite the OEM string with our own, so that people know how the image originated. We do this
* only for disks with pre-existing BPBs; it's not safe for pre-2.0 disks (and non-DOS disks, obviously).
*
* The signature check is another pre-2.0 disk check, to avoid misinterpreting any BPB that we might have
* previously added ourselves as an original BPB.
*/
this.bufDisk.write(DiskDump.PCJS_OEM, DiskAPI.BOOT.OEM_STRING + offBootSector, DiskDump.PCJS_OEM.length);
console.log("warning: OEM string has been updated");
}
if (!nHeads) {
/*
@ -3368,6 +3373,7 @@ DiskDump.prototype.convertToIMG = function()
* Overwrite the OEM string with our own, so that people know how the image originated.
*/
buf.write(DiskDump.PCJS_OEM, DiskAPI.BOOT.OEM_STRING, DiskDump.PCJS_OEM.length);
console.log("warning: OEM string has been updated");
}
}
} catch(err) {