83Plus:BCALLs:5173

From WikiTI
Jump to: navigation, 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.