--- layout: page title: Software Archives menu_title: Software menu_order: 7 permalink: /apps/ --- Software Archives ----------------- PCjs has archived selected software for the following machines: * [IBM PC](pcx86/) * [Challenger 1P](c1p/) * [PDP-10](pdp10/) and [PDP-11](pdp11/) PCjs also includes a small collection of disk images in the [Disk Libraries](/disks/): * [IBM PC](/disks/pcx86/) * [Challenger 1P](/disks/c1p/) * [DEC](/disks/dec/) --- ### Software Application Manifests In the PCjs Project, every complete software package is stored in its own folder, either as a set of individual files (under [/apps](/apps/)) or as a set of disk images (under [/disks](/disks/)), along with a **manifest.xml** file that describes the software. The manifest format is still being developed, but at a minimum, it should contain the following information about the software: - Title - Version - Type (eg, Application, Game, OS, Diagnostic, Utility, etc) - Category (eg, Productivity, Text Adventure, BASIC Compiler, etc) - Company (eg, IBM, Microsoft, etc) - Creation Date (of first version) - Release Date (of this version, if different from creation date) - Creator(s) (of first version) - Author(s) (of this version, if different from creator(s)) - Contributors(s) (names of additional contributor(s) to this version) - Publisher (name of publisher, if different from company) - License (with link to current software license, if any) - Machine (reference to PCjs machine.xml file capable of loading/running the software) - Disk(s) (one or more entries describing sets of files and/or disk images) The distinctions made by Type and Category are a bit arbitrary and likely to change. For now, Type is merely a reflection of how we initially filed the original [disks](/disks/pcx86/), while Category provides more detail. ### Example: VisiCalc VisiCalc is stored in an [/apps folder](/apps/pcx86/1981/visicalc/), and two relevant files are described by <file> entries in its [manifest](/apps/pcx86/1981/visicalc/manifest.xml): ```xml VisiCalc VC-176Y2-IBM-TEST Application Productivity Software Arts December 16, 1981 VC.COM README.md VisiCalc License ``` Since this [manifest](/apps/pcx86/1981/visicalc/manifest.xml) also contains a <machine> entry, the default manifest stylesheet will automatically load and launch the associated [PCjs machine](/devices/pcx86/machine/5150/mda/64kb/machine.xml). The machine will boot or resume according to its own <[computer](/docs/pcx86/computer/)> settings, unless the manifest overrides the machine's default state with its own *state* setting; eg: ```xml ``` The machine.xml file, in turn, refers to a [sample set](/disks/pcx86/samples.xml) of disk images, one of which is: ```xml ``` which refers to the <disk> entry in the VisiCalc manifest -- which brings us full circle. Since that <disk> entry is just a reference to a folder, PCjs must first convert it to a disk image, using the following API request: http://localhost:8088/api/v1/dump?path=/apps/pcx86/1981/visicalc/bin/VC.COM;../README.md&format=json The PCjs DiskDump module processes the dump request and generates a JSON-encoded DOS 2.x-compatible disk image containing all the specified files. However, to avoid the PCjs web server re-generating the same disk image for every user-initiated disk load, we have saved that JSON-encoded image as static file on the server, and then added an *href* attribute to the manifest's <disk> entry: ```xml ... ``` PCjs always prefers a resource specified by *href*. While the <file> entries are now superfluous, they still serve to document the contents of the disk image, and are still necessary if the disk image ever needs to be re-generated. ### Example: CP/M-86 CPM-86 is stored as two disk images in a [/disks folder](/disks/pcx86/cpm/1.1b/). The disk images are described in that folder's [manifest](/disks/pcx86/cpm/1.1b/manifest.xml): ```xml CP/M-86 1.1B OS Operating System Digital Research Eagle Computer May 20, 1983 CP/M-86 (Disk 1) CP/M-86 (Disk 2) ``` In this case, the software was "born" as disk images (non-DOS disk images at that), so we don't bother listing the contents of those images with <file> entries inside the <disk> entries. We do, however, include optional <name> entries that help describe (or at least differentiate) the disk images. If a machine file wanted to use only the first disk, then it would specify: ```xml ``` and if it wanted to use all the disks listed in the manifest, it would specify: ```xml ``` which is what our [CP/M Machine Configuration](/disks/pcx86/cpm/1.1b/machine.xml) does.