SuperH-based fx calculators
fx-CG syscalls

Like the OSes of the fx-9860G-types, the fx-CG OS contains a syscall address table. Most of these addresses are entry-points to some function. Some of the addresses represent data-pointers, f. i. to glyph-tables.

 The calling convention to access the system calls, is to jump to 0x80020070 with the syscall number in r0:

        mov.l   syscall_number, r0
        mov.l   #h'80020070, r2
        jmp     @r2
        nop

The code you jmp to will rts back to the last function call made.

The syscalls documented here, will refer to fx-CG-types. The syscalls of the legacy systems will be documented elsewhere. The legacy syscall-numbers are not identical to the fx-CG.syscall-numbers. If a function in the fx-CG-table is not documented directly, see the documentation of the legacy scscall. The function are identical in most cases.

Most locations in the table point to functions.

Functions which are marked in column "Number" with a red font are not verified, yet. They must not be used, although they are suspected to be what they seem to be! Without proper parameters they do either nothing or some weird things, like crash the OS.
Usually a function can be considered as verified, if it is included in the syscall-library within the insight-project.

Numbers on a  cyan background  designate syscalls, which have been verified but are normally useless. They are included because of completeness and to fill the gaps. This prevents wondering, what a syscall number is used for, while inspecting the OS.

"Number" on a  yellow background  designate syscalls, which are considered to be important.

"updated" on a  yellow background  designate syscalls, which are new or have been updated since the previous release.

White Numbers on a  red background  designate syscalls, which possibly can cause data loss or a crash.

[bsl]: reported by bsl on omnimaga

Number Name updated legacy
       
0x0002 int HourGlassTimer( void ) 19.06.2011  
0x0003 void DrawHourGlass( int ) 19.06.2011  
       
       
       
0x000C Exception-Handler -  
0x000D Exception-Handler -  
0x000E Exception-Handler -  
       
0x0010 SystemError -  
0x0011 MMU_FlushCache() #[bsl] 28.07.2011  
       
0x0026 int App_CheckG3AFileSizeAndChecksum( int addinno ); 25.03.2012  
       
0x002B GlibGetOSVersionInfo 14.10.2012 0x015
       
0x0031 unsigned char Setup_GetEntry( unsigned int SystemParameterNo ); 07.05.2011 0x4DC
0x0032 void Setup_SetEntry( unsigned int SystemParameterNo, unsigned char SystemParameterValue ); 07.05.2011 0x4DD
0x0033 unsigned char*Setup_GetEntryPtr( unsigned int SystemParameterNo ); 07.05.2011  
0x0034 Alpha_GetData( char VarName, TBCDvalue*Dest ) #[bsl] 19.05.2012 0x4DF
0x0035 Alpha_SetData( char VarName, TBCDvalue*Src ) #[bsl] 19.05.2012 0x4E0
0x0036 Alpha_ClearAll() #[bsl] 14.06.2011 0x4E1
       
       
       
0x0111 void Bkey_ClrAllFlags2( void ); 06.08.2011  
0x0112 void Bkey_SetFlag2( short flags ); 06.08.2011  
0x0113 void Bkey_ClrFlag2( short flags ); 06.08.2011  
0x0114 int Bkey_AllFlagsAreZero2( void ); 06.08.2011  
0x0115 short Bkey_GetAllFlags2( void ); 06.08.2011  
       
0x0129 void FKey_mapping2(...) 27.06.2011  
       
0x012B void FKey_mapping1(...) 27.06.2011  
       
0x0131 void FKey_Display( int, void* ); 08.05.2011  
       
       
       
0x0194 void Bdisp_SetDDRegisterB( void ); (controls LCD C:3 or C:16-mode) 01.08.2011  
0x0195 int Bdisp_IsZeroDDRegisterB( void ); 01.08.2011  
       
0x0199 void Bdisp_SetBacklightLevel( char level ); 26.08.2011  
0x019A void Bdisp_WriteDDRegister5A1( int ); (controls the LCD's light level) 01.08.2011  
       
       
       
       
0x01A2 void Bdisp_DDRegisterSelect( int registerno ); 01.08.2011  
0x01A3 void Bdisp_DefineDMARange( int, int, int, int ); -  
       
       
0x01A6 short Bdisp_WriteDDRegister3_bit7( int ); 01.08.2011  
0x01A7 short Bdisp_ReadDDRegister3_bit7( void ); 01.08.2011  
0x01A8 void Bdisp_PutPixel_x3( int x, int y, int color ); -  
       
       
       
       
0x01B6 void Bdisp_AreaClr_DD_x3( void*p1 ); -  
       
0x01B9 void Bdisp_AreaClr_DD( TBdispFillArea*p1 ); -  
0x01BA void Bdisp_AreaClr_VRAM_WB( TBdispFillArea*p1 ); -  
0x01BB void Bdisp_AreaClr_VRAM( TBdispFillArea*p1 ); -  
       
       
0x01C0 void Bdisp_ShapeToDD( TShape*shape, int color ); -  
0x01C1 void Bdisp_ShapeToVRAM( TShape*shape, short color ); -  
0x01C2 void Bdisp_ShapeToVRAMDD( TShape*shape, int color ); -  
0x01C3 void Bdisp_ShapeToDD16C( TShape*shape, int color16 ); -  
0x01C4 void Bdisp_ShapeToVRAM16C( TShape*shape, int color16 ); -  
0x01C5 void Bdisp_ShapeToVRAMDD16C( TShape*shape, int color16 ); -  
       
0x01C7 void Bdisp_ShapeBase( unsigned char*work, TShape*shape, int color, int line_width, int zero1, int zero2 ); -  
0x01C8 void Bdisp_ShapeDot(...) -  
0x01C9 void Bdisp_ShapeLine(...) -  
0x01CA void Bdisp_ShapeBox(...) -  
0x01CB void Bdisp_ShapeCircle(...) -  
       
       
       
0x01D0 void Bdisp_Line3X_Draw( int x0, int y0, int x1, int y1 ); 26.08.2011  
0x01D1 void Bdisp_Line3X_Clear( int x0, int y0, int x1, int y1 ); 26.08.2011  
0x01D2 void Bdisp_LineC16( int x0, int y0, int x1, int y1, int mode, char c16 ); 26.08.2011  
       
0x01D8 void Bdisp_Line( int x0, int y0, int x1, int y1, char color3 ); 10.08.2011  
       
       
       
0x01E5 unsigned int GetVRAMBackgroundAddress( void ); -  
0x01E6 unsigned int GetVRAMAddress( void ); -  
       
0x01E8 void*GetGlyphPtr_MB( unsigned short, unsigned short*); 19.06.2011  
0x01E9 void*GetMiniGlyphPtr_MB( unsigned short, unsigned short*); -  
0x01EA void*GetMiniMiniGlyphPtr_MB( unsigned short, unsigned short*); 29.04.2012  
0x01EB void*GetBoldMiniMiniGlyphPtr_MB( unsigned short, unsigned short*); 29.04.2012  
       
       
       
0x01F1 Cursor_SetPosition -  
       
0x01F3 Cursor_SetFlashMode_incompatible -  
       
0x01F5 unsigned int Cursor_GetSettings(unsigned int settingsarray[]); -  
       
0x01F8 PrintXY -  
0x01F9 void Print_OS( unsigned char*msg, int invers, int zero2 ); -  
       
       
0x0208 void PrintChar( unsigned char*msg, int mode, int P3, int C3_color1, int C3_color2, int P6 ); 09.04.2012  
       
0x021B int PrintMiniMini( int*x, int*y, char*, int mode1, char color, int mode2 ); 09.08.2011  
       
       
       
0x0238 void PrintGlyph( int x, int y, void*glyph, int mode_flags, int, int color, int back_color, int, int ) -  
0x0239 void PrintCXY( int x, int y, void*glyph, int mode_flags, int, int color, int back_color, int, int ) -  
       
       
0x023B void PrintMiniGlyph(int x, int y, void*glyph, int mode_flags, int glyph_width, int, int, int, int, int color, int back_color, int ) -  
0x023C void PrintMini( int*x, int*y, unsigned char*MB_string, int mode_flags, unsigned int xlimit, int, int, int color, int back_color, int writeflag, int ); 29.06.2011  
       
0x023F void PrintMiniMini2( int*x, int*y, unsigned char*MB_string, int mode_flags, unsigned int xlimit, int, int, int color, int back_color, int writeflag, int ); 10.08.2011  
       
       
0x025F void Bdisp_PutDisp_DD( void ); - 0x0028
0x0260 void Bdisp_PutDisp_DD_stripe( int y1, int y2 ); -  
       
0x0262 void Bdisp_SetPoint_VRAM_WB( int x, int y, unsigned short color ); -  
0x0263 void Bdisp_SetPoint_VRAM( int x, int y, unsigned short color ); -  
0x0264 void Bdisp_SetPoint_VRAM_WB_C3( int x, int y, unsigned short color_idx ); 17.03.2012  
0x0265 void Bdisp_SetPoint_VRAM_C3( int x, int y, unsigned short color_idx ); -  
0x0266 unsigned short Bdisp_GetPoint_VRAM_WB( int x, int y ); -  
0x0267 unsigned short Bdisp_GetPoint_VRAM( int x, int y ); - 0x0149
       
       
0x026A Bdisp_SetPoint_DD_WB -  
0x026B void Bdisp_SetPoint_DD( int x, int y, unsigned short color ); - 0x0147
       
       
0x026E Bdisp_GetPoint_DD_WB -  
0x026F Bdisp_GetPoint_DD -  
       
       
0x0272 void Bdisp_AllClr_VRAM( void ); - 0x0143
       
       
0x0275 void Bdisp_Fill_VRAM( int color, int mode );    
0x0276 void Bdisp_Fill_DD( int color, int mode ); #[bsl] 28.07.2011  
       
0x0278 void Bdisp_Fill_DD_1( int color ); #[bsl] 28.07.2011  
       
0x027A void Bdisp_Fill_VRAM_2( int color ); #[bsl] 28.07.2011  
       
0x0281 SaveWBVRAM -  
       
0x0283 void C16WorkbenchToC3Workbench(void*p) 31.03.2012  
       
       
0x028F void Bdisp_WriteGraphVRAM_WB( TDispGraph*gd ); -  
0x0290 void Bdisp_WriteGraphVRAM( TDispGraph*gd ); -  
0x0291 void Bdisp_WriteGraphDD_WB( TDispGraph*gd ); 19.06.2011  
       
       
0x0296 Bdisp_AreaFillVRAM( TBdispFillArea*area, unsigned short color ); 17.06.2011  
0x0297 Bdisp_AreaFillDD( TBdispFillArea*area, unsigned short color ); 17.06.2011  
0x0298 Bdisp_AreaFillVRAMDD( TBdispFillArea*area, unsigned short color ); 17.06.2011  
0x0299 Bdisp_AreaFillVRAM16C( TBdispFillArea*area, unsigned char color_index ); 17.06.2011  
0x029A Bdisp_AreaFillDD16C( TBdispFillArea*area, unsigned char color_index ); 17.06.2011  
0x029B Bdisp_AreaFillVRAMDD16C( TBdispFillArea*area, unsigned char color_index ); 17.06.2011  
       
0x02A3 void FrameColor( int mode, unsigned short color  ); 31.03.2012  
0x02A4 void FrameColorIndex( int mode, char c3  ); 14.08.2011  
       
       
0x02A8 void DrawFrame( unsigned short color  ); 17.06.2011  
0x02A9 void DrawFrameC3( char c3  ); 14.08.2011  
0x02AA void DirectDrawRectangle( int x1, int y1, int x2, int y2, unsigned short color ); 17.06.2011  
       
0x02AC DisplayCursor -  
       
       
0x02B2 void Bdisp_AreaClr( TBdispFillArea*area, unsigned char target, unsigned short color ); -  
       
0x02B7 int EnableStatusArea( int ); 27.06.2011  
0x02B8 int DefineStatusAreaFlags( int ); 27.06.2011  
0x02B9 void*DefineStatusMessage(int P1, void*P2, void*P3 ); 27.06.2011  
       
0x02BB void DrawHeaderLine( void ); -  
0x02BC ClearHeader -  
       
       
0x02BF void RTC_Reset( uint mode ); -  
0x02C0 void RTC_GetTime( unsigned int*hour, unsigned int*minute, unsigned int*second, unsigned int*millisecond ); -  
0x02C1 int RTC_GetTicks(  void  ); -  
0x02C2 int RTC_Elapsed_ms( int start_value, int duration_in_ms ); -  
       
0x02C7 void HourGlass( void ); 30.07.2011  
       
       
0x0311 BCD_StdToHigh -  
0x0313 BCD_HighToStd -  
       
0x0489 some BCD function 14.06.2011  
0x048B some BCD function 14.06.2011  
       
0x0496 ShortToBCD -  
0x0497 BCDtoShort -  
0x0498 IntToBCD -  
0x0499 BCDtoInt -  
       
0x04AA BCD_0 -  
0x04AB BCD_1 -  
0x04AC BCD_2 -  
0x04AD BCD_5 -  
0x04AE BCD_10 -  
       
       
       
0x05F6 BCDhigh_SetAsShort -  
0x05F7 BCDhigh_GetAsShort -  
0x05F8 BCDhigh_SetAsInt -  
0x05F9 BCDhigh_GetAsInt -  
0x05FA BCDhigh_SetError -  
       
0x05FF BCDhigh_BCD_0_5 -  
0x0600 BCDhigh_BCD_32767 -  
0x0601 BCDhigh_BCD_minus_32768 -  
0x0602 BCDhigh_BCD_2G -  
0x0603 BCDhigh_BCD_minus_2G -  
0x0604 BCDhigh_PI -  
       
       
       
0x060D int strlen( char* ); #[bsl] 09.07.2011  
0x060E int strcpy( char*, char* ); #[bsl] 09.07.2011  
0x060F int strcat( char*, char* ); #[bsl] 09.07.2011  
       
       
       
0x07A2 short CharacterSelectDialog( void ); 11.08.2011  
       
0x07BB PRGM_IsEndOfLine -  
       
0x07BD int Is_Comma( char* ); #[bsl] 28.07.2011  
       
       
       
       
0x0834 APP_CONICS -  
       
       
0x08C3 Cursor_GetSettings -  
       
0x08C7 void Cursor_SetFlashOn( unsigned char cursor_type ); -  
0x08C8 void Cursor_SetFlashOff( void ); -  
       
0x08CA Keyboard_CursorFlash -  
0x08CB Keyboard_CursorFlash -  
0x08CC Keyboard_CursorFlash -  
0x08CD Keyboard_CursorFlash -  
       
0x08CF DisplayVisibleCursor -  
0x08D0 TextCursorToPoint( void*p ) 31.03.2012  
0x08D1 GetCursorFlashToggle -  
0x08D2 SetCursorFlashToggle -  
       
0x08D9 Timer_Install 18.06.2011 0x0118
0x08DA Timer_Deinstall 18.06.2011 0x0119
0x08DB Timer_Start - 0x011A
0x08DC Timer_Stop - 0x011B
       
       
0x0901 int OpenDeflate( void*deflate_record, int v6, int v8, int vB, int v5, int v0, unsigned char*deflate_version, int v38 ); 19.04.2012  
0x0909 void PerformDeflate( void*deflate_record, int v4  ); 19.04.2012  
0x090A void CloseDeflate( void*deflate_record  ); 19.04.2012  
       
0x091E int xxx( int, short ); 14.08.2011  
       
       
0x0921 int EnableColor( int ); -  
       
0x0924 void Bdisp_Rectangle( int x0, int y0, int x1, int y1, char color3 ); 10.08.2011  
       
0x0937 void MsgBoxMoveWB_C3( void*buffer, int x0, int y0, int x1, int y1, int direction ); 18.03.2012  
0x0938 void MsgBoxMoveWB( void*buffer, int x0, int y0, int x1, int y1, int direction ); 17.03.2012  
       
0x0A10 APP_DYNA -  
       
0x0A83 APP_EACT -  
       
       
       
       
0x0A8C Alpha_ClearAllAndAns #[bsl] 14.06.2011  
       
0x0A8E MCS_CreateEACTPackDumy -  
0x0A8F MCS_DeleteEACTPackDumy -  
       
       
       
       
0x0B02 APP_E_CON -  
       
0x0BD0 Ly555_Table -  
       
0x0BEB APP_EQUA -  
       
0x0C01 AUX_DisplayErrorMessage -  
       
0x0C0F FileHeader_Prepare -  
       
0x0C1B InvertMem - 0x18A
0x0C1D ReadProtectBin_file_from_SD -  
0x0C20 CreateProtectBin_file_to_SD -  
       
       
0x0C5A StandardScrollbar( TStandardScrollbar*p ); 02.06.2011  
       
0x0C66 int SaveFileDialog( unsigned short*FileNameBuffer, int mode ) 04.04.2012  
       
0x0C6B void APP_FINANCE( int, int ); // returns on MENU only -  
       
       
       
       
       
       
0x0CEF void*GetGlyphPtr_F9( unsigned short ); -  
0x0CF0 void*GetGlyphPtr_E7( unsigned short ); -  
0x0CF1 void*GetGlyphPtr_E6( unsigned short ); -  
0x0CF2 void*GetGlyphPtr_E5( unsigned short ); -  
0x0CF3 void*GetGlyphPtr_7F( unsigned short ); -  
0x0CF4 void*GetGlyphPtr_F7( unsigned short ); -  
0x0CF5 void*GetMiniGlyphPtr( unsigned short, unsigned short*); -  
0x0CF6 void*GetMiniGlyphPtr_7F( unsigned short, unsigned short*); -  
0x0CF8 void*GetMiniGlyphPtr_F7( unsigned short, unsigned short*); -  
0x0CF9 void*GetMiniGlyphPtr_E5( unsigned short, unsigned short*); -  
0x0CFA void*GetMiniGlyphPtr_E6( unsigned short, unsigned short*); -  
0x0CFB void*GetMiniGlyphPtr_E7( unsigned short, unsigned short*); -  
0x0CFC void*GetMiniGlyphPtr_F9( unsigned short, unsigned short*); -  
       
       
0x0D39 int KeyBoard_PRGM_GetKey( TBCDvalue*result ); - 0x06C4
0x0D79 Init_OpenDlgDescr -  
0x0D90 AUX_Display4linesAndWaitFor_1or2 -  
0x0D91 OverwriteConfirmation( char*name, int mode ); 08.08.2011  
       
0x0DA1 SMEM_OpenFile (low level Bfile) -  
0x0DA3 SMEM_ReadFile (low level Bfile) -  
0x0DA4 SMEM_WriteFile (low level Bfile) -  
       
       
0x0E96 KeyMapper -  
0x0E97 KeyMapper -  
       
0x0EA0 short Bkey_GetAllFlags( void ); 05.08.2011  
0x0EA1 void Bkey_SetAllFlags( short flags ); 05.08.2011  
0x0EA2 void Bkey_SetFlag( short flagpattern ); 05.08.2011  
0x0EA3 void Bkey_ClrAllFlags( void ); 05.08.2011  
0x0EA4 void Bkey_ClrFlag( short flagpattern ); 05.08.2011  
       
       
0x0EA9 Keyboard_PutKeycode -  
0x0EAA GetKey_4 -  
0x0EAB int GetKey( int*key ); - 0x090F
       
       
0x0EAE Bkey_GetkeyTablePtr #[bsl] 28.07.2011  
0x0EAF Cursor_AutoSetAndSwitchOn -  
       
0x0FDA APP_GRAPH_TABLE -  
       
0x1154 MB_ByteCount -  
       
       
0x115E memcmp3 19.06.2011  
       
0x1161 MB_IsLead -  
       
0x1163 MB_ElementCount -  
0x1164 MB_ByteCount -  
       
0x1166 MB_strcat -  
0x1167 MB_strncat -  
0x1168 MB_strcpy -  
       
0x116C MB_GetSecondElemPtr -  
0x116D MB_GetElement -  
0x116E memcmp3 19.06.2011  
0x116F Disp_strcpy -  
0x1170 itoa 12.05.2011  
0x1171 void pc_toupper( char* ) 23.05.2012  
0x1172 void pc_tolower( char* ) 23.05.2012  
       
0x117A int OpenInflate( void*inflate_record, unsigned char*deflate_version, int v38 ); 19.04.2012  
0x117B void PerformInflate( void*inflate_record, int v0  ); 19.04.2012  
0x117C void CloseInflate( void*inflate_record  ); 19.04.2012  
       
0x1186 GetMainBatteryVoltage -  
       
       
0x1196 int DetectCG10( void ); 27.04.2012  
       
       
0x11AD RTC_SetCarryFlag 0312.2011 0x023B
       
0x11B0 PrimaryKeyboardHandler -  
       
0x11BB IRQ1_Handler -  
0x11BC IRQ2_Handler -  
       
       
       
       
       
0x11D6 void CMT_Delay_micros( int ); -  
0x11D7 void CMT_Delay_100micros( int ); -  
       
       
       
       
0x11DD void RTC_TriggerAlarm( void ); -  
0x11DE void RTC_SetDateTime( unsigned char[7]*timestr ); -  
       
0x11E2 void RTC_GetDateTime( unsigned char[7]*timestr ); 08.08.2011  
       
       
0x120E void EditMBString( unsigned char*, int xposmax, void*, void*xpos, void*key, int x, int y ); -  
0x1218 void DisplayMBString2( ...  ); 03.07.2011  
0x121D void DisplayMBString( unsigned char*, int, int xpos, int x, int y ); -  
0x1224 void EditMBStringChar( unsigned char*, int xposmax, int xpos, int char ); -  
       
       
       
       
       
0x128F void*OpCodeToStr( const short opcode, const char*result ); 29.07.2011  
       
0x1291 void*ExpressionToStr( const char*source, const char*result, int maxlen ); #[bsl] 28.07.2011  
       
0x1293 SecondaryKeyboardHandler -  
0x12A0 KeyMatrixSnapshot -  
       
       
0x12A4 Bkey_Set_RepeatTime( int FirstCount, int NextCount ); 21.08.2011 0x242
0x12A5 Bkey_Get_RepeatTime( int*FirstCount, int*NextCount ); 21.08.2011 0x243
       
       
0x12BF GetKeyWait_OS(int*column, int*row, int type_of_waiting, int timeout_period, int menu, unsigned short*keycode ); - 0x247
0x12C0 GetKeyWait -  
0x12C1 Keyboard_ResetFlags -  
       
0x12C6 Keyboard_PutKeyCode 01.04.2012 0x248
0x12C7 Keyboard_ClrBuffer -  
       
0x12C9 int Keyboard_SpyMatrixCode( char*column, char*row ); 30.08.2011  
0x12CA void Bkey_Set_RepeatTime_Default( void ); 21.08.2011 0x244
0x12CB void Keyboard_EnableAutoRepeat( void ); 21.08.2011 0x245
0x12CC void Keyboard_DisableAutoRepeat( void ) 21.08.2011 0x246
       
       
0x12D4 SetBatteryType -  
0x12D5 GetBatteryType -  
       
0x12D8 void SetBacklightDuration( char duration ); // duration in 30s units 30.08.2011  
0x12D9 char GetBacklightDuration( void ); 30.08.2011  
       
       
       
       
       
0x12F3 void GetFKeyPtr( int, void* ); 08.05.2011  
       
0x12FC int LocalizeMessage1( int msgno, char*result ); #[bsl] 29.04.2012  
0x12FD int LocalizeMessage2( int msgno, char*result ); #[bsl] 29.04.2012  
       
0x1343 HexToNibble -  
0x1344 HexToByte 02.07.2011  
0x1345 HexToWord 02.07.2011  
0x1346 NibbleToHex    
0x1347 ByteToHex 02.07.2011  
0x1348 WordToHex 02.07.2011  
0x1349 strlen -  
0x134A memcpy -  
       
0x134C Comm_ReversePadding_5C -  
0x134D Serial_Open -  
       
0x1353 Comm_Open -  
0x1356 Comm_WaitForAnyBuffer -  
       
0x1381 APP_LINK -  
0x1384 link_transmit_select_dialog -  
0x1388 AnyMemTransmitSelectDialog -  
0x138C AnyMem_OpenDialog -  
       
       
0x13F3 fx_TimeoutTermination -  
       
       
       
0x1402 Device_Info_1 -  
0x1403 Device_Info_RenesasID -  
       
0x1406 OS_Version_String -  
0x1407 Device_Info_Block -  
       
0x1409 App_LINK_SetReceiveTimeout_ms -  
0x140A App_LINK_GetReceiveTimeout_ms -  
       
0x150f MCS_memmove -  
0x1511 memset -  
0x1512 MCS_memmove -  
0x1514 int MCS_SearchDirectory ( unsigned char*dir, TMainMemoryDirectoryEntry*pdir, char*dirno ); 03.05.2012 0x0375
0x1515 int MCS_CreateDirectory( unsigned char*dir, char*dirno ); 03.05.2012 0x0363
0x1516 MCS_DeleteDirectory - 0x0366
0x1518 MCS_GetSystemDirectoryInfo - 0x0369
0x1519 MCS_SearchDirectoryItem - 0x0376
0x151A MCS_WriteItem - 0x0364
0x151C MCS_DeleteItem - 0x0367
0x151E MCS_GetItemFlag1 -  
0x1524 MCS_ChangeItemSize -  
       
       
       
0x1529 void MCS_GetState(void*); -  
0x1530 void MCS_GetDirectoryEntryAddress(void*); -  
0x1531 void MCS_GetCurrentBottomAddress(void*); -  
0x1532 int MCS_GetCapa( void*current_bottom ); -  
0x1533 int MCS_GetDirectoryEntryByNumber( char dirno, TMainMemoryDirectoryEntry*pdir ); -  
0x1534 MCS_GetFirstDataPointerByDirno -  
0x1535 str8cpy_with_upper_lower_mode -  
0x1536 MCS_SearchItem -  
0x1537 MCS_SetControlBlockTo_FF -  
0x1538 MCS_SetControlBlockTo_00 -  
0x153A MCS_SaveControlBlockToP1 -  
0x153B MCS_RestoreControlBlockFromP1 -  
0x1543 MCS_GetMainMemoryStart -  
0x1544 Alpha_char_to_number -  
0x1545 MCS_DirtypeToName - 0x0863
0x1548 MCS_MapError -  
0x1549 MCS_DirtypeToItemtype #[bsl] 28.07.2011 0x0852
0x154A MCS_ItemtypeToDirtype #[bsl] 28.07.2011 0x0853
0x154B MCS_CreateDirectory - 0x0829
       
0x154D MCSPutVar2 - 0x082B
       
       
       
0x1552 MCSOvwDat2 - 0x0830
0x1553 MCS_OpenAlphaMemItem #[bsl] 28.07.2011 0x084D
       
       
       
0x1558 MCSDelVar2 - 0x0836
       
0x155C MCS_GotoInternalItem 03.05.2012 0x083A
0x155D MCS_OpenMainMemoryItem 03.05.2012  
0x155E MCS_GotoHandleNeighbour 03.05.2012 0x083C
0x155F MCS_CheckOpenedItem - 0x083D
0x1560 MCS_GetOpenItem 03.05.2012 0x083E
0x1561 MCS_OpenInternalDirectoryItem - 0x083F
0x1562 MCSGetDlen2 - 0x0840
0x1563 MCSGetData1 - 0x0841
0x1564 MCS_GetAlphaMem -  
0x1565 MCS_MapMCS_Result -  
0x1566 MCSGetCapa -  
0x1567 MCS_Reset -  
0x1570 MCS_OpenDirectoryItem -  
    -  
0x161C Setup_GetInfo( const unsigned char*, int, TSetupInfo* ) 06.10.2012  
    -  
0x1630 App_Optimize -  
0x1632 APP_MEMORY -  
0x1633 ItoA_10digit 12.05.2011  
0x1634 ItoA_10digit 12.05.2011  
0x1635 strcmp_ignore_case 12.05.2011  
0x1636 strcmp_ignore_case 12.05.2011  
0x1637 rts 12.05.2011  
0x1638 FKey_Icon_Table 12.05.2011  
       
0x1743 CalculateExpression0 19.05.2012 0x64A
0x175D CalculateExpression 19.05.2012 0x645
       
0x1749 PRGM_NextOPcode #[bsl] 28.07.2011 0x0652
       
0x1761 BCD_SetError_01 -  
       
0x17E9 int OpenFileDialog( unsigned short keycode, unsigned short*FileNameBuffer, int FileNameBufferLength ) 04.04.2012  
       
       
       
0x17F7 void MsgBoxPush( int height ); -  
0x17F9 void MsgBoxPop( void ); -  
       
0x17FB void BoxYLimits( int lines, int*top, int*bottom ); -  
       
0x1802 int ConfirmFileOverwriteDialog( const unsigned short*filename ); 14.04.2012  
       
0x180B void ProgressBar2( unsigned char*heading, int current, int max ); 29.04.2012  
       
0x180B void ProgressBar0(int, int, int, int current, int max ); 02.06.2011  
       
0x180E void ProgressBar1(current, int max ); 02.06.2011  
       
0x1814 unsigned char ColorIndexDialog0( unsigned char initial_index ); 30.08.2011  
0x1815 unsigned char ColorIndexDialog1( unsigned char initial_index, unsigned short disable_mask ); 30.08.2011  
0x1816 unsigned char ColorIndexDialog2( unsigned char initial_index, unsigned short disable_mask ); 17.06.2011  
       
       
       
0x1834 RTC_StartHalfSecondPeriodicInterrupt -  
       
0x1839 void PowerOff( int DisplayPowerOffLogo ); 30.07.2011  
0x183A PowerOff -  
       
0x183D SetOrClrInterruptStatusFlag -  
0x183E QueryAndCondClrInterruptStatusFlag -  
       
       
0x1841 void LongToAscHex( int numbertoconvert, unsigned char*result, int digits ) 13.06.2011 0x467
       
0x1845 checks the six MCS-backup areas in the flash, purpose not yet understood #[bsl] 28.07.2011  
       
       
0x184D void OpCodeStrPtr( int hcode, int lcode ); 22.07.2011 0x7FC
       
0x1863 locate_OS -  
       
0x187A void PrintChar( int P1, unsigned char*msg, int P3, int P4, int C3_color1, int C3_color2 ); 09.04.2012  
       
0x1882 void PrintCharReverse( int P1, unsigned char*msg, int P3, int P4, int C3_color1, int C3_color2 ); 09.04.2012  
0x1883 void PrintLine( unsigned char*msg, int imax ); -  
       
0x18EC PrintXY_msg_by_no -  
       
0x18F6 void PrintPixXY_a( int x, int y, short*msg, int mode, int color ); 24.03.2012  
0x18F7 void PrintPixXY_normal( int x, int y, short*msg, int color ); 24.03.2012  
0x18F8 void PrintXY_normal( int x, int y, short*msg, int color ); 24.03.2012  
0x18F9 void PrintXY( int x, int y, short*msg, int mode, int color ); 24.03.2012  
       
0x18FF void PrintPixXY( int x, int y, short*msg, int mode, int color, int ? ); 24.03.2012  
       
       
       
0x1906 void Bdisp_WriteSystemMessage( int x, int y, int msgno, int mode, char color3 ); 10.08.2011  
       
       
0x193E free_recursive_struct -  
0x193F MCS_GoBASICItemAndCompareWithHandle -  
0x1940 MCS_AllocateBASICProgramListItem -  
0x1941 MCS_AllocateBASICProgramList -  
0x1945 APP_PROG; the  system calls this function with parameter 1. -  
       
       
       
       
0x198A Send/Send38k #[bsl] 28.07.2011 0x0CB0
0x198B Receive/Receive38k #[bsl] 28.07.2011 0x0CB1
0x198C OpenCloseComPort38k #[bsl] 28.07.2011 0x0CB2
       
       
0x199D APP_RECUR -  
       
0x1A03 APP_RUNMAT -  
       
       
0x1A0A Scrollbar( TScrollbar*p ); 02.06.2011  
       
       
       
0x1A2C void*GetStackPtr( void ); -  
       
0x1A2E void SetSystemSetting( unsigned short SystemParameterNo, unsigned char SystemParameterValue ); -  
0x1A2F unsigned char GetSystemSetting( unsigned short SystemParameterNo ); -  
       
       
       
0x1A37 unsigned char Keyboard_GetShiftStatus( void ); -  
0x1A38 void Keyboard_ClrShiftStatus( void ); -  
       
       
       
       
0x1B0F APP_SHEET -  
       
       
       
       
0x1BB4 OS_InnerWait_ms ( int delay_ms ); - 0x0420
       
0x1BB7 int Serial_Open( unsigned char *mode ); - 0x0418
0x1BB8 int Serial_Close( int mode ); - 0x0419
0x1BB9 int Serial_ReadOneByte( unsigned char*result ); - 0x040C
0x1BBA int Serial_ReadNBytes( unsigned char*result, int max_size, short*actually_transferred ); - 0x040D
0x1BBB int Serial_SpyNthByte( int byteno_to_spy, unsigned char*result ); - 0x0422
0x1BBC int Serial_BufferedTransmitOneByte( unsigned char byte_to_transmit ); - 0x040E
0x1BBD int Serial_DirectTransmitOneByte( unsigned char byte_to_transmit ); - 0x0410
0x1BBE int Serial_BufferedTransmitNBytes( unsigned char*bytes_to_transmit, int requested_count ); - 0x040F
0x1BBF int Serial_GetReceivedBytesAvailable( void ); - 0x0411
0x1BC0 int Serial_GetFreeTransmitSpace( void ); - 0x0412
0x1BC1 int Serial_ClearReceiveBuffer( void ); - 0x0413
0x1BC2 int Serial_ClearTransmitBuffer( void ); - 0x0414
0x1BC3 Serial_TranslateParameters -  
0x1BC4 Serial_GetStatus -  
0x1BC5 Serial_ClearStatusRegister -  
0x1BC6 int Serial_IsOpen( void ); -  
0x1BC7 Serial_Check_physical_connect -  
0x1BC9 Serial_Enable_Int -  
0x1BCa Serial_Disable_Int -  
0x1BCb Serial_DisableHardware -  
0x1BCc Serial_SetHandler -  
0x1BCd Serial_GetHandler -  
       
0x1CED APP_STAT -  
       
       
0x1D77 void DefineStatusMessage( char*P1, short P2, char color_idx, char P4 ); 27.06.2011  
       
0x1D7B void DefineStatusGlyph( char*P1, short P2, char color_idx, char P4 ); 27.06.2011  
       
0x1D81 void DisplayStatusArea( void ); 27.06.2011  
0x1D82 void Bdisp_HeaderText( void ); -  
       
       
0x1D85 void Bdisp_HeaderGlyph( void ); -  
0x1D86 void Bdisp_HeaderFill( unsigned char, unsigned char ); -  
0x1D87 void Bdisp_HeaderFill2( unsigned int, unsigned int, unsigned char, unsigned char ); -  
0x1D89 void BatteryIcon( unsigned int ); -  
0x1D8A void KeyboardIcon( unsigned int ); -  
0x1D8B void RadIcon( unsigned int ); -  
0x1D8C void RealIcon( unsigned int ); -  
0x1D8D void NormIcon( unsigned int ); -  
0x1D8E void d_c_Icon( unsigned int ); -  
0x1D8F void LineIcon( unsigned int ); -  
       
       
       
       
       
0x1D9F Bfile_IdentifyDevice_OS - 0x0429
       
0x1DA3 int Bfile_OpenFile_OS( const unsigned short*filename, int mode ); - 0x042C
0x1DA4 int Bfile_CloseFile_OS( int HANDLE ); - 0x042D
       
0x1DA6 int Bfile_GetFileSize_OS( int HANDLE ); 08.04.2012  
       
0x1DA9 int Bfile_SeekFile_OS( int HANDLE, int pos ); 08.04.2012  
0x1DAB int Bfile_Filepos( int HANDLE ); 08.04.2012  
       
0x1DAC int Bfile_ReadFile_OS( int HANDLE, void *buf, int size, int readpos ); - 0x0432
       
0x1DAE int Bfile_CreateEntry_OS(  const unsigned short*filename, int mode, int*size  ); - 0x0434
0x1DAF int Bfile_WriteFile_OS( int HANDLE, const void *buf, int size ); - 0x0435
       
0x1DB3 int Bfile_RenameEntry( const unsigned short *oldname, const unsigned short *newname ); 06.05.2012 0x0438
0x1DB4 int Bfile_DeleteEntry( const unsigned short *entryname ); 08.04.2012 0x0439
       
0x1DB6 int Bfile_FindFirst_FAT( const FONTCHARACTER *pathname, int *FindHandle, FONTCHARACTER *foundfile, FILE_INFO *fileinfo ); 24.07.2011  
0x1DB7 int Bfile_FindFirst( const FONTCHARACTER *pathname, int *FindHandle, FONTCHARACTER *foundfile, FILE_INFO *fileinfo ); 24.07.2011  
0x1DB8 int Bfile_FindNext_FAT( int FindHandle, FONTCHARACTER *foundfile, FILE_INFO *fileinfo ); 24.07.2011  
0x1DB9 int Bfile_FindNext( int FindHandle, FONTCHARACTER *foundfile, FILE_INFO *fileinfo ); 24.07.2011  
0x1DBA int Bfile_FindClose( int FindHandle ); -  
       
       
0x1DD0 memcpy -  
0x1DD1 memcmp -  
0x1DD2 Bfile_GetFilenameLength -  
0x1DD3 Bfile_Name_cmp -  
0x1DD4 int Bfile_Name_strcpy(const short *target, const short *source ); 24.07.2011  
       
0x1DD6 int Bfile_Name_strcmp 23.07.2011  
       
0x1DD8 Bfile_Name_tolower 23.07.2011  
0x1DD9 Bfile_Name_toupper 23.07.2011  
0x1DDA Bfile_Name_MatchMask 23.07.2011  
0x1DDB void Bfile_NameToStr_ncpy( unsigned char*source, const unsigned short*dest, int n ); -  
0x1DDC void Bfile_StrToName_ncpy( unsigned short*dest, const unsigned char*source, int n ); - 0x0456
0x1DDD Bfile_Name_npad 23.07.2011  
0x1DDE Bfile_Name_toupper_tolower 23.07.2011  
0x1DDF Bfile_Name_strchr 23.07.2011  
0x1DE0 Bfile_Name_strrchr 23.07.2011  
       
       
0x1E05 APP_SYSTEM_POWER -  
0x1E07 APP_SYSTEM_BATTERY -
0x1E0A APP_SYSTEM_DISPLAY -  
0x1E0D APP_SYSTEM_LANGUAGE -  
0x1E13 APP_SYSTEM -  
0x1E17 APP_SYSTEM_RESET -  
0x1E23 ResetAllDialog -  
0x1E34 APP_SYSTEM_VERSION -  
       
       
       
0x1E4B void DisplayMessage( unsigned char*message);    
       
       
0x1E55 Heap_Allocate -  
0x1E56 Heap_Init (fills the RAM range 0x881E0000..0x881FFFFF with zeros) -  
       
0x1E60 void SpecialMatrixcodeProcessing( int*col, int*row ); 02.08.2011  
       
0x1E62 void SaveVRAM_1( void ); -  
0x1E63 void LoadVRAM_1( void ); -  
       
       
       
0x1E72 Battery_IsLow #[bsl] 28.07.2011  
0x1E73 BatteryCheck -  
       
0x1E76 void BatteryLowMessage( void ); 08.08.2011  
       
0x1E7D GetIntPtrContent #[bsl] 28.07.2011  
       
0x1E80 CountInstalledForeignLanguages #[bsl] 28.07.2011  
       
0x1E82 Ly555ptr -  
0x1E83 Ly555ptr -  
       
       
0x1E90 void SetAutoPowerOffTime( int duration ); // duration in min 30.08.2011  
0x1E91 int GetAutoPowerOffTime( void ); 30.08.2011  
       
       
0x1E9E ??? SetAppName #[bsl] 28.07.2011  
0x1E9F GetAppName -  
0x1EA0 CmpAppName 12.05.2011 0x0464
       
       
       
0x1EA4 void SetAutoPowerOffFlag( int ); // 1=AutoPowerOff 16.04.2012  
0x1EA5 unsigned char GetAutoPowerOffFlag( void ); // 1=AutoPowerOff 16.04.2012  
       
0x1EF7 void WriteBackground( void*target, int width, int height, void*source, int, int, int ); -  
0x1EF8 void SetBackGround( int ImageNo, int B ); -  
       
0x1F40 calloc -  
0x1F41 free, identical to 0x1F42 27.06.2011  
0x1F42 free 27.06.2011  
0x1F43 malloc, identical to 0x1F44 27.06.2011  
0x1F44 malloc 27.06.2011  
0x1F45 realloc, identical to 0x1F46 27.06.2011  
0x1F46 realloc 27.06.2011  
       

 

 

(14.10.2012 11:39:14)