Casemul is a powerful casio emulator for Microsoft Windows. It can import fxi and cat files, and can export cat files, but save its files in its own format. This format can save many record in a single file, and support data type as programs, pictures, lists, matrix. Casemul files are ended by .cas, but their are not in the CASIOLINK format!
Source code of Casemul can be downloaded on the Roy F.A. Maclean website, but this software is not a free “libre” software (see the conditions of use).
Casemul files are binary files ended by the extension .cas. Casemul files can contain various data such as programs, pictures, lists and matrix in one file.
A casemul file follow this organization:
Blocks are just the concatenation of records, but note that the file is sorted by data type, it's important for the file header. Each block can be empty.
Casemul format use a lot of length count. Length are always in bytes, stored on 4 bytes, in an inversed way. By example, the length (in a hexadecimal view):
0x00 00 0a 4f
is stored as:
4f 0a 00 00
The file header is always 60 bytes long. Is composed as:
Programs records are composed by a record header and the data of the program.
The record header is composed as:
The program is converted from the raw format to the casemul format, by replacing casio special characters by tokens. You can consult this list of casemul tokens. End of line are changed, from “\x0d” to “\x0d\x0a” (Windows end of line). The end of file character (“\xff”) is removed.
Pictures records are composed by a record header and the data of the picture.
The record header is composed as:
The picture is stored as a list of byte, each byte represents one pixel. The value of the byte depend of the color of the pixel:
Bytes are stored as columns, from the top to the bottoms, and columns from the left to the right.
To do.
To do.