From 8fb193ba781ce315de4052297cb433d58ca2e9bb Mon Sep 17 00:00:00 2001 From: Luc Lagarde Date: Sat, 30 Dec 2017 16:08:36 -0600 Subject: [PATCH] Updated Hardware: Com Port (markdown) --- Hardware:-Com-Port.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Hardware:-Com-Port.md b/Hardware:-Com-Port.md index 1e6e8de..2846567 100644 --- a/Hardware:-Com-Port.md +++ b/Hardware:-Com-Port.md @@ -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. \ No newline at end of file +| `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 | \ No newline at end of file