libtonc: Console IO

Tonclib

Console IO
[Tonc Text Engine]

Stdio functionality. More...

Defines

#define tte_printf   iprintf

Functions

void tte_init_con (void)
 Init stdio capabilities.
int tte_cmd_vt100 (const char *text)
 Parse for VT100-sequences.
int tte_con_write (struct _reent *r, int fd, const char *text, int len)
 Internal routine for stdio functionality.
int tte_con_nocash (struct _reent *r, int fd, const char *text, int len)

Detailed Description

Stdio functionality.

These functions allow you to use stdio routines for writing, like printf, puts and such. Note that tte_printf is just iprintf ... at least for now.


Define Documentation

#define tte_printf   iprintf

Wrapper 'function' to hide that we're making iprintf do things it doesn't usually do.


Function Documentation

int tte_cmd_vt100 ( const char *  text  ) 

Parse for VT100-sequences.

Taken librally from libgba.
See here for a full overview.

Parameters:
text Sequence string, starting at the '['.
Todo:
: check for buffer overflow.

int tte_con_write ( struct _reent *  r,
int  fd,
const char *  text,
int  len 
)

Internal routine for stdio functionality.

Note:
While this function 'works', I am not 100% sure I'm handling everything correctly.

void tte_init_con ( void   ) 

Init stdio capabilities.


Generated on Mon Aug 25 17:03:57 2008 for libtonc by  doxygen 1.5.3