xcall MIAMEX, MX_WSET_STATUS, switches {,opcode, ztver}
This operation is used by WSET.LIT in order to control operation of the Tracker. It provides functionality not available under AMOS—namely the ability to modify the Tracker emulation’s under program control.
Parameters
switches (Num) [in/out]
(combine) is a bit-mapped floating-point parameter whose values are as follows:
Value |
Description |
1 |
132 column mode disabled |
2 |
Color disabled |
4 |
Field attributes on mode devices disabled |
8 |
Force field emulation (Windows only) |
16 |
ZTERM has been detected |
32 |
ZTERM was probed for but not detected |
64 |
Screen area save/restore disabled |
opcode (Num) [in]
0 to retrieve the current settings, or 1 to update the current settings and retrieve the original settings back into the switches parameter. If not specified, 1 is assumed.
ztver ((String), 10+) [in/out]
will receive the ZTERM build number if applicable. Note that the format will be something like "ZV2.0.143a." (The ZV prefix is constant for builds 74+.)