mirror of
https://github.com/exoticorn/microw8.git
synced 2026-01-20 11:16:42 +01:00
344 lines
14 KiB
HTML
344 lines
14 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title> | </title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
|
|
<link rel="icon" type="image/png" href="/favicon.ico">
|
|
|
|
<style>
|
|
:root {
|
|
/* Primary theme color */
|
|
--primary-color: #202024;
|
|
/* Primary theme text color */
|
|
--primary-text-color: #808070;
|
|
/* Primary theme link color */
|
|
--primary-link-color: #8080a0;
|
|
/* Secondary color: the background body color */
|
|
--secondary-color: #e0e0e8;
|
|
--secondary-text-color: #1a1818;
|
|
/* Highlight text color of table of content */
|
|
--toc-highlight-text-color: #d46e13;
|
|
}
|
|
</style>
|
|
<link href="https://fonts.googleapis.com/css?family=Alfa+Slab+One&display=swap" rel="stylesheet">
|
|
<link href="https://fonts.googleapis.com/css?family=Fira+Sans:400,500,600&display=swap" rel="stylesheet">
|
|
<link rel="stylesheet" href="/normalize.css">
|
|
<link rel="stylesheet" href="https://exoticorn.github.io/microw8/juice.css">
|
|
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<header class="box-shadow">
|
|
|
|
|
|
<a href="https://exoticorn.github.io/microw8/">
|
|
<div class="logo">
|
|
<img src="https://exoticorn.github.io/microw8/img/microw8.svg" alt="logo">
|
|
MicroW8
|
|
</div>
|
|
</a>
|
|
|
|
<nav>
|
|
|
|
<a class="nav-item subtitle-text" href="https://exoticorn.github.io/microw8/versions/"></a>
|
|
|
|
<a class="nav-item subtitle-text" href="https://exoticorn.github.io/microw8/docs/">Docs</a>
|
|
|
|
|
|
|
|
<a class="nav-item subtitle-text" href="https://github.com/exoticorn/microw8">Github</a>
|
|
|
|
|
|
</nav>
|
|
|
|
</header>
|
|
|
|
|
|
<main>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="toc">
|
|
<div class="toc-sticky">
|
|
|
|
<div class="toc-item">
|
|
<a class="subtext" href="https://exoticorn.github.io/microw8/versions/#v0-4-0">v0.4.0</a>
|
|
</div>
|
|
|
|
|
|
<div class="toc-item">
|
|
<a class="subtext" href="https://exoticorn.github.io/microw8/versions/#v0-3-0">v0.3.0</a>
|
|
</div>
|
|
|
|
|
|
<div class="toc-item">
|
|
<a class="subtext" href="https://exoticorn.github.io/microw8/versions/#v0-2-2">v0.2.2</a>
|
|
</div>
|
|
|
|
|
|
<div class="toc-item">
|
|
<a class="subtext" href="https://exoticorn.github.io/microw8/versions/#v0-2-1">v0.2.1</a>
|
|
</div>
|
|
|
|
|
|
<div class="toc-item">
|
|
<a class="subtext" href="https://exoticorn.github.io/microw8/versions/#v0-2-0">v0.2.0</a>
|
|
</div>
|
|
|
|
|
|
<div class="toc-item">
|
|
<a class="subtext" href="https://exoticorn.github.io/microw8/versions/#v0-2-0-rc3">v0.2.0-rc3</a>
|
|
</div>
|
|
|
|
|
|
<div class="toc-item">
|
|
<a class="subtext" href="https://exoticorn.github.io/microw8/versions/#v0-2-0-rc2">v0.2.0-rc2</a>
|
|
</div>
|
|
|
|
|
|
<div class="toc-item">
|
|
<a class="subtext" href="https://exoticorn.github.io/microw8/versions/#v0-2-0-rc1">v0.2.0-rc1</a>
|
|
</div>
|
|
|
|
|
|
<div class="toc-item">
|
|
<a class="subtext" href="https://exoticorn.github.io/microw8/versions/#v0-1-2">v0.1.2</a>
|
|
</div>
|
|
|
|
|
|
<div class="toc-item">
|
|
<a class="subtext" href="https://exoticorn.github.io/microw8/versions/#v0-1-1">v0.1.1</a>
|
|
</div>
|
|
|
|
|
|
<div class="toc-item">
|
|
<a class="subtext" href="https://exoticorn.github.io/microw8/versions/#v0-1-0">v0.1.0</a>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="content text">
|
|
|
|
<div class="heading-text">Versions</div>
|
|
<h3 id="v0-4-0">v0.4.0</h3>
|
|
<ul>
|
|
<li><a href="../v0.4.0">Web runtime</a></li>
|
|
<li><a href="https://github.com/exoticorn/microw8/releases/download/v0.4.0/microw8-0.4.0-linux.tgz">Linux</a></li>
|
|
<li><a href="https://github.com/exoticorn/microw8/releases/download/v0.4.0/microw8-0.4.0-macos.tgz">MacOS</a></li>
|
|
<li><a href="https://github.com/exoticorn/microw8/releases/download/v0.4.0/microw8-0.4.0-windows.zip">Windows</a></li>
|
|
</ul>
|
|
<p>Changes:</p>
|
|
<ul>
|
|
<li>add support for sound on mono- and surround-only devices</li>
|
|
<li>update wasmtime dependency to fix performance regression in 0.3.0</li>
|
|
<li>add frame counter since module start at location 72</li>
|
|
<li>add 6 and 7 parameter function types to base module</li>
|
|
</ul>
|
|
<h3 id="v0-3-0">v0.3.0</h3>
|
|
<ul>
|
|
<li><a href="../v0.3.0">Web runtime</a></li>
|
|
<li><a href="https://github.com/exoticorn/microw8/releases/download/v0.3.0/microw8-0.3.0-linux.tgz">Linux</a></li>
|
|
<li><a href="https://github.com/exoticorn/microw8/releases/download/v0.3.0/microw8-0.3.0-macos.tgz">MacOS</a></li>
|
|
<li><a href="https://github.com/exoticorn/microw8/releases/download/v0.3.0/microw8-0.3.0-windows.zip">Windows</a></li>
|
|
</ul>
|
|
<p>Changes:</p>
|
|
<ul>
|
|
<li>add blitSprite and grabSprite API calls</li>
|
|
<li>add support for integer scaling up to 16x for printing text</li>
|
|
<li>fix incompatibility with sound devices only offering 16bit audio formats</li>
|
|
<li>add support for br_table instruction in packed carts</li>
|
|
</ul>
|
|
<h3 id="v0-2-2">v0.2.2</h3>
|
|
<ul>
|
|
<li><a href="../v0.2.2">Web runtime</a></li>
|
|
<li><a href="https://github.com/exoticorn/microw8/releases/download/v0.2.2/microw8-0.2.2-linux.tgz">Linux</a></li>
|
|
<li><a href="https://github.com/exoticorn/microw8/releases/download/v0.2.2/microw8-0.2.2-macos.tgz">MacOS</a></li>
|
|
<li><a href="https://github.com/exoticorn/microw8/releases/download/v0.2.2/microw8-0.2.2-windows.zip">Windows</a></li>
|
|
</ul>
|
|
<p>Changes:</p>
|
|
<ul>
|
|
<li>call <code>start</code> function after loading cart if the cart exports one</li>
|
|
<li>fix <code>sndGes</code> having the wrong name and not being included in the auto imports</li>
|
|
<li>fix control codes 4-6 (change text output mode) being invoked when used as parameters in other control sequences</li>
|
|
<li>only open browser window once a cart was compiled sucessfully when running with <code>-b</code></li>
|
|
</ul>
|
|
<h3 id="v0-2-1">v0.2.1</h3>
|
|
<ul>
|
|
<li><a href="../v0.2.1">Web runtime</a></li>
|
|
<li><a href="https://github.com/exoticorn/microw8/releases/download/v0.2.1/microw8-0.2.1-linux.tgz">Linux</a></li>
|
|
<li><a href="https://github.com/exoticorn/microw8/releases/download/v0.2.1/microw8-0.2.1-macos.tgz">MacOS</a></li>
|
|
<li><a href="https://github.com/exoticorn/microw8/releases/download/v0.2.1/microw8-0.2.1-windows.zip">Windows</a></li>
|
|
</ul>
|
|
<p>Changes:</p>
|
|
<ul>
|
|
<li>new gpu accelerated renderer with (optional) crt filter</li>
|
|
<li>optimized <code>hline</code> function, a big speed-up when drawing large filled circles or rectangles</li>
|
|
<li>print fractional size of packed <code>uw8</code> cart</li>
|
|
</ul>
|
|
<h3 id="v0-2-0">v0.2.0</h3>
|
|
<ul>
|
|
<li><a href="../v0.2.0">Web runtime</a></li>
|
|
<li><a href="https://github.com/exoticorn/microw8/releases/download/v0.2.0/microw8-0.2.0-linux.tgz">Linux</a></li>
|
|
<li><a href="https://github.com/exoticorn/microw8/releases/download/v0.2.0/microw8-0.2.0-macos.tgz">MacOS</a></li>
|
|
<li><a href="https://github.com/exoticorn/microw8/releases/download/v0.2.0/microw8-0.2.0-windows.zip">Windows</a></li>
|
|
</ul>
|
|
<p>Changes:</p>
|
|
<ul>
|
|
<li><a href="docs#sound">add sound support!</a></li>
|
|
<li>add support to redirect text output to the console for debugging using control code 6</li>
|
|
<li>update curlywas:
|
|
<ul>
|
|
<li>add support for <code>else if</code></li>
|
|
<li>add support for escape sequences in strings</li>
|
|
<li>add support for char literals</li>
|
|
<li>add support for binop-assignment, eg. <code>+=</code>, <code>^=</code>, <code><<=</code> etc. (also support for the tee operator: <code>+:=</code>)</li>
|
|
<li>"integer constant cast to float" literal syntax in CurlyWas (ex. <code>1_f</code> is equivalent to <code>1 as f32</code>)</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<h3 id="v0-2-0-rc3">v0.2.0-rc3</h3>
|
|
<ul>
|
|
<li><a href="../v0.2.0-rc3">Web runtime</a></li>
|
|
<li><a href="https://github.com/exoticorn/microw8/releases/download/v0.2.0-rc3/microw8-0.2.0-rc3-linux.tgz">Linux</a></li>
|
|
<li><a href="https://github.com/exoticorn/microw8/releases/download/v0.2.0-rc3/microw8-0.2.0-rc3-macos.tgz">MacOS</a></li>
|
|
<li><a href="https://github.com/exoticorn/microw8/releases/download/v0.2.0-rc3/microw8-0.2.0-rc3-windows.zip">Windows</a></li>
|
|
</ul>
|
|
<p>Changes:</p>
|
|
<ul>
|
|
<li>improve timing stability some more. essentially now guaranteeing that "frame = time_ms * 6 / 100" returns
|
|
consecutive frame numbers, provided the module can be run at 60 fps</li>
|
|
<li>add support to redirect text output to the console for debugging using control code 6</li>
|
|
<li>update curlywas:
|
|
<ul>
|
|
<li>add support for <code>else if</code></li>
|
|
<li>add support for escape sequences in strings</li>
|
|
<li>add support for char literals</li>
|
|
<li>add support for binop-assignment, eg. <code>+=</code>, <code>^=</code>, <code><<=</code> etc. (also support for the tee operator: <code>+:=</code>)</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<h3 id="v0-2-0-rc2">v0.2.0-rc2</h3>
|
|
<ul>
|
|
<li><a href="../v0.2.0-rc2">Web runtime</a></li>
|
|
<li><a href="https://github.com/exoticorn/microw8/releases/download/v0.2.0-rc2/microw8-0.2.0-rc2-linux.tgz">Linux</a></li>
|
|
<li><a href="https://github.com/exoticorn/microw8/releases/download/v0.2.0-rc2/microw8-0.2.0-rc2-macos.tgz">MacOS</a></li>
|
|
<li><a href="https://github.com/exoticorn/microw8/releases/download/v0.2.0-rc2/microw8-0.2.0-rc2-windows.zip">Windows</a></li>
|
|
</ul>
|
|
<p>Changes:</p>
|
|
<ul>
|
|
<li>fix timing issues of sound playback, especially on systems with large sound buffers</li>
|
|
</ul>
|
|
<h3 id="v0-2-0-rc1">v0.2.0-rc1</h3>
|
|
<ul>
|
|
<li><a href="../v0.2.0-rc1">Web runtime</a></li>
|
|
<li><a href="https://github.com/exoticorn/microw8/releases/download/v0.2.0-rc1/microw8-0.2.0-rc1-linux.tgz">Linux</a></li>
|
|
<li><a href="https://github.com/exoticorn/microw8/releases/download/v0.2.0-rc1/microw8-0.2.0-rc1-macos.tgz">MacOS</a></li>
|
|
<li><a href="https://github.com/exoticorn/microw8/releases/download/v0.2.0-rc1/microw8-0.2.0-rc1-windows.zip">Windows</a></li>
|
|
</ul>
|
|
<p>Changes:</p>
|
|
<ul>
|
|
<li><a href="docs#sound">add sound support</a></li>
|
|
<li>"integer constant cast to float" literal syntax in CurlyWas (ex. <code>1_f</code> is equivalent to <code>1 as f32</code>)</li>
|
|
</ul>
|
|
<p>Known issues:</p>
|
|
<ul>
|
|
<li>timing accuracy/update frequency of sound support currently depends on sound buffer size</li>
|
|
</ul>
|
|
<h3 id="v0-1-2">v0.1.2</h3>
|
|
<ul>
|
|
<li><a href="../v0.1.2">Web runtime</a></li>
|
|
<li><a href="https://github.com/exoticorn/microw8/releases/download/v0.1.2/microw8-0.1.2-linux.tgz">Linux</a></li>
|
|
<li><a href="https://github.com/exoticorn/microw8/releases/download/v0.1.2/microw8-0.1.2-macos.tgz">MacOS</a></li>
|
|
<li><a href="https://github.com/exoticorn/microw8/releases/download/v0.1.2/microw8-0.1.2-windows.zip">Windows</a></li>
|
|
</ul>
|
|
<p>Changes:</p>
|
|
<ul>
|
|
<li>add option to <code>uw8 run</code> to run the cart in the browser using the web runtime
|
|
*../ CurlyWas: implement <code>include</code> support</li>
|
|
<li>CurlyWas: implement support for constants</li>
|
|
<li>fix crash when trying to draw zero sized line</li>
|
|
</ul>
|
|
<h3 id="v0-1-1">v0.1.1</h3>
|
|
<ul>
|
|
<li><a href="../v0.1.1">Web runtime</a></li>
|
|
<li><a href="https://github.com/exoticorn/microw8/releases/download/v0.1.1/microw8-0.1.1-linux.tgz">Linux</a></li>
|
|
<li><a href="https://github.com/exoticorn/microw8/releases/download/v0.1.1/microw8-0.1.1-macos.tgz">MacOS</a></li>
|
|
<li><a href="https://github.com/exoticorn/microw8/releases/download/v0.1.1/microw8-0.1.1-windows.zip">Windows</a></li>
|
|
</ul>
|
|
<p>Changes:</p>
|
|
<ul>
|
|
<li>implement more robust file watcher</li>
|
|
<li>add basic video recording on F10 in web runtime
|
|
*../ add screenshot on F9</li>
|
|
<li>add watchdog to interrupt hanging update in native runtime</li>
|
|
<li>add devkit mode to web runtime
|
|
*../ add unpack and compile commands to uw8</li>
|
|
<li>add support for table/element section in pack command</li>
|
|
<li>disable wayland support (caused missing window decorations in gnome)</li>
|
|
</ul>
|
|
<h3 id="v0-1-0">v0.1.0</h3>
|
|
<ul>
|
|
<li><a href="../v0.1.0">Web runtime</a></li>
|
|
<li><a href="https://github.com/exoticorn/microw8/releases/download/v0.1.0/microw8-0.1.0-linux.tgz">Linux</a></li>
|
|
<li><a href="https://github.com/exoticorn/microw8/releases/download/v0.1.0/microw8-0.1.0-macos.tgz">MacOS</a></li>
|
|
<li><a href="https://github.com/exoticorn/microw8/releases/download/v0.1.0/microw8-0.1.0-windows.zip">Windows</a></li>
|
|
</ul>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</main>
|
|
|
|
|
|
|
|
</body>
|
|
<script>
|
|
function highlightNav(heading) {
|
|
let pathname = location.pathname;
|
|
document.querySelectorAll(".toc a").forEach((item) => {
|
|
item.classList.remove("active");
|
|
});
|
|
document.querySelector(".toc a[href$='" + pathname + "#" + heading + "']").classList.add("active");
|
|
}
|
|
|
|
let currentHeading = "";
|
|
window.onscroll = function () {
|
|
let h = document.querySelectorAll("h1,h2,h3,h4,h5,h6");
|
|
let elementArr = [];
|
|
|
|
h.forEach(item => {
|
|
if (item.id !== "") {
|
|
elementArr[item.id] = item.getBoundingClientRect().top;
|
|
}
|
|
});
|
|
elementArr.sort();
|
|
for (let key in elementArr) {
|
|
if (!elementArr.hasOwnProperty(key)) {
|
|
continue;
|
|
}
|
|
if (elementArr[key] > 0 && elementArr[key] < 300) {
|
|
if (currentHeading !== key) {
|
|
highlightNav(key);
|
|
currentHeading = key;
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
</html>
|