We could do that, but I just got another idea: I will create a simple
TYP file with http://ati.land.cz/gps/typdecomp/ and try to decompile
it by hand into source file(s) that would be compiled with GNU Assembler
to the TYP file. That should be enough for my immediate needs, to define
some line styles. I will probably need a couple of weeks for that.
That might work, if the format is regular enough. You're writing the
code, but my first inclination is to define xml for the TYP file and
write something that uses an xml parser to an in-memory structure and
the write out the bits.
O I just remember the biggest problem with ati.land. It does drop some
"3byte / extended" types. Be careful and look at the sourcecode if you
want to reverse engineer.