Octo: A Chip8 IDE

https://news.ycombinator.com/rss Hits: 10
Summary

Octo Octo is a high-level assembler for the Chip8 virtual machine, complete with an environment for testing programs, and tools for sharing your creations. Read about the project on Itch.io! Links General information: Third-party tools and references: Third-party games, programs and libraries: KNIGHT by Simon Klit-Johnson. (Game) OCTOPEG by Chromatophore. (Game) Masquer8 by Chromatophore. (Game) Glitch Ghost by Jackie Kircher. (Game) CosmacCalc a COSMAC VIP spreadsheet built with Octo. Misc Samples small programs by Bj枚rn Kempen. Stack reusable stack data structure. Chip8-multiply reusable multiplication routines. Octo-Lfsr64 reusable PRNG implementation. If you've built a project on, with, or for Octo and you'd like to have a link added to this list, submit a pull request! Command Line Mode The Octo assembler can also be used as a command-line tool via a Node.js frontend: $ ./octo usage: octo [--decompile] [--options <file.json>] <source> [<destination>] if <source> has a .gif extension, unpack an existing octo cartridge. if <destination> has a .gif extension, create an octo cartridge file. if <destination> has an .html extension, create a standalone HTML5 build. if the specified options file does not exist, a new template will be created. $ cat simple.8o : main va := 1 vb := 2 $ ./octo simple.8o simple.ch8 $ hexdump simple.ch8 0000000 6a 01 6b 02 0000004 The --decompile option can be used to send an existing Chip8 binary through Octo's general-purpose decompiler. The --options option allows you to specify a JSON file with settings for all of Octo's feature flags and palette configuration, which will be used for exports and as hints during decompilation. If the specified file does not exist, a template will be created with default settings. If you're interested in using Octo from the command line, you might like c-octo. Sharing Your Programs Octo has a share feature which stores source code and configuration metadata and produces a URL you can share with others. By...

First seen: 2025-12-12 11:43

Last seen: 2025-12-12 20:48