AMOS Sprite Bank

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
m (typo)
m (Change telparia.com samples link to template)
 
(11 intermediate revisions by 4 users not shown)
Line 4: Line 4:
 
|extensions={{ext|abk}}
 
|extensions={{ext|abk}}
 
}}
 
}}
'''AMOS Sprite Bank''' is a raster image file format associated with the ''AMOS Professional'' and ''Easy AMOS'' programming languages and compilers for Amiga computers. The format may also be known as '''Object Bank''' or '''Bob Bank'''.
+
'''AMOS Sprite Bank''' is a raster image file format associated with AMOS. See [[AMOS BASIC tokenized file]] for more information about AMOS. The format may also be known as '''Object Bank''' or '''Bob Bank'''.
  
[[AMOS Icon Bank]] is a very similar format.
+
[[AMOS Icon Bank]] is a very similar format. See also [[AMOS Picture Bank]].
  
 
Note that other types of AMOS files also use '''.abk''' filename extension.
 
Note that other types of AMOS files also use '''.abk''' filename extension.
Line 12: Line 12:
 
== Identification ==
 
== Identification ==
 
Files begin with ASCII characters "<code>AmSp</code>".
 
Files begin with ASCII characters "<code>AmSp</code>".
 +
 +
== AMOS Sprite/Icon Bank format ==
 +
A sprite bank and an icon bank share very similar attributes. They define graphic data which can be drawn onscreen. They have this format:
 +
 +
{|class="wikitable"
 +
!Field!!Length
 +
|-
 +
|Bank identifier: <samp>AmSp</samp> for sprites (bank 1) or <samp>AmIc</samp> for icons (bank 2)
 +
|4 bytes
 +
|-
 +
|Count of sprites/icons to follow
 +
|2 bytes
 +
|-
 +
|Sprites/Icons. Each sprite or icon has this format:
 +
* 2 bytes: <var>width</var>, in 16-bit words (multiply by 16 to get width in pixels)
 +
* 2 bytes: <var>height</var>, in raster lines (pixels)
 +
* 2 bytes: <var>depth</var>, in bitplanes (1 to 5)
 +
* 2 bytes: hot-spot X co-ordinate
 +
* 2 bytes: hot-spot Y co-ordinate
 +
* <var>width</var> * <var>height</var> * <var>depth</var> * 2 bytes: Amiga planar graphic data
 +
|-
 +
|Color palette: 32 16-bit colors in 0x0RGB form, the Amiga COLORx hardware register format
 +
|64 bytes
 +
|}
  
 
== Specifications ==
 
== Specifications ==
 +
* [https://www.exotica.org.uk/wiki/AMOS_file_formats#AMOS_Sprite_and_Icon_bank_formats AMOS Sprite and Icon bank formats]
 
* [http://www.ultimateamiga.co.uk/HostedProjects/AMOSFactory/AMOSProManual/ AMOS Pro User Guide] → [http://www.ultimateamiga.co.uk/HostedProjects/AMOSFactory/AMOSProManual/14/1431.html Memory Bank Structures]
 
* [http://www.ultimateamiga.co.uk/HostedProjects/AMOSFactory/AMOSProManual/ AMOS Pro User Guide] → [http://www.ultimateamiga.co.uk/HostedProjects/AMOSFactory/AMOSProManual/14/1431.html Memory Bank Structures]
  
 
== Software ==
 
== Software ==
 +
* [https://github.com/dschwen/amosbank amosbank]
 +
* [https://github.com/kyz/amostools amostools]
 +
* [[Konvertor]]
 
* [http://sourceforge.net/projects/javaamosabk/ Java AMOS Sprite Bank Viewer]
 
* [http://sourceforge.net/projects/javaamosabk/ Java AMOS Sprite Bank Viewer]
 +
* {{Deark}}
 +
* [[RECOIL]]
  
 
== Sample files ==
 
== Sample files ==
 +
* Most of the files at http://cd.textfiles.com/amospd/Sprites/
 
* http://sourceforge.net/projects/javaamosabk/files/abk/ (e.g. Mouse.Abk)
 
* http://sourceforge.net/projects/javaamosabk/files/abk/ (e.g. Mouse.Abk)
 
* [http://cd.textfiles.com/zoom2/graphics/misc/procad/brushes/teletube_h.abk teletube_h.abk]
 
* [http://cd.textfiles.com/zoom2/graphics/misc/procad/brushes/teletube_h.abk teletube_h.abk]
 +
* {{DexvertSamples|archive/amosSpriteBank}}
  
 
== Links ==
 
== Links ==
 
* [[Wikipedia:AMOS (programming language)|Wikipedia: AMOS]]
 
* [[Wikipedia:AMOS (programming language)|Wikipedia: AMOS]]
* [http://alvyn.sourceforge.net/amos_file_formats.html AMOS file formats]
 
  
 
[[Category:Amiga]]
 
[[Category:Amiga]]

Latest revision as of 02:53, 28 December 2023

File Format
Name AMOS Sprite Bank
Ontology
Extension(s) .abk

AMOS Sprite Bank is a raster image file format associated with AMOS. See AMOS BASIC tokenized file for more information about AMOS. The format may also be known as Object Bank or Bob Bank.

AMOS Icon Bank is a very similar format. See also AMOS Picture Bank.

Note that other types of AMOS files also use .abk filename extension.

Contents

[edit] Identification

Files begin with ASCII characters "AmSp".

[edit] AMOS Sprite/Icon Bank format

A sprite bank and an icon bank share very similar attributes. They define graphic data which can be drawn onscreen. They have this format:

Field Length
Bank identifier: AmSp for sprites (bank 1) or AmIc for icons (bank 2) 4 bytes
Count of sprites/icons to follow 2 bytes
Sprites/Icons. Each sprite or icon has this format:
  • 2 bytes: width, in 16-bit words (multiply by 16 to get width in pixels)
  • 2 bytes: height, in raster lines (pixels)
  • 2 bytes: depth, in bitplanes (1 to 5)
  • 2 bytes: hot-spot X co-ordinate
  • 2 bytes: hot-spot Y co-ordinate
  • width * height * depth * 2 bytes: Amiga planar graphic data
Color palette: 32 16-bit colors in 0x0RGB form, the Amiga COLORx hardware register format 64 bytes

[edit] Specifications

[edit] Software

[edit] Sample files

[edit] Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox