X-Git-Url: https://git.gir.st/Chiptunes-pms150c.git/blobdiff_plain/f3768c2637bb074c37e12456eff28f2de54dc52e..c1873bed0efac6b16e457e6e721503b911a44307:/bsv.c diff --git a/bsv.c b/bsv.c index 52140ec..bf3e991 100644 --- a/bsv.c +++ b/bsv.c @@ -2,11 +2,14 @@ typedef unsigned char u8; int i; -u8 notes[] = "Qj}6jQ6%BY}6YB6%"; +u8 notes[] = { + 0x84, 0x9d, 0xb0, 0x69, 0x9d, 0x84, 0x69, 0x58, + 0x75, 0x8c, 0xb0, 0x69, 0x8c, 0x75, 0x69, 0x58 +}; u8 g(u8 x, u8 t, u8 o){ u8 notes_ix = t%8 + 8*!!(3&i>>16); - return((3&x&(i*(notes[notes_ix]+51)>>o))<<4); + return((3&x&(i*(notes[notes_ix])>>o))<<4); } void main(void){ i = 0;