Difference between revisions of "83Plus:BCALLs:5155"

From WikiTI
Jump to: navigation, search
 
(Synopsis: minimum OS version)
 
(One intermediate revision by one other user not shown)
Line 5: Line 5:
 
'''BCALL Address:''' 5155
 
'''BCALL Address:''' 5155
  
'''Minimum OS Version:''' 2.22 (not sure, could be 2.21 or 2.20)
+
'''Minimum OS Version:''' 2.30
  
 
Puts the date format in [[83Plus:RAM:8478|OP1]].
 
Puts the date format in [[83Plus:RAM:8478|OP1]].
Line 14: Line 14:
 
=== Outputs ===
 
=== Outputs ===
 
* [[83Plus:RAM:8478|OP1]]=1/2/3
 
* [[83Plus:RAM:8478|OP1]]=1/2/3
* NZ if date format is Y/M/D
+
* Z=0 if date format is Y/M/D
* Z if date format is M/D/Y or D/M/Y
+
* Z=1 if date format is M/D/Y or D/M/Y
* Z and A=$20 if date format is D/M/Y
+
* Z=1 and A=$20 if date format is D/M/Y
* Z and A=$00 if date format is M/D/Y
+
* Z=1 and A=$00 if date format is M/D/Y
  
 
=== Destroys ===
 
=== Destroys ===

Latest revision as of 17:14, 26 February 2006

Synopsis

Unofficial Name: getDtFmt

BCALL Address: 5155

Minimum OS Version: 2.30

Puts the date format in OP1.

Inputs

  • None

Outputs

  • OP1=1/2/3
  • Z=0 if date format is Y/M/D
  • Z=1 if date format is M/D/Y or D/M/Y
  • Z=1 and A=$20 if date format is D/M/Y
  • Z=1 and A=$00 if date format is M/D/Y

Destroys

  • All

Comments

  • 1=M/D/Y
  • 2=D/M/Y
  • 3=Y/M/D