JIT and notes for 2024/kurdyukov3

This commit is contained in:
Ilya Kurdyukov authored and GitHub committed 2025-08-03 21:36:13 +07:00
1 parent 4c896b8965
commit 708a2e4795
2 files changed
+683 -1

No files matched your search

+12 -1
View File
@@ -215,7 +215,7 @@ Use:
``` <!---sh-->
./prog lzmadec.bin < sdk.zip.lzma > sdk.zip
``` <!---sh-->
```
to decompress the SDK (.zip archive is without compression).
@@ -271,6 +271,17 @@ the `*.bin` files may be produced via this `make samples` rule:
### Web version
I also wrote a web version in javascript. It is in `ogvm.html`, start a local server with `$ python3 -m http.server 8000` and open `http://127.0.0.1:8000/ogvm.html` in your browser.
Files can be dragged into the window or read from the current directory.
### JIT version
An extended version with a fast JIT compiler (`prog.jit.c`) is also included. Supported architectures for JIT: x86/x86_64/aarch64/e2k. This version can also output graphics to a terminal window when using the `-DTERMIOS` option. For SDL use `-DSDL`.
### Extra notes
This entry was written in September 2020 in one month, later only a bonus JIT was made. The patch for Doom was later used in the [FPDoom](https://github.com/ilyakurdyukov/fpdoom) project (a port of Doom for feature phones).
<!--