xcall MIAMEX, MX_SETHASH, flag
MX_SETHASH (MIAMEX 37) allows you to set or reset the AMOS hash compatibility mode. The status parameter (Num) should be set to 0 to reset (clear) AMOS hash compatibility mode, else non-zero to set it.
See MX_GETHASH for further notes on AMOS hash compatibility mode. Also note that the SET.LIT command allows you to query and set/reset this option.