AMOS AMAL Bank format

AMOS AMAL banks are one of the standard AMOS file formats.

AMAL is the AMOS Animation Language. Complex AMAL programs can be written in the AMAL Editor and then referenced from AMOS programs, which saves space in comparison to writing the AMAL program by building up a string variable in AMOS source code. The AMAL command "PLay" can use pre-recorded animation movements with up to 2000 steps each, which again is more efficient than writing the steps in text.

All multi-byte integers are in big-endian format.

The format is divided into sections, a movements section and a programs sections. The format typically starts with a Standard AMOS bank header, which may be truncated or damaged depending on how it was ripped:

It's followed immediately by the offset to the "programs" section:

Which is then followed by the "movements" section:

The programs section, as reached by the offset given at the start of the bank, has this format: