uxn

Varvara Ordinator, written in ANSI C(SDL2)
git clone https://git.eamoncaddigan.net/uxn.git
Log | Files | Refs | README | LICENSE

commit e0929d98dae59645e613f9237ce8eeef097081c4
parent 7c861e095557db6fa92ba923c69cd545a9637907
Author: neauoire <aliceffekt@gmail.com>
Date:   Mon, 26 Apr 2021 12:00:39 -0700

Redraw wave on arrow keys

Diffstat:
Mprojects/demos/piano.usm | 9+++++----
1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/projects/demos/piano.usm b/projects/demos/piano.usm @@ -204,16 +204,17 @@ BRK .Controller/button DEI #f0 AND DUP #04 SFT #01 AND #01 NEQ ,&no-up JNZ - ( move ) .Audio/addr DEI2 #0010 SUB2 .Audio/addr DEO2 &no-up + ( move ) .Audio/addr DEI2 #0001 SUB2 .Audio/addr DEO2 &no-up DUP #05 SFT #01 AND #01 NEQ ,&no-down JNZ - ( move ) .Audio/addr DEI2 #0010 ADD2 .Audio/addr DEO2 &no-down + ( move ) .Audio/addr DEI2 #0001 ADD2 .Audio/addr DEO2 &no-down DUP #06 SFT #01 AND #01 NEQ ,&no-left JNZ - ( move ) .Audio/addr DEI2 #0001 SUB2 .Audio/addr DEO2 &no-left + ( move ) .Audio/addr DEI2 #0010 SUB2 .Audio/addr DEO2 &no-left DUP #07 SFT #01 AND #01 NEQ ,&no-right JNZ - ( move ) .Audio/addr DEI2 ++ .Audio/addr DEO2 &no-right + ( move ) .Audio/addr DEI2 #0010 ADD2 .Audio/addr DEO2 &no-right POP ;draw-octave JSR2 + ;draw-wave JSR2 BRK