I keep forgetting this isn't C, also readme.md

This commit is contained in:
2018-08-15 04:45:34 +10:00
parent a968f61b09
commit ab89a9de5c
2 changed files with 3 additions and 3 deletions

0
README.md Normal file
View File

View File

@@ -32,9 +32,9 @@ with open("out.mod", "wb") as fo:
for i in range(0, 1):
for r in range(0,64):
for c in range(0, 4):
period = 214;
effect = 0;
sample = 1;
period = 214
effect = 0
sample = 1
div0 = (period & 0xFFF) | ((sample & 0xF0) * 256)
div1 = (effect & 0xFFF) | ((sample & 0xF) * 4096)