Re:Yuzu (Nintendo Switch Emulator) Progress Report January 2021
by djmips on Wednesday February 10, 2021 @06:50PM
(#26096436)
There must be hundreds of Gameboy emulators now. I guess it's the equivalent of "Hello World" for emulators.
Re:Yuzu (Nintendo Switch Emulator) Progress Report January 2021
by Cyph0n on Wednesday February 10, 2021 @06:53PM
(#26096459)
I think CHIP-8 is a better candidate for that title. But yes, Gameboy emulators are quite common.
Re:Yuzu (Nintendo Switch Emulator) Progress Report January 2021
by TylerE on Wednesday February 10, 2021 @06:51PM
(#26096443)
Infocom Z-Machine? Probably even simpler to implement since it was designed to be emulated.
Re:Yuzu (Nintendo Switch Emulator) Progress Report January 2021
by AnIdiotOnTheNet on Thursday February 11, 2021 @07:57AM
(#26100975)
Pretty sure the word "emulation" doesn't apply. The Z-Machine never had hardware to be emulated, only a virtual machine to be implemented. Ditto CHIP-8 though.
For emulating a real system, the Gigatron would be relatively simple. The hard part would be the display because it is bit-banged into NTSC.
Re:Yuzu (Nintendo Switch Emulator) Progress Report January 2021
by sanj on Wednesday February 10, 2021 @09:48PM
(#26097682)
Been there, done that!
And it was a blast.
Re:Yuzu (Nintendo Switch Emulator) Progress Report January 2021
by city41 on Wednesday February 10, 2021 @06:39PM
(#26096347)
I agree for older machines this is a great approach. A lot of the challenge is being organized and persistent, powering through all the opcodes and making sure they're accurately implemented. I made a Sega Master System emulator many years ago and it was a fun project.
I do wonder how one takes on modern machines though. It seems like it'd be a completely different ball of wax.
Re:Yuzu (Nintendo Switch Emulator) Progress Report January 2021
by agret on Wednesday February 10, 2021 @11:27PM
(#26098258)
Modern game consoles have a lot of common library / OS system calls that instead of emulating you re-create those calls and make your own implementation with the expected return values. The low level stuff and shader translation aspects are very complicated though.
Re:Yuzu (Nintendo Switch Emulator) Progress Report January 2021
by Cyph0n on Wednesday February 10, 2021 @06:43PM
(#26096393)
Oh definitely, writing an emulator for a modern system is an entirely different ballgame. I truly respect the dedication and skill of the people behind large emulator projects like PCSX2 and Dolphin.
Re:Yuzu (Nintendo Switch Emulator) Progress Report January 2021
by peteretep on Wednesday February 10, 2021 @08:14PM
(#26097053)
> it’s very satisfying to gradually see your emulator run
This does sound like fun. I feel like I’ve had a similar experience in porting and refactoring legacy code, and each successive step forward unlocks more and more cool stuff
In my opinion, the best way to learn how an emulator works is to start writing one. /r/emudev and the emudev Discord (see subreddit sidebar) are a great place to start. The Discord in particular is great: it’s split into channels for each system, and there are a ton of pointers to resources for all systems in the main channel.
As far as consoles go, the typical recommendation is to start with CHIP-8. It’s a straightforward system with a very simple design, which makes it relatively easy to emulate.
[1] For the curious: https://github.com/aksiksi/gbc