meta data for this page
  •  

This is an old revision of the document!


Adding Support for a modified IBM Sectored Disk Format

The IBM sector configuration files are text files in JSON format. The root object of the JSON should be an array. A single file can have as may format descriptions as desired.

There is an example of a configuration file with 2 definitions in it at the end of this document.


Format Identification

name

String - Required
This is a descriptive name of the format. It is only used for informational purposes.

ex: “name”: “North Star”

settings

String - Required
This name is used by the Fast Imager to remember user preferences related to this format.

ex: “settings”: “525NorthStar_Hard10x256”

export

[String] - Required
An array of disk image format names that can be used to save images of this format. It uses the internal names of formats.

ex: “export”: [“northstar_nsi”]


Media and Geometry

media

String - Required
The physical type of media used.

ValueDescription
5.255.25“ Floppy Disk
3.53.5” Floppy Disk
88“ Floppy Disk

ex: “media”: “5.25”

encoding

String - Required
Encoding and bitrate used.

ValueDescription
fm_250FM encoding with 250kbps (4µs cell window)
fm_500FM encoding with 500kbps (2µs cell window)
mfm_250MFM encoding with 250kbps (4µs cell window)
mfm_500MFM encoding with 500kbps (2µs cell window)
m2fm_500M2FM encoding with 500kbps (2µs cell window)

ex: “encoding”: “fm_250”

bitOrder

String
Bytes stored on disk are most commonly stored in “most significant bit” order, although some platforms store bytes in “least significant bit” order. This value allows you to specify which order should be used. If no value is provided, then it defaults to msb.

ValueDescription
msbMost significant bit comes first
lsbLeast significant bit comes first

ex: “bitOrder”: “lsb”