DCSE:BasicLibs:xLIBCSetup

From Doors CS, Doors CSE, and Doors CE Wiki
Revision as of 13:34, 10 October 2013 by KermMartian (talk | contribs)
Jump to navigationJump to search

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,REDRAW_STATUS): Enable half-resolution (160x240-pixel) mode
real(0,1,0,REDRAW_STATUS): Disable half-resolution (160x240-pixel) mode
REDRAW_STATUS = 1 to redraw the status area at the top of the screen, 0 otherwise.

SetSpeed

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

SetupColorMode

real(0,3,VALUE):
VALUE: 0=Full (16-bit) color, 1=8-color, 2=Invert colors
You can invert the colors twice to return to normal mode.