TIGCC Library Header Files


  
TIGCC uses the special library of header files, due to very specific method of calling TIOS functions. This library is written on such way that it can be used for producing both "nostub" programs (i.e. programs which does not need any kernels) or "Doors" (kernel-based) programs. The user may select whether a "nostub" or "Doors" program will be created. All functions in this library are based only on legal TIOS calls (i.e. calls which have an entry in the TIOS jump table), so they probably will work of any version of TIOS. And, in this release of the library a lot of "standard" functions defined in ANSI C are also defined, so this release is highly "ANSI compatible" (in addition to lot of TI-specific functions).

Functions and data types are grouped in different header files, depending of their purpose (note that some functions and data types are defined in more than one header file). Click on header file name for description of all functions and data types defined in this header file:

all.hDeprecated alias for tigcclib.h
alloc.hRoutines for dynamic memory allocation (both ANSI and TIOS specific)
args.hRoutines for passing arguments to the program
asmtypes.hCommon type definitions known to ASM programmers
assert.hAssert routine for debugging purposes
bascmd.hRoutines for executing some TI-Basic commands
cert.hRoutines for accessing certificates and other memory-mapped files
compat.hVarious calc-dependent and AMS-dependent pseudo-constants
ctype.hRoutines for checking character types
dialogs.hRoutines for creating dialogs
doors.hKernel for programming under DoorsOS
error.hRoutines for error handling
estack.hRoutines for manipulations with data on the expressions stack
events.hRoutines for event driven programming and for mode settings
flash.hLow-level routines for working with the Flash ROM
float.hVarious platform-dependent floating point constants proposed by ANSI
graph.hCommon graphic (non-windowed) routines
gray.hRoutines for grayscale graphics
intr.hRoutines for making interrupt handlers
kbd.hKeyboard handling routines
limits.hVarious platform-dependent constants proposed by ANSI
link.hLink interface routines
math.hANSI compatible routines for floating point arithmetic (with addition of some TIOS extensions)
mem.hRoutines for manipulations with memory blocks
menus.hRoutines for making popup and toolbar menus
nostub.hKernel for shell-less ("nostub") programming
peekpoke.h    Routines for easier accessing to the memory & I/O ports
printf.hPrinting routines (now deprecated, use stdio.h instead)
rsa.hRoutines for big number arithmetic, message diggesting and RSA encryption
setjmp.hRoutines for non-local jumps (ANSI compatible)
sprites.hSimple sprite routines
statline.hRoutines for manipulations with the status line
stdarg.hANSI routines for making functions with variable number of arguments
stdio.hANSI compatible file and TTY input/output routines
stdlib.hMiscelanious useful routines proposed by ANSI (sorting, searching, etc.)
string.hANSI compatible string manipulation routines
system.hMiscelanious system routines (for accessing system timers, queues, etc.)
textedit.hRoutines for accessing the text editor
tigcclib.hIncludes all other header files
timath.hRoutines for floating point arithmetic
unknown.hUnknown routines
values.hVarious platform-dependent constants
vat.hRoutines for accessing to variables allocation table
wingraph.hRoutines for windowed graphics

NOTE: This library is not compatible with the romcalls.h header file which comes with very old versions of the TIGCC compiler. Include tigcclib.h header file instead. Also, note that this library depends strongly of GNU C extensions, so it is not portable to other compilers. That's why this library can not be used for compiling program using '-ansi' command switch, which disables usage of GNU extensions and allows only ANSI-proposed features (except if such extensions are specially marked). Although this fact is mainly not important at all, it will be corrected in the future.

Return to the main index