fxSDK:libfxsys

FrontPage | Categories | PageIndex | RecentChanges | RecentlyCommented | Login/Register
Until a release has been made, instructions to download the source code by SVN can be found at the SF.net project page. The functions in this library keep the same name as the calls from the official Casio SDK for convenience.
Only the creation/access of files in Storage Memory is supported at this moment.

Download

The source code for libfxsys is available by SVN;
svn co https://fxsdk.svn.sourceforge.net/svnroot/fxsdk/libfxsys/trunk libfxsys

Supported system calls

/* key: */
int     GetKey(unsigned int *keycode);
int     GetKeyWait(int sel, int time, int menu, unsigned int *keycode);
void    Bkey_Set_RepeatTime(long firstdelay, long holddelay);
void    Bkey_Get_RepeatTime(long *firstdelay, long *holddelay);
void    Bkey_Set_RepeatTime_Default(void);
/* print: */
void    locate(int column, int row);
void    Print(const unsigned char *str);
void    PrintRev(const unsigned char *str);
void    PrintC(const unsigned char *c);
void    PrintRevC(const unsigned char *str);
void    PrintLine(const unsigned char *str, int max);
void    PrintRLine(const unsigned char *str, int max);
void    PrintXY(int x, int y, const unsigned char *str, int type);
int     PrintMini(int x, int y, const unsigned char *str, int type);
/* file: */
int     Bfile_CreateFile(const unsigned short *, int);
int     Bfile_CreateDirectory(const unsigned short *);
int     Bfile_ReadFile(int, void*, int, int);
int     Bfile_WriteFile(int, void*, int);
int     Bfile_OpenFile(const unsigned short *, int);
int     Bfile_CloseFile(int);
int     Bfile_GetFileSize(int);
/* disp: */
void    Bdisp_AllClr_DD(void); /* VRAM and DDVRAM versions included */
void    Bdisp_AreaClr_DD(const DISPBOX *pArea); /* VRAM and DDVRAM versions included */
void    Bdisp_AreaReverseVRAM(int x1, int y1, int x2, int y2);
void    Bdisp_ClearLineVRAM(int x1, int y1, int x2, int y2);
void    Bdisp_DrawLineVRAM(int x1, int y1, int x2, int y2);
void    Bdisp_GetDisp_DD(unsigned char *pData); /* VRAM version included */
int     Bdisp_GetPoint_VRAM(int x, int y);
void    PopUpWin(int n);
void    Bdisp_PutDispArea_DD(const DISPBOX *PutDispArea);
void    Bdisp_PutDisp_DD(void);
void    Bdisp_ReadArea_VRAM(const DISPBOX *ReadArea, unsigned char *ReadData);
void    RestoreDisp(unsigned char num);
void    SaveDisp(unsigned char num);
void    Bdisp_SetPoint_DD(int x, int y, unsigned char point); /* VRAM and DDVRAM versions included */
void    Bdisp_WriteGraph_DD(const DISPGRAPH *WriteGraph); /* VRAM and DDVRAM versions included */

Usage

Read the included README file.
There are no comments on this page. [Add comment]
SourceForge.net Logo
Valid XHTML 1.0 Transitional | Valid CSS | Powered by Wikka Wakka Wiki 1.1.6.3
Page was generated in 0.1222 seconds