83Plus:BCALLs:5173: Difference between revisions

From WikiTI
Jump to navigationJump to search
No edit summary
 
m purpose known
 
Line 23: Line 23:
This BCALL will throw ERR:DOMAIN if [[83Plus:RAM:8478|OP1]] is not 12 or 24.
This BCALL will throw ERR:DOMAIN if [[83Plus:RAM:8478|OP1]] is not 12 or 24.


This is somehow used with the date/time functions.
This is probably the source of the BASIC setTmFmt( function.

Latest revision as of 03:13, 18 May 2007

Synopsis

Unofficial Name: IsOP112or24

BCALL Address: 5173

Minimum OS Version: 2.30

Checks whether OP1 is the floating point value 12 or 24.

Inputs

  • OP1: floating point number to check

Outputs

  • OP1=12: 2,(iy+3Fh) reset
  • OP1=24: 2,(iy+3Fh) set

Registers Destroyed

Comments

This BCALL will throw ERR:DOMAIN if OP1 is not 12 or 24.

This is probably the source of the BASIC setTmFmt( function.