News for hackers. Stuff that matters.
Re:RyujinX – Open Source Nintendo Switch Emulator by grishka on Thursday August 31, 2023 @04:03AM (#37333907)
I'd say just being curious, reading and tinkering a lot. I recently wrote a GameBoy emulator to give myself a better understanding of the inner workings of CPUs. It's anything but precise, but it passes all the CPU instruction test ROMs and it's able to run all my childhood games so that's mission accomplished for me. Maybe I'll try to emulate something more complex next.

Writing an emulator is very frustrating at first (when nothing works) but it eventually gets more rewarding as you get to the point of meaningfully running preexisting software. IMO every programmer needs to write one at some point.

Re:RyujinX – Open Source Nintendo Switch Emulator by swyx on Thursday August 31, 2023 @01:14PM (#37340545)
and how long did that take you? just to gauge how big a task this was
Re:RyujinX – Open Source Nintendo Switch Emulator by grishka on Thursday August 31, 2023 @01:41PM (#37340941)
Something like 3-4 days combined I think? It also supports sound but that part is far from perfect, especially the noise channel.