Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Notes

CLI-related attributes refers refer to Application Type Byte 1 in application DOR.

...

Code Block
titleNQ_Voz ($861E), Application verifies running OZ version (OZ V4.5 and newer)
IN:
    A  = check OZ version required (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_QUITVOZ ($67)$38), OZ version not compatible
 
Registers changed after return:
     A.BCDEHL/IXIY same
     .F....../.... different

Notes:

if 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 V4V5.5 0 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. , the "OZ version not compatible" message is displayed as a fatal error using a OS_BYE with A unchanged if Fc = 1.

NQ_Roz

Code Block
titleNQ_Roz ($8621), Read OZ revision number (OZ V4.5 and newer)
IN:
    -
  
OUT:
     DEBC = OZ revision number
  
Registers changed after return:
     AF....HL/IXIY same
     ..BCDE../.... different

...

Code Block
titleNQ_Btl ($8624), Read battery status (OZ V4.5 and newer)
IN:
    -
  
OUT:
     Fz = 0, Battery is good
	 Fz = 1, Battery is low
  
Registers changed after return:
     A.BCDEHL/IXIY same
     .F....../.... different

Notes:Used

Battery low condition is set when under 4.2V. Coma state is entered by NMI when battery voltage falls under 3.2V.

This call is used by system information page in Index.