git://git.gir.st
/
Chiptunes-pms150c.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd9dc6a
)
new version
author
Tobias Girstmair
<tobi@isticktoit.net>
Thu, 4 Mar 2021 00:44:48 +0000
(
01:44
+0100)
committer
Tobias Girstmair
<tobi@isticktoit.net>
Thu, 4 Mar 2021 00:44:48 +0000
(
01:44
+0100)
bsv.c
patch
|
blob
|
blame
|
history
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