shithub: orca

Download patch

ref: 12386eae1cea0591bde73dcfdfb089a932d62bc5
parent: 9ab87c2dcc0c3cdea05193197c473512d7d138e1
author: Pangrus <pangrus@gmail.com>
date: Wed Apr 15 10:48:32 EDT 2020

Add files via upload

--- 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);