aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDevine Lu Linvega <[email protected]>2018-12-11 12:53:22 +1200
committerDevine Lu Linvega <[email protected]>2018-12-11 12:53:22 +1200
commit8484b7e5076922fc7f8b1b19f8c0b5cdca87e9e9 (patch)
tree5107cdbe72e0aa75f23e97109106441a26df87cc
parentec7fa80cc21277026572f9699a2b8606646cba93 (diff)
downloadOrca-8484b7e5076922fc7f8b1b19f8c0b5cdca87e9e9.tar.gz
Orca-8484b7e5076922fc7f8b1b19f8c0b5cdca87e9e9.zip
F now bangs!
-rw-r--r--DESIGN.md6
-rw-r--r--desktop/core/library/f.js2
2 files changed, 4 insertions, 4 deletions
diff --git a/DESIGN.md b/DESIGN.md
index 21013f6..aeac2fd 100644
--- a/DESIGN.md
+++ b/DESIGN.md
@@ -4,13 +4,13 @@
| ---------- | -----------
| Directions | N S E W Z
| Math | A I M R
-| Converters | B F
+| Logic | F
| Timers | C D
| Writers | X G P
| Readers | O Q T
| Jumpers | J Y
| ---------- | -----------
-| Misc | H K L U V
+| Misc | B H K L U V
| Special | * ; : ! #
# Attributes
@@ -22,7 +22,7 @@
| C* | +++++ | | Any
| D* | +++++ | | *
| E* | +++++ | |
-| F | ? | | ?
+| F* | +++++ | | *
| G | ++++ | X | Any(multi)(unlocked)
| H* | +++++ | | Any
| I* | +++++ | | Any
diff --git a/desktop/core/library/f.js b/desktop/core/library/f.js
index 2f5e000..475e776 100644
--- a/desktop/core/library/f.js
+++ b/desktop/core/library/f.js
@@ -15,7 +15,7 @@ function OperatorF (orca, x, y, passive) {
this.run = function () {
const a = this.listen(this.ports.input.a, true)
const b = this.listen(this.ports.input.b, true)
- const res = a === b ? '1' : '0'
+ const res = a === b ? '*' : '.'
this.output(`${res}`)
}
}