implement scheduled sound updates in native runtime

This commit is contained in:
2022-05-02 08:19:34 +02:00
parent e44c87d1f6
commit 7e203d93e6
2 changed files with 90 additions and 53 deletions

View File

@@ -5,7 +5,7 @@ include "../include/microw8-api.cwa"
const MUSIC_DATA = 0x20000;
export fn upd() {
let inline t = 32!32 / 16;
let inline t = 32!32 * 6 / 100;
let inline p = t / 1024;
let channel:i32;