mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-04-19 10:36:43 +00:00
Updated Hardware: Battery (markdown)
parent
e70db6cdb6
commit
7fc3a8635d
@ -13,4 +13,8 @@ Maximum Capacity: 60,000 kJ
|
|||||||
| `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 in 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 in the B register |
|
||||||
|
|
||||||
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
|
||||||
|
MOV A, 0xFFFF
|
||||||
|
HWI 0x000A
|
||||||
|
````
|
Loading…
x
Reference in New Issue
Block a user