Entry | |
---|---|
R0 | Filename |
Exit | |
---|---|
R0 | Preserved |
R1 | RISC OS FileType (0-&FFF) |
R10 | Corrupted |
Converts a PC style filename (eg README.TXT) into a RISC OS equivalent FileType number. If no matching filetype is found, R1=0 on exit.
Originally CDFS managed its own list of filetype mappings. Once the MimeMap module was introduced, CDFS was changed to use MimeMap_Translate?, and this SWI just acts as a wrapper around that.