r/EmuDev • • 9d ago

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

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.

0 Upvotes

5 comments sorted by

2

u/khedoros NES CGB SMS/GG 9d ago

Thing is the Z80 becomes an audio co processor in the next generation

That's the line of reasoning that got me an emulator that covers SG-1000, SMS, GameGear, and the bare start of a 68k core. It's a fun line of progression!

1

u/ZealousidealParty686 9d ago

How did you go about accuracy? so far I've just read you can be pretty sloppy and it will still feel like a high quality emulator. There doesn't seem to be anywhere near as much research and probing done on the system either, nor extensive test roms.

I think the Z80 is covered, but wondering about VDP tests and interrupts etc.

2

u/khedoros NES CGB SMS/GG 9d ago

Mostly the "try games, diagnose and fix observed issues" loop.

There's this test that's been around for a long time that still identifies a bunch of issues in my VDP: https://www.smspower.org/Homebrew/SMSVDPTest-SMS

A lot of games run nicely, even though my timing is approximate in many cases (and that test identifies a bunch of the issues).

Honestly, my emulators are the projects that I can return to over and over again, putter around for a few days, fix some bugs, and be satisfied for a while.

1

u/ZealousidealParty686 9d ago

Also do share, I will throw some games through it.
I have a mega SG for SMS / MD i have actually played a few hours this week.
Lots of real systems, but none readily set up to kind of get a feel of with comparisons.

Too bad the controllers always suck, and always did.
Best off with an aftermarket NES controller modified with SMS / MD cabling