move examples into subfolder, added wasm4 skip_ahead

This commit is contained in:
2021-11-10 22:37:26 +01:00
parent e9f115ee95
commit 911c2e43ad
11 changed files with 112 additions and 77 deletions

View File

@@ -0,0 +1,9 @@
import "env.memory" memory(2);
export fn tic(time: i32) {
let i: i32;
loop frame {
i?120 = (i % 320 + time / 10) ^ (i / 320);
branch_if (i := i + 1) < 320*256: frame;
}
}