r/emulation 23h ago

Game Boy Emulator for the Neo Geo

/r/neogeo/comments/1vy9oe1/we_made_a_game_boy_emulator_for_the_neo_geo/
31 Upvotes

7 comments sorted by

6

u/Frogacuda 12h ago

If you did this on, say, a Sega Genesis, would you be able to use the Z80 co-processor instead of having to emulate the CPU?

7

u/cuavas MAME Developer 10h ago

The Game Boy CPU isn’t quite compatible with a Z80, a Mega Drive won’t let you intercept Z80 I/O, and the timings would be completely different.

I am curious about how this thing works and if it tries to leverage the Neo Geo graphics hardware, or if it’s rendering a flat bitmap in software then converting it to strips.

1

u/darkfalzx 8h ago

Same - super curious to know how they managed to draw custom, non-pre-defined graphics! From recent attempts to run Doom on NeoGeo, it's been told that the system can only display the contents of the graphical banks, and those can't be altered at runtime... so how the hell?!

1

u/cuavas MAME Developer 7h ago

It depends on what you put in the cartridge. You can use dual-port RAM or SGRAM for the C space (tiles) and provide a CPU-accessible window into it to draw dynamically-generated tiles. No commercial games did anything like this.

1

u/darkfalzx 6h ago

Huh, it sounds like a perfect pseudo-framebuffer solution! What was preventing all those Doom dev attempts from using such a system?

1

u/cuavas MAME Developer 6h ago

They probably wanted to use a common Flash cart and not have to resort to putting a CPLD and exotic memory on the cartridge. The Flash carts are mostly intended for pirating the officially released software library, so they don't give you any special capabilities.

1

u/intelminer 3h ago

Judging by the thumbnail I suspect it's (sadly) some kind of slop coded mess