DataTypes

from Wikipedia, the free encyclopedia
QS IT
This article was due to content flaws on the quality assurance side of the computer science editorial added. This is done in order to bring the quality of the articles from the subject area of ​​computer science to an acceptable level. Help to eliminate the shortcomings in this article and take part in the discussion !  ( + )


Reason: full program including definition

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, #?.jpgfor 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)
    • ilbm.datatype IFF - ILBM file format
  • 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

  1. The AmigaOS Datatypes System. Retrieved May 4, 2020 .
  2. IV-101: Introduction to the Datatypes Library. Retrieved May 4, 2020 .