xcall MIAMEX, MX_GETHASH, status
MX_GETHASH returns a flag indicating whether we are in AMOS hash compatibility mode. In this mode, the hash algorithm (used by DIR/H) treats LF line terminators are treated the same as CRLF pairs, so that normal text files will have the same hash code under UNIX, which typically uses LF line terminators, as they do under AMOS, which typically uses CRLF terminators.
The status parameter (F,6) returns 0 if not in AMOS hash compatibility mode, else non-zero.