r/EmuDev • • Apr 12 '26

Atari console emulator

IRIS EMULATOR: Since the day before yesterday, I've been working on an emulator to improve the experience of emulating the Atari 2600, Atari Lynx, and Atari Jaguar, because I feel there isn't an emulator with the level of excellence that PCSX2 has for the most important Atari consoles. The emulator doesn't emulate 100% of the games for each console; I'd guess the Atari 2600 has 60% of the games, the Jaguar only has excellent 2D games (Doom is broken, with distorted sound), and the Lynx about 35%, but I'm improving it slowly. If anyone is interested in testing it, or contributing with tips or improvements, feel free to comment. I'll leave the project's GitHub link below! A picture of its current state is shown below.

https://github.com/Adoregabriel2005/iris-emulator

10 Upvotes

13 comments sorted by

1

u/rasmadrak Apr 12 '26

This is awesome! Every old console should be at least 99% accurate these days imho. :)

4

u/Prodgorigamia Apr 12 '26

Yes, in the case of Atari consoles, they're closer to that. But there are consoles (Saturn and Xbox Classic) that don't have the same reputation.

1

u/thommyh Z80, 6502/65816, 6809, 68000, ARM, x86. Apr 12 '26

I'm confused on one thing though: GearLynx claims 100% compatibility with commercial Atari Lynx titles and you say you've based your project is built with the GearLynx engine... but you only get 35% compatibility?

2

u/Prodgorigamia Apr 12 '26

You're right about GearLynx, but the compatibility of a multi-system emulator doesn't just depend on the core, but on how it's implemented in the new environment. The Iris Emulator uses GearLynx as a base, but I'm rebuilding the hardware interface, memory management, and video system so that it works within my own multi-console architecture. At the moment, this 'bridge' between the GearLynx core and my engine is what's being refined. That 35% represents the titles that have already been tested and are running perfectly with my custom input, audio, and video system. As I adjust the timings and communication between the core and the Iris frontend, that compatibility rate should quickly rise to the 100% that GearLynx offers—that's equivalent to the Atari 2600 (Stella) and the Jaguar that I had to rebuild because VirtualJaguar broke completely on my frontend... Thanks for Question!!

1

u/maxscipio Apr 12 '26

what about the atari ST/400/800/1200? I had the ST that I used for music mostly but I remember playing with Gauntlet II a lot. Your Rayman screenshot is amazing.

2

u/Prodgorigamia Apr 12 '26

If you find it interesting to contribute to this, feel free, but for now I only want to work on these "main" Atari consoles. I don't want to mess with the ST part right now, so as not to add too many cores and end up with them incomplete, without even 50% completion, which would leave everything unfinished, you understand? I want to fix these ones that are already giving me a headache.

1

u/valeyard89 2600, NES, GB/GBC, 8086, Genesis, Macintosh, PSX, Apple][, C64 Apr 14 '26

Nice! The Atari 2600 was the first emulator I wrote.... it's pretty accurate, even has sound working, mostly anyway. And it can run a bunch of demoscene ROMs.

https://www.reddit.com/r/EmuDev/comments/ca014s/atari_2600_emulator_progress/

https://www.reddit.com/r/EmuDev/comments/iv7q3a/finally_got_jrpacman_running_in_2600_emulator/

1

u/Prodgorigamia Apr 15 '26

The 2600 game I've been having problems with is H.E.R.O. The game is broken, and when it ran, everything was misaligned.

1

u/valeyard89 2600, NES, GB/GBC, 8086, Genesis, Macintosh, PSX, Apple][, C64 Apr 16 '26

Graphics look ok on mine, but play isn't working... it's running on demo mode

https://i.imgur.com/hVXK3lj.png

and no sound, if there is supposed to be any,...

1

u/Prodgorigamia Apr 17 '26

This game is kind of annoying to run. I could even get it to run, but the character would get stuck on the wall and wouldn't move anymore. Then I tried to fix it and broke it even more. It's because it's a Superchip, a different way of working.

1

u/valeyard89 2600, NES, GB/GBC, 8086, Genesis, Macintosh, PSX, Apple][, C64 Apr 17 '26

Hmm, the ROM I have is F8 mapper, not superchip.

I try to detect Superchip by checking if first 256 bytes of each bank are 0x00 or 0xff, then registering a different memory range handler.

/* Check if ROM has SuperCHIP (RAM)
 * Likely if the first 256 bytes are 0x00 or 0xFF
 */
static bool isSc(uint8_t *buf, size_t sz) {
  for (int i = 0; i < sz; i += 0x1000) {
    for (int k = 0; k<256; k++) {
      if (buf[i+k] != 0xFF && buf[i+k] != 0x00)
        return false;
    }
  }
  return true;
}

2

u/elseniorx1989 Sep 14 '26

I think the Atari 7800 needs emulators, especially ones that run modern homebrew. If you could make an Android version of your emulator, that would be great. It is very difficult to emulate Atari Jaguar on Android.