Documentation updates
This commit is contained in:
parent
a05f9b58fd
commit
06094fcd48
20 changed files with 298 additions and 122 deletions
|
|
@ -1,25 +1,25 @@
|
|||
---
|
||||
layout: page
|
||||
title: Disk Archives
|
||||
title: Disk Libraries
|
||||
permalink: /disks/
|
||||
---
|
||||
|
||||
Disk Archives
|
||||
Disk Libraries
|
||||
---
|
||||
Browse [IBM PC](pc/) and [Challenger 1P](c1p/) disk archives.
|
||||
Browse [IBM PC](pc/) and [Challenger 1P](c1p/) disk libraries.
|
||||
|
||||
### PCjs 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 you'll find on the PCjs website.
|
||||
PCjs 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
|
||||
|
||||
In fact, when browsing the disk archives, the PCjs web server automatically provides "onclick" handlers
|
||||
for links to JSON-encoded disk images, which will invoke the API for you.
|
||||
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)
|
||||
for more information about supported disks and formats.
|
||||
|
|
|
|||
Loading…
Reference in a new issue