Collapsed /configs into /devices (or in some cases, /apps or /disks), simplifying the structure a bit

This commit is contained in:
Jeff Parsons 2014-11-03 00:11:40 -08:00 committed by jeffpar
commit 0e8e11d2d8
159 changed files with 1498 additions and 1472 deletions

4
disks/c1p/README.md Normal file
View file

@ -0,0 +1,4 @@
Challenger 1P Disk Sets
---
An assortment of Challenger 1P Disk Sets, for use by [C1P Machine Configurations](/devices/c1p/machine/).

7
disks/c1p/samples.xml Normal file
View file

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<disk id="disk" pos="left" padleft="8px">
<control type="list" class="input" binding="listDisk">
<item ref="/disks/c1p/OS65D33.json">OS65D33</item>
</control>
<control type="button" class="input" binding="loadDisk">Load Disk</control>
</disk>

View file

@ -10,3 +10,64 @@ Below are selected Disk Sets featuring "Ready-to-Boot" machine configurations:
You can browse the rest of our disk archives by type. There is no search capability at this time.
Learn more about PCjs disk image formats [here](/disks/).
Disk Sets
---
Disks can be organized into *Disk Sets* (manifests) which can then be loaded by the FDC component of
[IBM PC Machine Configurations](/devices/pc/machine/).
### Example
An FDC (Floppy Disk Controller) XML file, such as [samples.xml](samples.xml), typically contains &lt;disk&gt; entries like:
<disk path="/disks/pc/dos/ibm/1.00/PCDOS100.json">PC-DOS 1.0</disk>
<disk path="/disks/pc/dos/ibm/1.10/PCDOS110.json">PC-DOS 1.1</disk>
<disk path="/disks/pc/dos/ibm/2.00/PCDOS200-DISK1.json">PC-DOS 2.0 (Disk 1)</disk>
<disk path="/disks/pc/dos/ibm/2.00/PCDOS200-DISK2.json">PC-DOS 2.0 (Disk 2)</disk>
<disk path="/disks/pc/games/microsoft/adventure/adventure-1981.json">Microsoft Adventure</disk>
<disk path="/apps/pc/1981/visicalc/disk.json" href="http://www.bricklin.com/history/vclicense.htm" desc="VisiCalc License">VisiCalc</disk>
However, if you wanted to load VisiCalc directly from the /apps folder, rather than using a pre-generated disk image,
you could do that with an &lt;manifest&gt; entry that references the application's manifest.xml:
<manifest ref="/apps/pc/1981/visicalc/manifest.xml" disk="disk"/>
The application must have a **manifest.xml** with &lt;disk&gt; section containing an *id* value that matches the *disk* value
specified above:
<disk id="disk" dir="/apps/pc/1981/visicalc/bin/">
<file>VC.COM</file>
<file dir="../">README.md</file>
<link href="http://www.bricklin.com/history/vclicense.htm">VisiCalc License</link>
</disk>
If multiple disks are defined in the manifest, and you want to include them all, you can set the *disk* value to '*', as in:
<manifest ref="/apps/pc/1981/visicalc/manifest.xml" disk="*"/>
As an added bonus, PCjs will automatically display the descriptive &lt;link&gt; whenever this item is selected, and it will
dynamically generate a disk image containing all the specified &lt;file&gt; entries when the selected item is loaded.
Pre-generated images are still preferred, and you can now include those in the application **manifest.xml** as well, by adding
an *href* value to the &lt;disk&gt; section that was used to create the image:
<disk id="disk" dir="/apps/pc/1981/visicalc/bin/" href="/apps/pc/1981/visicalc/disk.json">
<file>VC.COM</file>
<file dir="../">README.md</file>
<link href="http://www.bricklin.com/history/vclicense.htm">VisiCalc License</link>
</disk>
The PCjs DiskDump module is used to create all our pre-generated JSON-encoded disk images. In the above example, a
pre-generated disk image could be created from the command-line with either the "--dir" option (which will traverse all
subdirectories as well):
node diskdump --dir=./apps/pc/1981/visicalc/bin/ --format=json --output=./apps/pc/1981/visicalc/disk.json
or with the "--path" option, which specifies either a single file or a set files separated by semi-colons:
node diskdump "--path=./apps/pc/1981/visicalc/bin/vc.com;../readme.md" --format=json --output=./apps/pc/1981/visicalc/disk.json
or via the PCjs server's DiskDump API:
http://www.pcjs.org/api/v1/dump?path=/apps/pc/1981/visicalc/bin/vc.com&format=json

View file

@ -13,7 +13,7 @@
<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.xml"/>
<keyboard ref="/devices/pc/keyboard/minimal.xml"/>
<fdc id="fdcNEC" automount='{A: {name: "CP/M-86 (Disk 1)", path: "/disks/pc/cpm/cpm86-disk1.json"}, B: {name: "CP/M-86 (Disk 2)", path: "/disks/pc/cpm/cpm86-disk2.json"}}' pos="right">
<control type="list" class="input" binding="listDrives"/>
<control type="list" class="input" binding="listDisks">

View file

@ -13,7 +13,7 @@
<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.xml"/>
<keyboard ref="/devices/pc/keyboard/minimal.xml"/>
<fdc id="fdcNEC" automount='{A: {name: "IBM Advanced Diagnostics", path: "/disks/pc/diags/ibm/2.20/5150_5155_5160_ADVDIAG_220.json"}}' pos="right">
<control type="list" class="input" binding="listDrives"/>
<control type="list" class="input" binding="listDisks">

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/versions/pcjs/1.15.8/manifest.xsl"?>
<manifest type="software">
<title>COMPAQ</title>
<disk id="disk01" size="368640" chs="40:2:9" img="private/COMPAQ-DESKPRO386-SUPP-1986-08-08.img" href="/disks/pc/dos/compaq/supp/COMPAQ-DESKPRO386-SUPP-1986-08-08.json" md5="2bd655ae5568ac27807aeb7bf1ea046d" md5json="6b43800deab66bde7a860fe9b5cd4e9f">
<name>COMPAQ DESKPRO 386 (1986)</name>
</disk>
</manifest>

View file

@ -10,7 +10,7 @@ is available at [Wikipedia](http://en.wikipedia.org/wiki/Multi-tasking_MS-DOS_4.
Note: The designation "4.0M" is not an official version number; it's an internal version number used only to
differentiate these disk images from those of the official MS-DOS 4.00, released in June, 1988.
The [IBM Model 5160](/configs/pc/machines/) machine configuration below boots MS-DOS 4.0M. To access the MS-DOS
The [IBM Model 5160](/devices/pc/machine/) machine configuration below boots MS-DOS 4.0M. To access the MS-DOS
"Session Manager" after it's booted, tap the **Alt** key.
[IBM Model 5160](/configs/pc/machines/5160/cga/640kb/dos400m/ "PCjs:ibm5160:::debugger")
[IBM Model 5160](/devices/pc/machine/5160/cga/640kb/dos400m/ "PCjs:ibm5160:::debugger")

View file

@ -7,7 +7,7 @@
<category>Operating System</category>
<author>Microsoft</author>
<releaseDate/>
<machine href="/configs/pc/machines/5160/cga/640kb/dos400m/machine.xml"/>
<machine href="/devices/pc/machine/5160/cga/640kb/dos400m/machine.xml"/>
<disk id="disk01" size="368640" chs="40:2:9" img="private/MSDOS400M-DISK1.img" href="/disks/pc/dos/microsoft/4.0M/MSDOS400M-DISK1.json" md5="6349c61a7c74b0872a918d130c8080a4" md5json="e9db9a543fc26b5fc6c7c03586eb05b2">
<name>MS-DOS 4.0M (Disk 1)</name>
</disk>

View file

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<hdc id="hdcXT" drives='[{name:"10Mb Hard Disk",path:"/disks/pc/fixed/win101/10mb-ega.json",type:3}]'/>

View file

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<hdc id="hdcXT" drives='[{name:"10Mb Hard Disk",path:"/disks/pc/fixed/win101/10mb.json",type:3}]'/>

View file

@ -2,7 +2,7 @@
---
This folder contains a 10Mb hard disk image ([10mb.json](10mb.json)) with a Windows 1.01 installation.
This disk image is used by various [Model 5160 CGA](/configs/pc/machines/5160/cga/) machine configurations.
This disk image is used by various [Model 5160 CGA](/devices/pc/machine/5160/cga/) machine configurations.
To use it with a machine configuration, include:
@ -10,6 +10,6 @@ To use it with a machine configuration, include:
in your machine.xml file. Alternatively, you can include it by reference:
<hdc ref="/configs/pc/disks/fixed/win101.xml"/>
<hdc ref="/disks/pc/fixed/win101.xml"/>
Of course, if your machine configuration file is on a different server, the *ref* path will likely be different.

View file

@ -16,7 +16,7 @@
<control type="button" class="input" binding="ctrl-alt-del">CTRL-ALT-DEL</control>
</keyboard>
<debugger id="debugger"/>
<panel ref="/configs/pc/panels/default.xml"/>
<panel ref="/devices/pc/panel/default.xml"/>
<fdc ref="/disks/pc/games/infocom/disks.xml"/>
<chipset id="chipset" model="5150" sw1="01001001" sw2="11110000"/>
</machine>

View file

@ -13,7 +13,7 @@
<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.xml"/>
<keyboard ref="/devices/pc/keyboard/minimal.xml"/>
<fdc ref="/disks/pc/games/infocom/disks.xml"/>
<chipset id="chipset" model="5150" sw1="01001001" sw2="11110000"/>
</machine>

View file

@ -16,7 +16,7 @@
<control type="button" class="input" binding="ctrl-alt-del">CTRL-ALT-DEL</control>
</keyboard>
<debugger id="debugger"/>
<panel ref="/configs/pc/panels/default.xml"/>
<panel ref="/devices/pc/panel/default.xml"/>
<fdc id="fdcNEC" automount='{A: {name: "Zork I", path: "/disks/pc/games/infocom/zork1/zork1-readonly.json"}}' pos="left" padleft="8px">
<control type="list" class="input" binding="listDrives"></control>
<control type="list" class="input" binding="listDisks">

View file

@ -13,7 +13,7 @@
<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.xml"/>
<fdc ref="/configs/pc/disks/samples.xml" automount='{A: {name: "Microsoft Adventure", path: "/disks/pc/games/microsoft/adventure/adventure-1981.json"}}' pos="right"/>
<keyboard ref="/devices/pc/keyboard/minimal.xml"/>
<fdc ref="/disks/pc/samples.xml" automount='{A: {name: "Microsoft Adventure", path: "/disks/pc/games/microsoft/adventure/adventure-1981.json"}}' pos="right"/>
<chipset id="chipset" model="5150" sw1="01000001" sw2="11110000"/>
</machine>

46
disks/pc/library.xml Normal file
View file

@ -0,0 +1,46 @@
<?xml version="1.0" encoding="UTF-8"?>
<fdc id="fdcNEC" width="400px" pos="left" padleft="8px" padbottom="8px" automount='{A:{name:"PC-DOS 2.00 (Disk 1)",path:"/disks/pc/dos/ibm/2.00/PCDOS200-DISK1.json"}, B:{name:"PC-DOS 2.00 (Disk 2)",path:"/disks/pc/dos/ibm/2.00/PCDOS200-DISK2.json"}}'>
<control type="list" class="input" binding="listDrives"/>
<control type="list" class="input" binding="listDisks">
<disk path="">None</disk>
<manifest ref="/disks/pc/dos/ibm/1.00/manifest.xml" disk="*"/>
<manifest ref="/disks/pc/dos/ibm/1.10/manifest.xml" disk="*"/>
<manifest ref="/disks/pc/dos/ibm/2.00/manifest.xml" disk="*"/>
<manifest ref="/disks/pc/dos/ibm/2.10/manifest.xml" disk="*"/>
<manifest ref="/disks/pc/dos/ibm/3.00/manifest.xml" disk="*"/>
<manifest ref="/disks/pc/dos/ibm/3.10/manifest.xml" disk="*"/>
<manifest ref="/disks/pc/dos/ibm/3.20/manifest.xml" disk="*"/>
<manifest ref="/disks/pc/dos/ibm/3.30/manifest.xml" disk="*"/>
<manifest ref="/disks/pc/dos/ibm/7.00/manifest.xml" disk="*"/>
<manifest ref="/disks/pc/dos/microsoft/3.20/manifest.xml" disk="*"/>
<manifest ref="/disks/pc/dos/microsoft/4.0M/manifest.xml" disk="*"/>
<manifest ref="/disks/pc/dos/compaq/supp/manifest.xml" disk="*"/>
<manifest ref="/disks/pc/os2/1.0/manifest.xml" disk="*"/>
<manifest ref="/disks/pc/os2/1.1/manifest.xml" disk="*"/>
<manifest ref="/disks/pc/os2/1.3/manifest.xml" disk="*"/>
<manifest ref="/disks/pc/win/win101/manifest.xml" disk="*"/>
<manifest ref="/disks/pc/win/win103/manifest.xml" disk="*"/>
<manifest ref="/disks/pc/win/win103a/manifest.xml" disk="*"/>
<manifest ref="/disks/pc/win/win104/manifest.xml" disk="*"/>
<manifest ref="/disks/pc/win/win203/manifest.xml" disk="*"/>
<manifest ref="/disks/pc/apps/lotus/123/1.0a/manifest.xml" disk="*"/>
<manifest ref="/disks/pc/apps/microsoft/word/3.0/manifest.xml" disk="*"/>
<manifest ref="/disks/pc/apps/microsoft/word/3.1/manifest.xml" disk="*"/>
<manifest ref="/disks/pc/apps/microsoft/word/5.0/manifest.xml" disk="*"/>
<manifest ref="/disks/pc/games/microsoft/flightsim/manifest.xml" disk="*"/>
<manifest ref="/disks/pc/tools/microsoft/basic/manifest.xml" disk="*"/>
<manifest ref="/disks/pc/tools/microsoft/c/4.00/manifest.xml" disk="*"/>
<manifest ref="/disks/pc/tools/microsoft/masm/4.00/manifest.xml" disk="*"/>
<manifest ref="/disks/pc/tools/microsoft/mouse/5.00/manifest.xml" disk="*"/>
<manifest ref="/disks/pc/tools/microsoft/winsdk/1.01/manifest.xml" disk="*"/>
<manifest ref="/disks/pc/tools/microsoft/winsdk/1.04/manifest.xml" disk="*"/>
<manifest ref="/disks/pc/tools/microsoft/winsdk/2.03/manifest.xml" disk="*"/>
<manifest ref="/apps/pc/1981/visicalc/manifest.xml" disk="disk01"/>
<manifest ref="/apps/pc/1982/esuite/manifest.xml" disk="disk01"/>
<manifest ref="/apps/pc/1985/rogue/manifest.xml" disk="disk01"/>
<manifest ref="/apps/pc/1987/thinktank/manifest.xml" disk="disk01"/>
<manifest ref="/apps/pc/1992/moria/manifest.xml" disk="disk01"/>
</control>
<control type="button" class="input" binding="loadDrive">Load</control>
<control type="description" class="output" binding="descDisk" padleft="8px"/>
</fdc>

14
disks/pc/samples.xml Normal file
View file

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<fdc id="fdcNEC" width="360px" pos="left" padleft="8px" padbottom="8px" automount='{A:{name:"PC-DOS 2.00 (Disk 1)",path:"/disks/pc/dos/ibm/2.00/PCDOS200-DISK1.json"}, B:{name:"PC-DOS 2.00 (Disk 2)",path:"/disks/pc/dos/ibm/2.00/PCDOS200-DISK2.json"}}'>
<control type="list" class="input" binding="listDrives"/>
<control type="list" class="input" binding="listDisks">
<disk path="">None</disk>
<manifest ref="/disks/pc/dos/ibm/1.00/manifest.xml" disk="*"/>
<manifest ref="/disks/pc/dos/ibm/1.10/manifest.xml" disk="*"/>
<manifest ref="/disks/pc/dos/ibm/2.00/manifest.xml" disk="*"/>
<manifest ref="/disks/pc/games/microsoft/adventure/manifest.xml" disk="*"/>
<manifest ref="/apps/pc/1981/visicalc/manifest.xml" disk="*"/>
</control>
<control type="button" class="input" binding="loadDrive">Load</control>
<control type="description" class="output" binding="descDisk" padleft="8px"/>
</fdc>

21
disks/pc/win/win10x.xml Normal file
View file

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<fdc id="fdcNEC" width="320px" pos="left" padtop="8px" automount='{A:{name:"PC-DOS 2.00 (Disk 1)",path:"/disks/pc/dos/ibm/2.00/PCDOS200-DISK1.json"}, B:{name:"PC-DOS 2.00 (Disk 2)",path:"/disks/pc/dos/ibm/2.00/PCDOS200-DISK2.json"}}'>
<control type="list" class="input" binding="listDrives"/>
<control type="list" class="input" binding="listDisks">
<disk path="">None</disk>
<manifest ref="/disks/pc/dos/ibm/2.00/manifest.xml" disk="*"/>
<disk path="/disks/pc/win/win101/01-SETUP/">Windows 1.01 (SETUP)</disk>
<disk path="/disks/pc/win/win101/02-BUILD/">Windows 1.01 (BUILD)</disk>
<disk path="/disks/pc/win/win101/03-UTILITY/">Windows 1.01 (UTILITY)</disk>
<disk path="/disks/pc/win/win101/04-APPS/">Windows 1.01 (APPS)</disk>
<disk path="/disks/pc/win/win101/05-WRITE/">Windows 1.01 (WRITE)</disk>
<disk path="/disks/pc/win/win103/01-SETUP/">Windows 1.03 (SETUP)</disk>
<disk path="/disks/pc/win/win103/02-BUILD/">Windows 1.03 (BUILD)</disk>
<disk path="/disks/pc/win/win103/03-UTILITY/">Windows 1.03 (UTILITY)</disk>
<disk path="/disks/pc/win/win103/04-FONT/">Windows 1.03 (FONT)</disk>
<disk path="/disks/pc/win/win103/05-APPS/">Windows 1.03 (APPS)</disk>
<disk path="/disks/pc/win/win103/06-WRITE/">Windows 1.03 (WRITE)</disk>
</control>
<control type="button" class="input" binding="loadDrive">Load Drive</control>
<control type="description" class="output" binding="descDisk" padleft="8px"/>
</fdc>