Write retro games in your browser.

8bitworkshop is an online IDE for 8-bit game and demo development, with emulators for the Atari, NES, Commodore 64, and more. Here's what's new.

Recent posts#

See the blog archives for a more complete list.

  • 2026-11-01 - 8bitworkshop 4.0.0

    It has been a full year since an official 8bitworkshop release, though the latest dev build has always been available via GitHub. There are so many new features it’s hard to sum up in a single paragraph.

    Try the latest build or read the full changelog.

    You may have already noticed the keyboard shortcuts bar at the bottom, a nod to Turbo Pascal, which also inspired the new “context-sensitive” help pages. There’s also a new Search button on the toolbar that finds text in docs, symbols, and code files.

  • 2026-10-19 - Introducing Musicotron

    What was the first arcade game with background music? Technically, it’s Space Invaders, with its Jaws-like repeating dirge. If that’s too minimalist for you, then it’s Rally-X. They relied on sound chips (the TI SN76477 and Namco WSG, respectively) but they needed code to drive the chip, and a data table to represent the tune.

    The music players in 8bitworkshop are inspired by these ancient designs. They’re pretty simple – a song is a stream of notes and wait values, and every video frame the player checks the stream and pokes the sound chip if neccessary.

  • 2026-10-01 - 8bitworkshop News

    8bitworkshop now has a VS Code extension! It bundles most of the compilers and emulators from the 8bitworkshop IDE, so you can use them right inside the editor. It even supports debugging!

    It’s a preview, so there may be some rough edges. It’s okay if you prefer the “classic” IDE – I kinda do, but that’s just my muscle memory. If you want to develop larger projects on your own filesystem, VS Code is worth a look.

  • 2025-11-08 - RISC-V in Your Browser with Verilog

    RISC-V is the fifth generation of an open CPU architecture with its roots in academia. Now that it is headed for ISO/IEC standardization, it’s attracting more interest.

    One nice thing about the RISC-V instruction set is its modularity. There are 32-bit and 64-bit instruction sets, each with a full and compact version. The base instruction sets are very basic; even multiplication and division are provided in an optional extension.

    We can easily run the FemtoRV32 Verilog implementation in 8bitworkshop. This gives us a basic RV32I (32-bit integer) instruction set that we can use in projects.

  • 2025-10-13 - The Three-Stream Versatile Kernel

    In my previous article on the Versatile Playfield Kernel, we explored how to draw complex backgrounds by choosing which register to update on each scanline. But this version didn’t address sprites in particular.

    Becuase the playfield logic only took up to nine cycles per scanline, there was plenty of time left over to draw sprites using one of the typical routines. (You know the one – subtract position and height, test for boundaries, load bitmap and color, store in registers. Boring.)

    Now we’re taking this concept further: what if we could control not just the playfield, but also two sprites using the same versatile approach?

  • 2025-10-11 - The Versatile Playfield Kernel

    In Atari 2600 programming, we struggle to draw two sprites and the playfield (background) within the 76-cycle budget of each scanline. For maximum-resolution single-line updates where we change parameters every scanline, we’d need to look up and write:

    2 registers per sprite (color, bitmap) × 2 sprites = 4 registers

    5 playfield registers (PF0, PF1, PF2, COLUPF, COLUBK)

  • 2025-07-26 - Tiny Atari 2600 ROMs

    On the Atari 2600, a kernel is the term for the highly-optimized assembly code that draws the display, i.e. “races the beam”.

    I was pondering a question: What’s the smallest Atari 2600 kernel you can write?

    I found this AtariAge thread which packs entire ROMs into 32 bytes. Can we do better?

  • 2023-11-05 - VCSLib, A C Library for the Atari 2600

    The previous blog post, “Your 8-bit System is a Weird PDP-11”, discussed several challenges faced when developing in C, especially for the Atari 2600/VCS.

    We’ve overcome those challenges as best we can, and now we can introduce VCSLib, a support library for programming the Atari 2600/VCS with CC65.

    Let’s take a tour.

  • 2023-10-28 - Your 8-bit System is a Weird PDP-11

    The C programming language is the de facto portable, low-level language. It was written with the PDP-11 minicomputer in mind.

    The PDP-11 informed the x86 instruction set, and so in a way, we’re still using them. Today’s computers are so complex that they have to bend over backwards to emulate the simple architecture for which C was designed. It leads some to ask if C is a good fit for modern systems.

    Likewise, the PDP-11 doesn’t have a lot in common with 80s arcade games. Game programmers in the 8-bit era wrote code predominantly in assembly language. The C language was around, but mostly in UNIX systems. If anything, they would have been more likely to use a homespun language like Zgrass or even FORTH.

    _images/pdp11.jpg

Comments