r/retrogamedev • • 10h ago Heartwarming

I've been working away on a DOS voxel racing game over the past two years.

Thumbnail youtube.com
53 Upvotes

I wrote a DOS game over two years, some of which was on real hardware (a Pentium 166 MMX at the time), but most of which was on Dosbox-X/86box. The first 18 months was completely hand-coded on free pascals text-mode IDE. Just like I remembered BP7 back in the day.

To make voxel rendering fast enough on a Pentium computer I had to write a ton x86 assembler. Almost everything had to be optimized. I managed to get it to > 80 FPS though.

I love writing things from the ground up, so I wrote my own Sound Blaster driver, made my own PNG/JPEG like formats, and basically reinvented 1990s tech. I even wrote my own git like version control.

More than happy to share the technical details. Here's a few things:

  • Pascal was a lot of fun, and with x86 assembler, is super fast. Plus FPC is a great compiler, so no issues there.
  • Build time is about 1-2 minutes on real hardware, and that's for 50-100k LOC, depending on what I'm compiling.
  • I made my own audio format, video format, JPEG/PNG, zip, and more. They're all *super* fast.
  • Back in the day, I did a lot of 16-bit dos protected mode stuff, but this is Go32v2.
  • It runs in DOS, I think even MSDOS 4.0 is supported, but I've only ever tested it under win98's DOS.
  • Claude code helped me with the last 3-months of dev, but before that it was just me + keyboard + a prehistoric IDE.

You can play the game here https://ninetysix.io/games/airtime/ which runs Dosbox-X emulator in your browser, or you can download the DOS version to play it on real hardware.

I'm happy to go into more of the techniques I used to make this work. Dirty rects, SDF fields for voxel tracing, a voxel splatter, avoiding memory allocations during the game, MMX stuff, etc

If you do get the game running on real hardware, please let me know! I'd love to see a photo of this.


r/retrogamedev • • 2h ago

Castlevania (NES) on GBC, native and 1:1 🦇

Thumbnail gallery
6 Upvotes

r/retrogamedev • • 3h ago

Two-player co-op in Pokémon Emerald and FireRed on mGBA: pair battles reuse the game's own link-cable multi battle, fed over the network

5 Upvotes

I've been working on a co-op mod for Emerald and FireRed/LeafGreen: two players, each on their own emulator, walk the same story together and fight trainers as a pair. A few of the problems were fun to solve, so here's how it works.

The ROM file is never patched. The mod is Lua running in mGBA's scripting API. At boot a loader checks the game code and the original bytes at every hook site, then writes a small Thumb stub (built per ROM with arm-none-eabi-gcc) into a free 0xFF area of the in-memory cartridge copy. If any original byte doesn't match, it installs nothing. The stub hooks in as gMain.callback1, so it runs once per frame, and it has no globals: all of its state lives in a shared-memory mailbox in free EWRAM after the save blocks, which Lua reads and writes.

Pair battles are the game's own link multi battle. Emerald and FRLG already have a 2v2 link battle where each player controls one side. Instead of writing a battle system, the stub hooks the link layer: the 16-byte commands the game would send over the serial cable go into a ring in the mailbox, Lua ships them to the other emulator, and the other side pushes them into its incoming queue. The game thinks a cable is plugged in. Each battle session has a random 31-bit id and a heartbeat every 30 frames, and is cancelled after 600 frames of silence. Afterwards each side keeps whichever copy of its own Pokémon has more experience.

Two story states have to agree. Every event flag and var has a sync class: not synced, union when a player joins, or "take the value of the game that's further along". At runtime Lua diffs against a snapshot, so a change is sent once and never echoes back. One trap: FireRed's Quest Log recap replays old scenes and touches flags while it plays, so sync pauses until it ends.

Staying together. One-time trainers and scripted scenes only trigger if your partner is on the same map within 6 tiles (Chebyshev distance). Otherwise the stub stops the trainer from seeing you and cancels the script, so nobody plays a story beat alone.

No hard-coded addresses. A tool builds a per-ROM symbol table from the pret disassemblies (used as a reference, not as a code base), and the stub is rebuilt from it for each ROM, so another language or revision is mostly data.

Testing is two windowless mGBA instances driven by a Node script that presses the buttons for both players, about 240 scenarios. The footage in the clip was played by that bench. Since rule 2 asks: AI agents wrote a lot of the code; the design, the hook choices and the testing are mine, and I'm happy to go into any part of it.

It runs on mGBA (desktop and Android), not on real hardware: the "cable" is a network socket. Question for people who know the link port better than I do: would it be realistic to feed the same 16-byte commands to a real GBA through a link-cable adapter, or would the timing kill it?

Code and builds (GPL-3.0): tetherwalk.com


r/retrogamedev • • 1h ago

Tama98 - Ported TamaLibRetro for Windows 98

Thumbnail imgur.com
3 Upvotes

r/retrogamedev • • 3h ago

genuine question about features and hardware targeting vs emulator

3 Upvotes

im building a game that is perfect for gameboy (og gameboy not color/adv..etc) im probably never going to ship it in a cart (although that would be cool!)... should i be looking at / targeting specific emulator / emulator features (like netplay)? or stay true to the hardware?

and am i way over thinking this?


r/retrogamedev • • 7h ago

LarsGadiel, a new NES game from Diabolical Mind

Post image
4 Upvotes

r/retrogamedev • • 2h ago

I made a new 128K Spectrum game this year: Os Meninos do Buraco Negro (Black Hole Kids)

Thumbnail youtu.be
1 Upvotes

r/retrogamedev • • 1d ago

I got 3D Pikachu running at 30 FPS on an actual Game Boy Advance!

59 Upvotes

r/retrogamedev • • 1d ago

I made a DOS adventure for my IBM 5150’s amber monitor

15 Upvotes

r/retrogamedev • • 1d ago

Full port of the game Alien vs. Predator to the Sega Dreamcast (and other retro hardware)

Thumbnail gallery
5 Upvotes

r/retrogamedev • • 1d ago

I made a level editor for King's Valley II (MSX) in my open-source port: paint rooms, place mummies, test instantly

Post image
6 Upvotes

r/retrogamedev • • 1d ago

Doom running on a VTech KidiZoom Smartwatch DX4 (kids' smartwatch), with sound and OPL music

9 Upvotes

r/retrogamedev • • 1d ago

Does the Sega CD + 32X Make Sense? I Built a Game to Find Out

Thumbnail youtu.be
3 Upvotes

r/retrogamedev • • 1d ago

ROOT//BOY: a hacking sim for Game Boy Color, free demo playable in the browser

Post image
2 Upvotes

r/retrogamedev • • 1d ago

XL2 is back with a new impressive demo: Mars city from Doom 3 PC version on the Sega Saturn

Thumbnail youtube.com
2 Upvotes

r/retrogamedev • • 1d ago

A Port of Digger to the Gameboy

Thumbnail github.com
2 Upvotes

r/retrogamedev • • 1d ago

WipeOut On Genesis!?— a Wipeout-inspired homebrew racer exploring Sega’s Tower of Power

Thumbnail gallery
2 Upvotes

r/retrogamedev • • 1d ago

Optical Feed - Away Mission. Retro horror first person shooter for Gameboy.

Thumbnail youtube.com
2 Upvotes

Raycaster FPS demo for the original gameboy.

Playable here:
https://crispycathode.com/optical_feed_away_mission/

Sibling project (and distillation of) the Sega Master System version here: https://crispycathode.com/optical-feed/


r/retrogamedev • • 1d ago

3DS slider as a game mechanic?

11 Upvotes

Hey everyone!

I've been experimenting with using the 3DS slider as an actual game mechanic instead of just controlling the stereoscopic 3D effect.

Imagine solving puzzles by changing the depth of objects, revealing hidden paths, switching between dimensions or even manipulating gravity using the slider.

I feel like there's a lot of unexplored potential in the unique hardware features of the 3DS.

What interesting game mechanics would you come up with? I'm curious to hear your ideas! :D

You can already do this in my tool, 3DS Maker: https://arturduleba.itch.io/3ds-maker

More cool stuff coming during Retro Maker Week, December 9–15!


r/retrogamedev • • 2d ago

Monochrome and full color for the GameBoy

Thumbnail gallery
5 Upvotes

r/retrogamedev • • 2d ago

NESDev Compo '26

Thumbnail itch.io
12 Upvotes

r/retrogamedev • • 2d ago

Starting a GBA Tile Maker

Post image
4 Upvotes

r/retrogamedev • • 2d ago

MS-TRES game jam gives us 30 new games for MS-DOS

Thumbnail virtualmoose.org
6 Upvotes

r/retrogamedev • • 2d ago

Behind the tools that made Thief and System Shock

Thumbnail gamedeveloper.com
2 Upvotes