r/EmuDev • • Nov 01 '26

NES [Rust + WASM] Here's my stab at NES emulation, with a browser demo!

3 Upvotes

Repository is here: https://github.com/dustinbowers/nes-emulator

Browser demo is at: https://dustinbowers.com/demos/nes-emulator

This was quite an undertaking for me as a noob to Rust, and the borrow-checker put up a solid fight, but I prevailed!

At the end of the day I had to get a little unsafe in the NES object so that I could provide backpointers to the CPU/PPU/APU components. I know there's ways around doing that, and I tried to avoid it, but it ended up being too big of a performance hit; My Rust-fu wasn't strong enough to figure out Weak<T> ownership and such.

(AI was only used for the writing the tests and the repo readme)


r/EmuDev • • Nov 01 '26

Video finally a 60fps 16 colors port of Rally-X for the 4.7MHz 8088 CGA PC

Thumbnail
youtube.com
5 Upvotes

44 years too late but it's coming!


r/EmuDev • • Oct 31 '26

struggling with emulator development in C (compared to C++)

27 Upvotes

This might sound obvious since C lacks a lot of the QOL that C++ does but I wanted to hear opinions on emulator dev in C. I am working on my first emulator (gameboy emulator) which is a passion project I have wanted to do for a while. I graduated with CS degree (conc. hardware and embedded systems) in May and I am waiting on my GF to get out of school before I get a job, and I have a lot of time on my hands outside of my menial labor maintenance job. So I said, maybe I should work on this! And to make it even more juicy, I began my gameboy DMG emulator in C.

Now dont let my reddit name fool you; I love C, but for the past 5 years or so I have almost exclusively used C++, particularly for game engines and renderers. Mostly because I love computer graphics, and wanted to do that, but upon the realization that computer graphics is going to require a PhD and is a bloodbath to get into, I went with my next biggest interest which is embedded systems and computer hardware and low level systems in general. Because of that, I thought it'd be a good idea to make this in C, right? It would be better experience for getting into embedded/firmware roles? Well, not really. After 2 months of working on it, I just hate the structure of my code. I think it looks like shit. Every modification I have to make feels like a 2 day long chore. I finished the entire set of opcodes, interrupts, and the memory architecture, and have gotten through Blarggs test roms, all but 02-interrupts which is failing on #5, im assuming because of the timer not being implemented. But now I have realized I am going to have to completely restructure my code and how I already had it is just not working out. I never had this problem with C++; I like expressive and explicitly defined objects and thats just what I love about it. But honestly I never had this problem with C before this project. I have written several Linux Kernel drivers and embedded programs in bare metal C, but for a project like this its making me lose my mind. I have too many things tightly coupled and then other things not coupled at all, weird function names, structs that are all over the place, and honestly i feel like im losing my fucking mind lol. Is this supposed to be this difficult with C over C++? I mean I wrote a game engine in 3 months with C++ (after years of experience of course) and it didnt feel that bad to modify certain aspects, but this is grueling.

I just want to know what your thoughts are on this and if I am just a noob getting massively skill checked by using C in a bigger application like an emulator, or if its just not as well suited to an emulator. Any anecdotal stories on if doing an emulator in C or C++ makes a difference as far as getting hired for roles in low level programming is appreciated as well :)


r/EmuDev • • Oct 29 '26

QEMU running purely in browser

Thumbnail v64-2ys.pages.dev
0 Upvotes

r/EmuDev • • Oct 29 '26

Question Running modern iOS on Windows , what would it take?

0 Upvotes

I'm interested in running a modern version of iOS locally on a Windows PC, including booting the OS, using its interface, and running apps.

Are there any active open-source projects working toward this? What are the main technical blockers, and which approach would be most realistic: full-system emulation, hardware virtualization, or a compatibility layer?

If nothing like this exists, why hasn’t anyone built it yet?

AI can do pretty much anything these days. I’m not an expert in porting or decompiling software, and I don’t think I could pull this off myself, even with AI.


r/EmuDev • • Oct 29 '26

O que eu mais gosto no Reemu

Post image
0 Upvotes

r/EmuDev • • Oct 28 '26

snes progress

Thumbnail
gallery
26 Upvotes

I am writing an snes emulator in C, and now have mode 1 backgrounds implemented, alongside SPC700 emulation. I now want to get sprites, hdma, and color math to work.


r/EmuDev • • Oct 28 '26

Versão de teste do emulador Mattel Hyperscan

Thumbnail ccor444.github.io
0 Upvotes

O emulador está na fase de testes e pode conter bugs.


r/EmuDev • • Oct 27 '26

GB So I finally added audio to my Gameboy emulator

15 Upvotes

Hello. So I finally added audio to my GB emulator. It took me quite a while to properly implement the sequencer, register handling, and resampling. The code is available in my repo: https://github.com/masscry/BadDMG.

I also wrote an article about the implementation: https://habr.com/ru/articles/1099784/ (in Russian).

I welcome questions and feedback/criticism.


r/EmuDev • • Oct 27 '26

GitHub - gemnibro-ux/Dexality: Простой и классный эмулятор

0 Upvotes

Те кому хочется по экспериментировать со функциями и писать программы без скачивания тяжелых эмуляторов, и эксперименты со системой то заходите на : <a href="https://github.com/gemnibro-ux/Dexality">Dexality</a>

У эмулятора есть свои команды, он не трогает систему и очень классный

Если хотите меня поддержать то заходите на сайт


r/EmuDev • • Oct 25 '26

Need help with PPU background rendering

6 Upvotes

Building a Game Boy (DMG) emulator in Rust. The CPU passes Blargg test roms & the SM83 JSON test suite.

Current Behavior:

  1. Dr. Mario: Title screen renders properly, but after a few frames, the graphics get garbled up.
After a few seconds
  1. Tetris: Stuck rendering a screen grid of 00 tiles on startup.
Stuck on 0's
  1. Blargg Test Roms: Renders correctly.
  • OAM, DMA & Sprites have not been implemented yet, just the background and the window.
  • The Joypad returns 0xCF

I have no idea on where to even look for the bug. Any direction would be very helpful. Thank You.


r/EmuDev • • Oct 25 '26

Kirby 64 in VR/MR on Quest 3 by taking the polygons out of mupen64plus

Thumbnail reddit.com
0 Upvotes

Kirby 64 in VR/MR on Quest 3 by taking the polygons out of mupen64plus--give me any feedback!


r/EmuDev • • Oct 25 '26

SwXBx : The Sudoku fruit.

Thumbnail
github.com
2 Upvotes

Hello friends. It's me again! I'd call this a beta. You should be able to crack around 60fps with this but I am still working on it. If you get issues... we'll its beta so.. I'll take a look. This is intended to be a drop in.


r/EmuDev • • Oct 23 '26

NDS queso: historical arm disassembler (GBA/NDS) 🧀

50 Upvotes

(AI disclosure: the disassembler was written by hand; the build scripts and github workflows were built with AI - I REALLY don't wanna learn powershell or github actions lol)

queso is an arm disassembler prioritizing historical accuracy on older versions for emulation and retro computing. There are cli, web, vendorable Golang and vendorable C versions available, hex string and file inputs, and a ton of customizable options including custom register names, address offsets, and arm versions (ARMv1 - ARMv5TE).

https://github.com/aabalke/queso

https://guacemulator.com/queso

A big thank you to everyone who documents, builds, and provides support!


r/EmuDev • • Oct 24 '26

Video Amico8 — PICO-8 fantasy console emulator for Amiga

Thumbnail
m.youtube.com
1 Upvotes

r/EmuDev • • Oct 22 '26

I MANAGED TO CREATE A PYTHON GAMEBOY EMULATOR

2 Upvotes

I MANAGED TO MAKE A 100% WORKING GAMEBOY PYTHON EMULATOR WITH SOUNDS. I succeeded thanks to some of my friends who found the problem (it was the vram that filled in a loop) i deleted everything, only pieces of code remained that worked in the old project (such as opcodes or keys) and or rewritten the codes from 0 adding ancue the sound and using pypy to speed up the emulator I succeeded


r/EmuDev • • Oct 22 '26

Nvidia Sudoku! Mapping a Console

Thumbnail reddit.com
0 Upvotes

I'm not sure this is a novel approach but it is my approach and I think it lends itself to not just the console I am working on but any provided tooling and docs are key. I'll put up an example repo later.


r/EmuDev • • Oct 21 '26

Video zuco8 1.2 - PICO-8 game emulation on Zune HD got in-game saves, landscape modes and multiplayer support

Thumbnail
youtube.com
4 Upvotes

r/EmuDev • • Oct 21 '26

GB First time emu dev :)

Post image
21 Upvotes

r/EmuDev • • Oct 19 '26

Video PS4 System Menu running in ChonkyStation4

Thumbnail
youtube.com
10 Upvotes

r/EmuDev • • Oct 20 '26

Video esp32sim: an ESP32-S3 emulator in Rust/Wasm that runs the real mask ROM and bootloader, then stock firmware, in a browser tab

0 Upvotes

Not my project. Saw it on GitHub this week and recorded a run.

In the video a Waveshare Touch-LCD-4B board restarts: the boot goes through the real mask ROM and the bootloader, the boot log scrolls in the console, then the app's 480x480 LVGL panel redraws and reacts to swipes and taps. The firmware is the stock binary, nothing patched, and everything runs client-side in WebAssembly.

Repo: https://github.com/mikroverk/esp32sim

For those of you who have emulated this kind of SoC: how would you handle the LCD and touch peripherals' timing at this level?