Updated Hardware: Battery (markdown)

Simon Fortier 2017-12-28 12:41:50 -05:00
parent ca20590214
commit 778816fcf5

@ -13,6 +13,8 @@ Maximum Capacity: 60,000 kJ
| `1` | `POLL` | `0 kJ` | Copy the current charge of the battery in kJ in the B register |
| `2` | `GET_MAX_CAPACITY` | `0 kJ` | Copy the maximum capacity of the battery in the B register |
Your Cubot will turn to a red color when its battery level is below 50kJ.
As of v1.2a, the only way to refill the battery is to use the temporary `REFILL` = `0xFFFF` value in the A register (See [#2](https://github.com/simon987/Much-Assembly-Required/issues/2))
```assembly
MOV A, 0xFFFF