DataTypes
The Amiga DataTypes system was introduced with version 3.0 of the AmigaOS . It is used to make various file formats such as images, texts, music and videos available to application programs for reading, displaying and later also for writing using a standardized, object-oriented programming interface ( BOOPSI ) . To display data types supported file formats, Commodore delivered the program MultiView from AmigaOS 3.0.
The central component is the datatypes.library program library , which implements the recognition and opening of a file regardless of its file format. A so-called DataTypes descriptor and a corresponding implementation as a program library (* .datatype) are required for each file format.
DataTypes descriptor
A DataTypes descriptor describes how the DataTypes system assigns a file to a specific file format. A name sample is usually given for this. For example, #?.jpg
for JPEG image files. In addition, up to 64 bytes can be stored in a descriptor , which is used as a template for the file to be examined. For example, if a file begins with the ASCII bytes FORM
, it can be an IFF file , regardless of the file name . In rare cases, a function (m68k code) can also be integrated.
DataTypes program library
In version 3.0 the following DataTypes were introduced for processing the corresponding formats:
- picture.datatype (pictures)
- text.datatype (texts)
- ascii.datatype ASCII texts with the support of control sequences
- sound.datatype (sound, music)
- 8svx.datatype IFF -8SVX file format
- animation.datatype (videos)
- anim.datatype IFF -ANIM file format
- amigaguide.datatype ( AmigaGuide )
Web links
Individual evidence
- ↑ The AmigaOS Datatypes System. Retrieved May 4, 2020 .
- ↑ IV-101: Introduction to the Datatypes Library. Retrieved May 4, 2020 .