84PCE:Syscalls:0003B0: Difference between revisions

From WikiTI
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
[[Category:84PCE:CCalls:By Name|GetBatteryPercent]]
[[Category:84PCE:CCalls:By Name|AppInit]]
[[Category:84PCE:CCalls:By Address|0003B0 - GetBatteryPercent]]
[[Category:84PCE:CCalls:By Address|021D40 - AppInit]]
== Synopsis ==
== Synopsis ==
'''Hypothesized Official Name:''' GetBatteryPercent
'''Hypothesized Official Name:''' AppInit


'''C Function Address:''' 0003B0h
'''C Function Address:''' 021D40h
 
Gets the status of the battery percentage. There are five possible values:
 
<pre>> 75%      ; returns 4
50%-75%    ; returns 3
25%-50%    ; returns 2
5%-25%      ; returns 1
< 5%        ; returns 0</pre>


=== Function Prototype ===
=== Function Prototype ===
uint8 GetBatteryPercent(void);
void AppInit(int*);


=== Arguments ===
=== Arguments ===
* None (void)
* int* - Pointer to custom vector table to copy.


=== Returns ===
=== Returns ===
* The battery voltage percentage.
* None (void)

Revision as of 17:51, 22 September 2015

Synopsis

Hypothesized Official Name: AppInit

C Function Address: 021D40h

Function Prototype

void AppInit(int*);

Arguments

  • int* - Pointer to custom vector table to copy.

Returns

  • None (void)