Showing changes from revision #2 to #3:
Added | Removed | Changed
Entry | |
---|---|
R0 |
Exit | |
---|---|
If C flag unset, then Screen mode is valid | |
R0 | Preserved |
If C flag set, then Screen mode is invalid | |
R0 | -1 = Screen mode is non-existent |
-2 = Not enough memory | |
R1 | Alternative screen mode to use |
-2 = Unable to select alternative screen mode |
The purpose of this call is to check if it is possible to change to a specified screen mode.
This finds out, out whether you may change to a given mode or its whether it is invalid, either for because example if the mode isn’t supported by the current monitor type forbids it, R1 then is the alternative mode, or there’s if not there enough is memory no in suitable this case R1 = -2.MDF entry for a Mode Specifier Block.
If the mode is invalid then the returned value in R0 will indicate the reason why, and R1 may contain a suggested alternative mode.