qrboy
- 6 Devlogs
- 12 Total hours
an imaginary game console with an emulator that fits in a qr code with some space for the game!
an imaginary game console with an emulator that fits in a qr code with some space for the game!
made a readme, finished writing some docs and made a video showcasing the project!!
wow that’s quite a lot of time! anyway i was mostly experimenting but also writing an assembler for an assembly-like language! it’s got all the opcodes as well as labels and a couple useful macros. i’ve also made three example games – asteroids.sem, brokeout.sem and patterns.sem!
i used chatgpt to find obvious oversights and optimized the code quite a lot, bringing the total size w/ no payload down to 2211 bytes, leaving space for 556 bytes of code/sprites. here’s snake again!
i saved quite a bit more space by replacing else if with just if, abusing element IDs and saving some common values to variables. here’s the first demo!!
i implemented the emulator!! i haven’t tested most of it just yet, but it does seem to be working – my simple screen-filling program works :3
started planning out the opcodes – most are taken from chip-8, but adapted slightly to 1. be a huffman tree, 2. work with 2KB of memory, 8 opcodes, etc. and 3. be a bit more logical