83Plus:BCALLs:5173

From WikiTI
Revision as of 03:13, 18 May 2007 by Brandonw (talk | contribs) (purpose known)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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.