Difference between revisions of "DCSE:BasicLibs:xLIBCSetup"

From Doors CS, Doors CSE, and Doors CE Wiki
Jump to navigationJump to search
(Created page with "This routine is only available on Doors CSE 8.0 and later for the color-screen TI-84 Plus C Silver Edition. ==Description== Utility functions used when setting up an xLIBC pr...")
 
Line 7: Line 7:
  
 
===GetXLIBCVersion===
 
===GetXLIBCVersion===
'''det(0,0)''': Returns version in Ans
+
'''real(0,0)''': Returns version in Ans
  
 
===SetupGraphics===
 
===SetupGraphics===
'''det(0,1,1)''': Enable half-resolution (160x240-pixel) mode<br>
+
'''real(0,1,1)''': Enable half-resolution (160x240-pixel) mode<br>
'''det(0,1,0)''': Disable half-resolution (160x240-pixel) mode
+
'''real(0,1,0)''': Disable half-resolution (160x240-pixel) mode
  
 
===SetSpeed===
 
===SetSpeed===
'''det(0,2,0)''': Disable fast (15MHz) mode, switching to 6MHz mode<br>
+
'''real(0,2,0)''': Disable fast (15MHz) mode, switching to 6MHz mode<br>
'''det(0,2,1)''': Enable fast (15MHz) mode
+
'''real(0,2,1)''': Enable fast (15MHz) mode
  
 
[[Category:Basic Libraries]] [[Category: SDK]]
 
[[Category:Basic Libraries]] [[Category: SDK]]

Revision as of 11:38, 1 October 2013

This routine is only available on Doors CSE 8.0 and later for the color-screen TI-84 Plus C Silver Edition.

Description

Utility functions used when setting up an xLIBC program. real(0,0) gets the current xLIBC version, real(0,1,<bool>) turns half-resolution mode on or off, and real(0,20,<bool>) turns fast (15MHz) mode on or off.

Technical Details

GetXLIBCVersion

real(0,0): Returns version in Ans

SetupGraphics

real(0,1,1): Enable half-resolution (160x240-pixel) mode
real(0,1,0): Disable half-resolution (160x240-pixel) mode

SetSpeed

real(0,2,0): Disable fast (15MHz) mode, switching to 6MHz mode
real(0,2,1): Enable fast (15MHz) mode