mirror of
https://github.com/exoticorn/microw8.git
synced 2026-11-13 23:17:19 +01:00
tic(i32) => upd(), time(), first version of palette
This commit is contained in:
1 parent
0cb169d62e
commit
667a222331
7 files changed
+79
-21
No files matched your search
+2
-1
@@ -107,7 +107,8 @@ async function runModule(data) {
|
||||
}
|
||||
|
||||
try {
|
||||
instance.exports.tic(Date.now() - startTime);
|
||||
new Uint32Array(memory.buffer)[16] = Date.now() - startTime;
|
||||
instance.exports.upd();
|
||||
|
||||
let palette = new Uint32Array(memory.buffer.slice(76920, 76920 + 1024));
|
||||
for (let i = 0; i < 320 * 240; ++i) {
|
||||
|
||||
Reference in new issue
Block a user