new version
authorTobias Girstmair <tobi@isticktoit.net>
Thu, 4 Mar 2021 00:44:48 +0000 (01:44 +0100)
committerTobias Girstmair <tobi@isticktoit.net>
Thu, 4 Mar 2021 00:44:48 +0000 (01:44 +0100)
bsv.c

diff --git a/bsv.c b/bsv.c
index 22070e3619a325926f453439e4269df0ba0d90d8..e954cb24b6080332c037abfb5bc81e53e3ab99f0 100644 (file)
--- a/bsv.c
+++ b/bsv.c
@@ -1,6 +1,7 @@
 typedef unsigned char u8;
 
 u8 i0, i1, i2; //MEM
+u8 n; //MEM
 u8 acc; //ACC
 
 u8 notes[] = {
@@ -22,7 +23,7 @@ void main(void){
        // clear i2
        for(;;) {
                u8 sample;
-               u8 n = i2<<2 | i1>>6; //MEM
+               n = i2<<2 | i1>>6;
                // mov n, i2
                // sl n
                // sl n
Imprint / Impressum