mirror of
https://github.com/exoticorn/curlywas.git
synced 2026-01-20 11:46:43 +01:00
some tidying up
This commit is contained in:
10
xorscroll.hw
Normal file
10
xorscroll.hw
Normal file
@@ -0,0 +1,10 @@
|
||||
import "uw8.ram" memory(2);
|
||||
import "uw8.time" global mut time: i32;
|
||||
|
||||
export fn tic() {
|
||||
let i: i32;
|
||||
loop frame {
|
||||
i?120 = (i % 320 + time / 10) ^ (i / 320);
|
||||
branch_if (i := i + 1) < 320*256: frame;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user