Difference between revisions of "84PCE:OS:Battery"
From WikiTI
Line 1: | Line 1: | ||
Battery information will be placed here as it is found. | Battery information will be placed here as it is found. | ||
+ | |||
+ | The boot code call: 0003B0h will read the status of the battery and place the value in A. | ||
The possible readable modes for the battery are as follows: | The possible readable modes for the battery are as follows: | ||
− | <pre>> 75% | + | <pre>> 75% ; A=4 |
− | 50%-75% | + | 50%-75% ; A=3 |
− | 25%-50% | + | 25%-50% ; A=2 |
− | 5%-25% | + | 5%-25% ; A=1 |
− | < 5%</pre> | + | < 5% ; A=0</pre> |
Revision as of 09:02, 30 May 2015
Battery information will be placed here as it is found.
The boot code call: 0003B0h will read the status of the battery and place the value in A.
The possible readable modes for the battery are as follows:
> 75% ; A=4 50%-75% ; A=3 25%-50% ; A=2 5%-25% ; A=1 < 5% ; A=0