Starting work on disambiguating PCjs the emulator from PCjs the project/website; the emulator will become PCx86

This commit is contained in:
Jeff Parsons 2016-05-16 20:53:57 -07:00
commit 288f28055d
1519 changed files with 16242 additions and 6939 deletions

View file

@ -6,22 +6,22 @@ permalink: /disks/
Disk Libraries
---
Browse [IBM PC](pc/) and [Challenger 1P](c1p/) disk libraries.
Browse [IBM PC](pcx86/) and [Challenger 1P](c1p/) disk libraries.
---
### PCjs Disk Image Formats
### PCx86 Disk Image Formats
PCjs works best with disk images in a **JSON** format, to save conversion time, so that's the only disk image format
PCx86 works best with disk images in a **JSON** format, to save conversion time, so that's the only disk image format
you'll find in the PCjs Project.
To convert any of our **JSON** disk images back into an **IMG** file, you can use the [DiskDump API](/api/v1/dump)
with the *format* parameter set to `img` instead of `json`. For example:
{{ site.url }}/api/v1/dump?disk=/disks/pc/dos/ibm/2.00/PCDOS200-DISK1.json&format=img
{{ site.url }}/api/v1/dump?disk=/disks/pcx86/dos/ibm/2.00/PCDOS200-DISK1.json&format=img
As an added bonus, when browsing the disk library with the PCjs Node web server, links to JSON-encoded disk images
automatically include "onclick" handlers that invoke the API for you.
See **Creating PCjs-Compatible Disk Images** in the [PCjs Documentation](/docs/pcjs/#creating-pcjs-compatible-disk-images)
See **Creating PCx86-Compatible Disk Images** in the [PCx86 Documentation](/docs/pcx86/#creating-pcx86-compatible-disk-images)
for more information about supported disks and formats.