r/EmuDev • • 46m ago

6502 emulation (Apple II, C64, Atari 8-bit)

Thumbnail
gallery
1 Upvotes

Hi all.

I've been building Pocket6502 which started off as an Apple II emulator for Android. The app is basically a homage to the 6502 CPU that gave a lot of us wonderful childhood memories playing games.

The app right now supports: 800XL, 400/800, 130XE (and it's NTSC variants), Apple II, II+, IIe, IIe Enhanced, IIgs, C64, C64 NTSC, C64C.

I know my app is not the first on the scene. What's so special about Pocket6502 is the way it tackles the input systems for the emulated machine, and how it adds some simple quality of life features. It has a highly customizable input system (see https://rainbowdev-studio.gitlab.io/pocket6502/help/ for online help with many more screenshots and what the emulator is capable of):

Split keyboard strips beside the screen

Custom profiles per game: drag keys, a joystick, a D-pad or fire buttons onto the strips and label them (e.g. "F FIGHT", "C CAST")

Words: predictive typing for BASIC commands (type RU, tap RUN)

Paste text straight into the machine (you can tap text from the Atari's screen and that inserts the word into the input buffer!)

Support for external game controllers (Bluetooth / usb), keyboard, mouse, as well as emulating the Atari joystick and paddle.

CRT shaders, fast loading, and continue where you left off

Ability to start individual programs on a disk that has multiple files

You supply the ROMs for your machines of course.

I'm also collecting feedback on what features you would like to see in the app so that I can further improve it. The goal is to give users a very simple system they can pick-up and play and put down immediately. RetroArch already does a very good job emulating via libretro but I found RetroArch too daunting for beginners (there's hundreds of settings that you can tweak).

My app is $5 on Google Play, but the app is open source (GPLv3). All the source is on GitLab so you can always build it yourself. The $5 is a convenience fee - you get a signed build and automatic updates and it helps me keep developing it.

Google Play: https://play.google.com/store/apps/details?id=com.pocket6502

Source: https://gitlab.com/rainbowdev-studio/pocket6502


r/EmuDev • • 14h ago

GBA Can't call subroutine from a linked in object file in GBA assembly

Thumbnail reddit.com
2 Upvotes

r/EmuDev • • 1d ago

A New C/C++ SDK for the NEC PC Engine

2 Upvotes

I've been working on PCE SDK, a development environment designed to make homebrew development for the NEC PC Engine easier.

The idea is to provide a complete C/C++ development workflow, bringing together compilation, graphics tools and music integration.

Some of the features include:

  • C/C++ development for PC Engine.
  • PNG and Aseprite graphics support.
  • Tiled integration for maps and levels.
  • Furnace integration for music.
  • HuCard, SuperGrafx and CD-ROM² support.
  • Playable examples directly in the browser.

I'm building this project because I enjoy retro console development and wanted to make creating new games for this hardware more accessible.

You can explore the SDK and try the examples here:

https://anatagawa.fr/pce/

I'm curious to hear from other PC Engine developers.

Feedback and suggestions are very welcome!


r/EmuDev • • 1d ago

Five years later: _something_ works in my IIgs

9 Upvotes

The title isn't hyperbole; I first started my IIgs in October 2020.

It's always been a bit of a back-burner task though: documentation on the memory layout and some of the other Apple-specific decisions is ambiguous enough that when you combine that with a brand-new implementation of the 65816 and with the fact that nothing is high-level emulated even down to the keyboard sitting across a wire-by-wire ADB bus, every minor issue always had a long candidate list.

So it's been a case of an occasional minor fix here, an occasional minor fix there, and finally a first mostly-working piece of software more than half a decade later. Even now I've naturally picked one of the flattering titles. Quite a lot of the rest doesn't work.

Some fun recent fixes that helped to move the needle:

  • timers weren't actually advancing on my ADB microcontroller, so it was collecting keypresses but not passing them on to the CPU;
  • the sound GLU and Ensoniq DOC, which I've implemented as a single thing and which is used by the system both for audio and for timers, were counting too quickly and hence over-interrupting the CPU; and
  • yet more of the usual 65816 stuff where e.g. being in emulation mode causes some instructions to stick to the 6502 rules about stack addressing but not others.

As an aside, all known outstanding issues with the 65816 test corpus have been fixed in the meantime. So jump on that if you have any interest.

Also part of my reason for doing the IIgs was to build out my ADB support in pursuit of doing higher-order Macs than the Mac Plus that I currently top out at. So it'll be nice to feel unblocked there.

The emulator itself though still have a multitude of issues so it'll remain an unpublished machine for the time being. Especially:

  • to do an accurate reproduction of the standard IIgs monitor you need to apply a 2d lowpass filter, which I do not currently have any support for;
  • the IWM loads very slowly for reasons as yet undiagnosed; and
  • it's still probably 50:50 on whether software will load, so clearly many other system-level bugs remain.

Regardless, for now now I'm going to enjoy being where I probably expected to be on this machine in early 2021...


r/EmuDev • • 1d ago

AI-assisted PS2 reverse engineering for a native Switch port?

Thumbnail reddit.com
0 Upvotes

r/EmuDev • • 2d ago

[Release] Virtual Infocom

Thumbnail reddit.com
2 Upvotes

r/EmuDev • • 3d ago

CHIP-8 Don’t delegate the fun away.

Post image
79 Upvotes

Got inspired by Gabe Sampson, thank you; Wasn't sure if I should post this, but I shared it in a small Discord server and got a few DMs from people who appreciated it. So here I am boring the rest of you with my "achievement".

The last few years have felt like constantly grieving. Something I fell in love with as a kid, spent most of my life getting good at, and was lucky enough to make a living from has lost so much of its value in just a few years. I know this might sound stupid to some, but it feels like losing a loved one.

I’ve accepted using AI for work, and I’m grateful I got to earn a living doing something I loved for so many years. It’s a privilege most people never had in the first place.

But this stupid AI era has made doing what I once loved feel like a waste of time. I no longer felt accomplished and never really understood why I kept pressing the “easy button” to solve the hard (fun) problems the moment this button was shoved in my face.

If you feel even remotely the same, please try this. Have a project where you don’t use AI. Not for autocomplete, not for brainstorming, nothing at all.

And if you have no idea what the fuck I’m talking about, I’m genuinely happy for you.

Anyway, here’s my least favorite Chinese e-waste drawing a zero, one of its first signs of life. I did that, because I wanted to do it. It’s the least impressive thing I’ve built in over a decade, yet it gave me a sense of accomplishment I haven’t felt in four years.

It’s a pure AArch64 Linux assembly (GNU as syntax, AAPCS64) CHIP-8 interpreter for this piece of junk named an R36S (or any other RK3326 e-waste)

TLDR: Don’t delegate the fun away, that’s your job.


r/EmuDev • • 4d ago

Pippin emulation on RPI4 and RP5

4 Upvotes

Hi Everyone - I've been working on getting the Bandai Pippin emulated on a RaspberryPi 4 with my Retropie setup.

Specifically, I'm using a combination of DingusPPC and SheepShaver's JIT with modifications to get this running full speed. Right now it works on my Pi-4 based RetroPie setup, and I'm working on RaspberryPi 5 support.

It works beautifully so far, with my testing. Work continues, but if anyone wants to give this a try, below is the link to my fork.

https://github.com/mathan416/dingusppc-pippin/


r/EmuDev • • 4d ago

I built an emulator for my cyberdeck

Thumbnail reddit.com
1 Upvotes

Since emudev is all about emulators, I should not that this is technically a simulator and not an emulator. The apps for this platform are built around a high level interface, so that they can run efficiently on other platforms. The simulators can support this higher level interface, without needing to emulate specifics of the hardware (armv7a in this case).

I'll probably build a proper emulator in the future to more faithfully recreate timing and other hardware peripherals.

I thought folks here might find it interesting, let me know what you think.


r/EmuDev • • 5d ago

NES Emulator, WEB / ANDROID ...saves compatible between devices

0 Upvotes

Hey guys,

Project started in 2023.

www.vajnes.com

There is an android version on the playstore, i will try and get an iOS version out ASAP.

Would appreciate feedback on adjustments to the UI, bugs etc. etc.

Being an older bloke at 38, and having grown up on this system and owning and using it through multiple generations (upgraded to a toploader when the side loader was too far gone) I've been around in regards to emulators and so forth, so I've tried to make it the best emulator possible.

Try the web version with a custom retro effects set up, then fullscreen with aspect ratio maintained.
I am sure you'll be impressed.

Project was hand coded up until around 80%, I started losing interest in sometimes spending hours upon hours debugging failing ROM tests, I was on 99 passes in accuracy coin and could probably have had more debugged and passing manually.

In the end AI became advanced (July this year) and I tested it out.
I told it I didn't want the audio in javascript and to use webasm / C++ and it nailed it straight away.

The audio was already there to process, without an actual output engine.

In the end all my bandaids on the PPU weren't quite enough to have 100% of PPU accuracy and when checking the code astra seems to have changed that quite extensively, though it still uses my scanline LUT and all my variables and architecturally runs the same.

For people asking how to start on an emulator, I started (and stopped) a mini series on my next EMU

https://www.youtube.com/watch?v=7YJJClK9BkU&list=PLU-a7KxRv5ao&pp=sAgC

I will try and get back into this eventually.
Thing is the Z80 becomes an audio co processor in the next generation (MD / Genny), so upon completion, it simply becomes 'part' of a megadrive emulator.


r/EmuDev • • 5d ago

Video I've been working on a Vectrex emulator for iOS and Android, with a special surprise: Star Wars arcade with gyro controls!

Thumbnail
youtu.be
3 Upvotes

Hello everyone!

I've been developing Vactrex Emulator, a mobile emulator dedicated to the Vectrex. It supports the Vectrex game library, and I've also been creating original games for it.But there's something else I think this community might appreciate.

I've implemented the original 1985 Atari Star Wars arcade game and The Empire Strikes Back, using the phone's gyroscope as the flight controller.

You physically tilt your phone to control the ship. It actually works surprisingly well and makes these classic vector arcade games feel right at home on a mobile device.

Current availability:

  • iOS: Available now on the Apple App Store as Vactex Emulator.
  • Android: Currently in testing.

I'm giving awa 100 codes for free to this comunity. If you're interested, send me a private message with your email address and I'll add you to the testing list and give you your free code.

This is an independent project, and I'd appreciate feedback from people who actually know and love vector gaming.

NO ROMS ARE PROVIDED AT ALL YOU NEED TO PROVIDE YOUR OWN ROM.

Thanks for checking it out!


r/EmuDev • • 6d ago

Nintendo 64 finally running on Symbian s60v3!

Thumbnail gallery
3 Upvotes

r/EmuDev • • 7d ago

Extended my GB emulator built in pygame, python to GBC

12 Upvotes

AI disclaimer: AI was used only for debugging and disassembly, no AI generated code was used ever, and no agentic code as well

Hello everyone, today I wanted to showcase my GBC emulator that I derived from my earlier GB implementation: https://github.com/atifcodesalot/hazelnut-gb-emu. It was a fun (and buggy) experience. The pypy runtime gracefully shouldered the double speed mode! It is also backwards compatible with the GameBoy. Did you know that the DMG compatibility mode introduces actual three new palettes for the original DMG games? Anyways it currently supports MBC 1, 2, 3 and 5. I have no idea how to implement MBC7 for the Kirby Tilt 'n' Tumble 😭 not because of the EEPROM but also the accelerometer emulation. Also, still working on the sound! I also plan on implementing serial functions for LAN play (hopefully). What do you think? Would love to discuss technical stuff and implementation details! Enjoy. Oh, and don't forget to clone the repo and play some stuff yourself I recommend Pokemon Yellow


r/EmuDev • • 7d ago

GB Getting Past Intense Burnout

21 Upvotes

Hello, I have been working on a Game Boy emulator in C for about 3 months now. This was my first largescale project in C, as before I did all my projects in C++ and really enjoy C++, specifically for graphics which is my other interest. However, having just graduated college and being more practical, my other passion is low level systems/computer architecture/embedded systems (I kind of lump them all together). Thinking that an emulator would be a good project, and deciding C would be a good language to do it in as I have a bit of exp (not near as much as C++) and is more useful in embedded which is a more practical career field than graphics and another one of my interests, i hit the ground running.

for about a month or 2 i did nothing but code on this emulator. Getting the instructions to execute correctly was my main thing at first, then setting up the bus, connecting the CPU and the Bus, and once I passed all of Blargg's test roms for almost all CPU instructions, I switched gears to the timers and interrupts so that I could pass test 02-interrupts, the only one that wasnt passing (because its timers and interrupts).

However, having feeling very accomplished already, I decided to take 2 weeks off before Halloween to play resident evil and chill and watch horror movies. The day after halloween I went to work and on my lunch break opened up my laptop to do some coding. But I just couldn't get anywhere! I was trying to remember what all my code was, and I guess I am just so used to programming in C++ where its easier to structure code with classes that I was just lost, even though my code honestly isn't that bad ( i dont think). Same thing the next day, and the next. 4 weeks later and I just cannot get anything done now and I have completely lost my momentum. I dont know if I am just really bad at structuring code in C or if this is normal in C, or if maybe im just at a very difficult part in the emulator (failing on HALT), but I have lost any and all momentum.

Anyways, here is the repo:

Arden-Stanley/game-boy-emulator: Implementation of my own GameBoy emulator

If anyone has any tips on how to prevent burnout or just how to do better with my structure in general, please let me know because I feel like im losing my mind.


r/EmuDev • • 9d ago

Elppa: An Apple I Emulator that Runs in your Browser

Post image
1 Upvotes

Earlier this year, I developed an instruction-level accurate MOS 6502 CPU emulator in C# called Velutia as a learning project. A few months ago, I decided to use it as the basis for Elppa, an Apple I emulator.

Using Blazor WebAssembly for the front-end, Elppa is hosted on Azure Static Web Apps and supports both desktop and mobile. It comes pre-loaded with some games, and you can also write your own programs in either Integer BASIC or machine code.

Give it a try here:

https://elppa.markjames.dev


r/EmuDev • • 10d ago

Video Diablo running on a real Nintendo 64 — DevilutionX port (kestrel64-sdk)

Thumbnail
youtu.be
6 Upvotes

Hi! This is DevilutionX (the open-source Diablo engine) ported to the N64 with kestrel64-sdk, a bare-metal SDK I'm writing from scratch (own RSP microcode, no libultra/libdragon).

Filmed off the TV on a stock N64 + Expansion Pak, booting from a flashcart. Tristram, the cathedral and the first fights, with music and sound.

It's work in progress. No ROMs or game data are distributed: you need your own copy of Diablo.

Happy to answer technical questions!


r/EmuDev • • 11d ago

Open Source - Sega Model 1&2 emulator

Thumbnail
github.com
5 Upvotes

r/EmuDev • • 11d ago

feel like I'm getting somewhere 68000 emulator and micro bios

9 Upvotes

Really starting to make progress, this is an emulated 68000 with virtual keyboard, block device, and video renderer. It boots into a bios using picoLibC and littleFS support, the bios has a very crude cli which can execute re-locatable binaries loaded into the heap

I need to tidy a few loose ends before it goes on codeberg...


r/EmuDev • • 14d ago

CHIP-8 CHIP-8 Handheld Optimized for Small Scale Production

Post image
48 Upvotes

I've spent almost a year to build this CHIP-8 Handheld Game Console.

As for the emulator itself, I made it on my own. It's written in C. I've integrated it into the firmware.

I made everything else on my own, including the electronics, enclosure, firmware, website, etc.

AFAIK, this is the most well-polished, production-ready CHIP-8 Handheld Game Console ever published as of the time of writing. And it's fully open source!

Feature:

  • Fully Compatibility with VIP and SuperCHIP instructions
  • Partial support for XO-CHIP (4K memory, monochrome only)
  • Up to 90 instructions/frame
  • Game storage on TF card (Supports FAT16/FAT32, 8.3 filename)
  • White labeling support (enclosure label, boot screen, user manual graphic, etc.)
  • Optimized for small scale production (10~50 units per batch)
  • Fully open source

More info:

Ordering:

This is a hobbyist project. I mainly intend to sell in small scale to fellow Toki Pona speakers and other friends I've got and they can enjoy a discounted price. I'm not sure if there's even a demand for the mass public. If you're interested tho, please fill in the Ordering Form here: https://ilomusi8.sadale.net/en/order . The estimated price is US$30~60 plus shipping. Update 2026-11-18: for mass public you can still make an order with standard pricing of US$40 plus shipping: https://ilomusi8.sadale.net/en/order [exact price may subject to change in the future]

Alternatively you can build a unit on your own. The design is fully open source. Please visit the Github page for more info.


r/EmuDev • • 14d ago

Video Vi Mostro I Miei 2 Emulatori In Python

8 Upvotes

Nell Arco di due mesi oltre al emulatore del gameboy o finito oggi 2 emulatori piu importanti quello del nes “PyNES-Win” E Intel 8088 “WinInt8088”. Per il nes mi sono ispirato a NesEmupy gli o copiato la parte dell inserimento della rom e i dati che stanno venendo mandati. Nel Intel 8088 invece mi sono ispirato a PyPc il codice o fstto tutto io la logica invefe lho presa da lui e o copiato 2 dei file piu importanti telnet e vnc li o copiato adattai al mio codice e mi servivano per far vedere quello che succedeva nel emulatore senza andare a casaccio


r/EmuDev • • 14d ago

CHIP-8 Finishing touches on CHIP-8 interpreter

16 Upvotes

Hi, all.

I have come close to completing my CHIP-8 interpreter. I set out with the goal of completing a project, since I have been plagued with the inability to do so for years. I was hoping to garner some feedback about design, C language use, or anything else you would like to see implemented.

During this project, I finally made the decision to be done with AI for personal use. In the beginning I used it lightly to ask questions when I got stuck, but I felt it was taking away from the experience of building something all by myself. All of the code is hand-written by me.

Thanks for your time!


r/EmuDev • • 15d ago

First ColecoVision BIOS screen

Post image
40 Upvotes

r/EmuDev • • 15d ago

SueMeSony (PS Vita emulator) progress

21 Upvotes

Been working on my PSVita emulator time to time. Boots Minecraft with extra funny spices, some android games (RVGL, FF3 3D).

Feel free to ask questions on emudev discord, won't be on time to time, but I'll respond related to this emulator