SuperH-based fx calculators
fx-CG20, system

syscall 0x0031 : unsigned char GetSystemSetting( unsigned int SystemParameterNo );
0x14: keyboard shift status (same as on legacy systems)
0x15: keyboard insert/overwrite status (same as on legacy systems)

syscall 0x0032 : void SetSystemSetting( unsigned int SystemParameterNo, unsigned char SystemParameterValue );
 

syscall 0x0033 : unsigned char*GetSystemSettingPtr( unsigned int SystemParameterNo );
 

syscall 0x12D8 : void SetBacklightDuration( char duration );
duration
in halfminutes.

syscall 0x12D9 : char GetBacklightDuration( void );
Returns BacklightDuration in halfminutes.

syscall 0x1A2C : void*GetStackPtr( void );
 

syscall 0x1A2E : void SetSystemSetting( unsigned short SystemParameterNo, unsigned char SystemParameterValue );
 

syscall 0x1A2F : unsigned char GetSystemSetting( unsigned short SystemParameterNo );
 

syscall 0x1E90 : void SetAutoPowerOffTime( int duration );
duration
in minutes.

syscall 0x1E91 : int GetAutoPowerOffTime( void );
Returns AutoPowerOffTime in minutes

(30.08.2011 12:48:24)