Please enable JavaScript to view this site.

A-Shell Reference

Navigation: Subroutines > MIAMEX

MX_WSET_STATUS

Scroll Prev Top Next More

Reviewed and revised April 2024

xcall MIAMEX, MX_WSET_STATUS, switches {,opcode, ztver}

MX_WSET_STATUS (MIAMEX 13) is used by WSET.LIT in order to control operation of the screen tracking system, which enables the ability to save/restore screen areas.

Parameters

switches  (Bitmap, 16)  [in/out]

(combine) is a bit-mapped floating-point parameter whose values are as follows:

Symbol

Value

Description

WSET_NARROW

&h0001

132 column mode disabled

WSET_MONO

&h0002

Color disabled

WSET_NOFLDATR

&h0004

Field attributes on mode devices disabled

WSET_FLDEMU

&h0008

Force field emulation (Windows only)

WSET_ZTERM

&h00010

ZTERM has been detected

WSET_NOZTERM

&h00020

ZTERM was probed for but not detected

WSET_DISABLE

&h00040

Screen area save/restore disabled

WSET_TRKTOPSTS

&h0080

Include top status in save/restore

WSET_NOWRAP

&h0100

No wrap

 

opcode  (Unsigned Int)  [in]

0 (mxop_get) to retrieve the current settings, or 1 (mxop_set)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+.)

Comments

MX_WSET_STATUS is used internally by MSBOXX, EZTYP, SWPSBR and other A-Shell routines.