Main Page Data Structures File List Data Fields Globals Related Pages

## Todo List

Global usleep(unsigned us)
  re-calibrate this function (push/pop added)

Global BM_Scroll(Bitmap *bm, int dx, int dy)
  re-implement this function as an in-place move!

Global BM_Alloc(int w, int h)
  implement some nice-to-have functions:

Global CheckBIOS()
  change function name to "BIOS_Init()", and perhaps adjust the filename, too. BIOS and system functions that aren't yet included in the clib should fit in here.

Global base64decode(const unsigned char *str, unsigned length, unsigned *ret_length)
  This function contains a potential buffer overflow, if the given maximum length is too low. (It just doesn't check for overflow!). It better should calculate the length itself..

Global parse_url(const char *urlString)
  perhaps we should detect some syntax errors..

Global port_for_scheme(char *scheme)
  is it a good idea to return 0 for unknown schemes?! [isn't 0 a regular port, too?]

Global GFX_LineX(Graphics *gfx, int x1, int y1, int x2, int y2)
  yuck! slow spaghetti code! Perhaps we should do the right thing - fast assembly functions for horizontal and vertical lines, slow pure C functions for bresenham. Who needs lines on an mpeg player, anyway?

Global DecodeNEC(unsigned const *samples)
  implement Sanyo code with 13 vendor bits

Global VS_PlayMpegSync(char *data, unsigned len)
  (re)implement timeout checking, using RTX_Get_System_Ticks()