I love these tiny VM's, thanks to emulation I'm there since two decades.
On a Chip8 interpreter written in AWK and a bit of help of coreutils (to mimick getchar in C to pick a single char; if you can do it under AWK without resorting to GNU od or read, kudos):
On a Chip8 interpreter written in AWK and a bit of help of coreutils (to mimick getchar in C to pick a single char; if you can do it under AWK without resorting to GNU od or read, kudos):
https://git.luxferre.top/dale-8a/log.html
OpenBSD and the rest of BSD users: you need to install 'coreutils' from ports, open 'dale8a.wk' and 'tgl.awk' and rename 'od -' to 'ggod -' .
Proof that it works:
https://0x0.st/KC_k.png
reply