...
Code Block | ||
---|---|---|
| ||
IN:
A = check OZ version (for example $45 for OZ V4.5)
BC = NQ_Voz
OUT, if call successful:
Fc = 0
Running OZ is equal to or higher than specified version
OUT, if call reported incompatible OZ ROM:
Fc = 1
A = RC_QUIT ($67)
A = RC_UNK ($03) - returned if called on OZ V2.2 - V4.4 releases
Registers changed after return:
A.BCDEHL/IXIY same
.F....../.... different |
Notes:
if OS_Nq, NQ_Voz is used on OZ ROM's earlier than V4.5, a standard "Internal Error" popup window is displayed to prompt the user to press ESC (the NQ_Voz doesnt exist).
For OZ V4.5 and later a similar but more correct window is displayed with "This application requires OZ VX.Y or newer" message if the specified OZ release is newer than what is currently running.