shithub: orca

Download patch

ref: 5a1db607207a1118ba3a1d43d8c9269c6138f33d
parent: 9ab87c2dcc0c3cdea05193197c473512d7d138e1
parent: 12386eae1cea0591bde73dcfdfb089a932d62bc5
author: Devine Lu Linvega <aliceffekt@gmail.com>
date: Thu Apr 16 14:22:07 EDT 2020

Merge pull request #60 from pangrus/master

B operator is no longer used for bounce

--- a/sim.c
+++ b/sim.c
@@ -159,7 +159,7 @@
 
 #define ALPHA_OPERATORS(_)                                                     \
   _('A', add)                                                                  \
-  _('B', bounce)                                                               \
+  _('B', subtract)                                                               \
   _('C', clock)                                                                \
   _('D', delay)                                                                \
   _('E', movement)                                                             \
@@ -403,7 +403,7 @@
   POKE(1, 0, glyph_with_case(g, b));
 END_OPERATOR
 
-BEGIN_OPERATOR(bounce)
+BEGIN_OPERATOR(subtract)
   LOWERCASE_REQUIRES_BANG;
   PORT(0, -1, IN | PARAM);
   PORT(0, 1, IN);