Updated Hardware: Com Port (markdown)

Luc Lagarde 2017-12-30 16:08:36 -06:00
parent 89dd7e8615
commit 8fb193ba78

@ -9,7 +9,7 @@ Hardware ID: `0x000D`
### Interrupt Behavior
| Value of A | Action | Energy cost | Result |
| --- | --- | --- | --- |
| `1` | `POLL` | `? kJ` | Does nothing, currently |
| `2` | `OUT` | `? kJ` | Copies up to 8 words starting from the address in X* |
*You must be adjacent to and facing the tower in order to send messages.
| `0` | `SELF_CLEAR` | `0 kJ` | Clear the console output |
| `1` | `POLL` | `4 kJ` | Read all messages in the console buffer to memory at X, sets B to the number of messages |
| `2` | `FRONT_PORT_OUT` | `20 kJ` | Copies 8 words starting from the address in X to the object directly in front of the cubot |
| `3` | `SELF_OUT` | `1 kJ` | Copies 8 words starting from the address in X to the console output |