in => into

Michael Giuffrida 2017-12-28 14:07:25 -08:00
parent c536a2ae0c
commit 6c286e144d

@ -10,12 +10,12 @@ Maximum Capacity: 60,000 kJ
### Interrupt Behavior ### Interrupt Behavior
| Value of A | Action | Energy cost | Result | | Value of A | Action | Energy cost | Result |
| --- | --- | --- | --- | | --- | --- | --- | --- |
| `1` | `POLL` | `0 kJ` | Copy the current charge of the battery in kJ in the B register | | `1` | `POLL` | `0 kJ` | Copy the current charge of the battery in kJ into the B register |
| `2` | `GET_MAX_CAPACITY` | `0 kJ` | Copy the maximum capacity of the battery in the B register | | `2` | `GET_MAX_CAPACITY` | `0 kJ` | Copy the maximum capacity of the battery into the B register |
Your Cubot will turn to a red color when its battery level is below 100kJ. Your Cubot will turn to a red color when its battery level is below 100kJ.
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)) 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 ```assembly
MOV A, 0xFFFF MOV A, 0xFFFF
HWI 0x000A HWI 0x000A