Get mode
Returns current screen mode.
Parameters
A1 [in,1u]
- Device: screen - 5
A2 [in,1u]
- Message type - 3
A3 [out,1i]
- Current screen mode
- 0 - erroneous
- 1 - text
- 2 - graphic
BX [out,4i]
- Width coordinate of the current resolution
BY [out,4i]
- Height coordinate of the current resolution
Description
This message allows to obtain current screen mode.
- If the current mode is text mode, width and height are in characters.
- If the current mode is graphic mode, width and height are in pixels.