diff --git a/Cargo.toml b/Cargo.toml index 590930d..c14a48c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uw8" -version = "0.2.1" +version = "0.2.2" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/README.md b/README.md index 39e839a..e6a9d3e 100644 --- a/README.md +++ b/README.md @@ -15,9 +15,9 @@ See [here](https://exoticorn.github.io/microw8/) for more information and docs. ## Downloads -* [Linux](https://github.com/exoticorn/microw8/releases/download/v0.1.2/microw8-0.1.2-linux.tgz) -* [MacOS](https://github.com/exoticorn/microw8/releases/download/v0.1.2/microw8-0.1.2-macos.tgz) -* [Windows](https://github.com/exoticorn/microw8/releases/download/v0.1.2/microw8-0.1.2-windows.zip) +* [Linux](https://github.com/exoticorn/microw8/releases/download/v0.2.2/microw8-0.2.2-linux.tgz) +* [MacOS](https://github.com/exoticorn/microw8/releases/download/v0.2.2/microw8-0.2.2-macos.tgz) +* [Windows](https://github.com/exoticorn/microw8/releases/download/v0.2.2/microw8-0.2.2-windows.zip) The download includes diff --git a/site/content/_index.md b/site/content/_index.md index a97dbc6..d953e6b 100644 --- a/site/content/_index.md +++ b/site/content/_index.md @@ -14,6 +14,8 @@ The initial motivation behind MicroW8 was to explore whether there was a way to * Memory: 256KB * Gamepad input (D-Pad + 4 Buttons) +For detailed [documentation see here](docs). + ## Examples * [Skip Ahead](v0.2.0#AgVfq24KI2Ok2o8qVtPYj27fSuGnfeSKgbOkIOsaEQMov8TDYQ6UjdjwkZrYcM1i9alo4/+Bhm1PRFEa0YHJlJAk/PGoc2K41rejv9ZSqJqIHNjr7cappqhOR2jT+jk+0b0+U6hO+geRCTP2aufWs7L+f/Z27NFY8LKlqPSv+C6Rd6+ohoKi6sYl5Kcrlf1cyTinV7jTTnmbcXWVDBA5rRKxAGMUTDS8rHxqSztRITOaQVP1pSdYgi/BDdOJOxSOIkeaId84S+Ycls5na7EgwSfVIpgqF+tcfkUecb8t2mQrXA7pyKrh/wzHn5N6Oe5aOgmzY2YpTIct) (249 bytes): A port of my [TIC-80 256byte game](http://tic80.com/play?cart=1735) from LoveByte'21, now with sound * [Fireworks](v0.2.0#AgwvgP+M59snqjl4CMKw5sqm1Zw9yJCbSviMjeLUdHus2a3yl/a99+uiBeqZgP/2jqSjrLjRk73COMM6OSLpsxK8ugT1kuk/q4hQUqqPpGozHoa0laulzGGcahzdfdJsYaK1sIdeIYS9M5PnJx/Wk9H+PvWEPy2Zvv7I6IW7Fg==) (127 bytes): Some fireworks to welcome 2022. @@ -29,6 +31,20 @@ Examplers for older versions: ## Versions +### v0.2.2 + +* [Web runtime](v0.2.2) +* [Linux](https://github.com/exoticorn/microw8/releases/download/v0.2.2/microw8-0.2.2-linux.tgz) +* [MacOS](https://github.com/exoticorn/microw8/releases/download/v0.2.2/microw8-0.2.2-macos.tgz) +* [Windows](https://github.com/exoticorn/microw8/releases/download/v0.2.2/microw8-0.2.2-windows.zip) + +Changes: + +* call `start` function after loading cart if the cart exports one +* fix `sndGes` having the wrong name and not being included in the auto imports +* fix control codes 4-6 (change text output mode) being invoked when used as parameters in other control sequences +* only open browser window once a cart was compiled sucessfully when running with `-b` + ### v0.2.1 * [Web runtime](v0.2.1) diff --git a/site/content/docs.md b/site/content/docs.md index c26c2d8..71a8f41 100644 --- a/site/content/docs.md +++ b/site/content/docs.md @@ -12,6 +12,9 @@ at offset 120 in memory with the 32bpp palette located at 0x13000. The memory has to be imported as `env` `memory` and has a maximum size of 256kb (4 pages). +If the module exports a function called `start`, it will be called once after the module is +loaded. + # Memory map ``` diff --git a/site/static/v0.2.2/index.html b/site/static/v0.2.2/index.html new file mode 100644 index 0000000..afff28c --- /dev/null +++ b/site/static/v0.2.2/index.html @@ -0,0 +1 @@ +
diff --git a/web/src/index.html b/web/src/index.html
index 88dec57..e56012b 100644
--- a/web/src/index.html
+++ b/web/src/index.html
@@ -10,7 +10,7 @@