mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-04-20 19:16:43 +00:00
Updated Hardware: Com Port (markdown)
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 |
|
Loading…
x
Reference in New Issue
Block a user