WedNESday - Emulator

Discuss emulation of the Nintendo Entertainment System and Famicom.
WedNESday
Posts: 1311
Joined: Thu Sep 15, 2005 9:23 am
Location: London, England

WedNESday - Emulator

Post by WedNESday »

I've finally released WedNESday after 22 years of (on and off) development! :lol:

It's written in JavaScript and it's not been properly optimised yet. Also, a few games do still have problems but most of them run without issue.

I'd appreciate it if you could give it a quick test. I'd especially like some of the forum's longest serving members (i.e. the people who have known me since I first started posting here) to do so.

Any bug reports, comments etc. please either post it below or PM me it.

Have fun! 8-)

https://www.frontendjames.com/javascript/famicom.html
User avatar
creaothceann
Posts: 863
Joined: Mon Jan 23, 2006 7:47 am
Location: Germany

Re: WedNESday - Emulator

Post by creaothceann »

Doesn't seem to work in Firefox. Works in Chrome/Edge.
My current setup:
Super Famicom ("2/1/3" SNS-CPU-GPM-02) → SCART → OSSC → StarTech USB3HDCAP → AmaRecTV 3.10
WedNESday
Posts: 1311
Joined: Thu Sep 15, 2005 9:23 am
Location: London, England

Re: WedNESday - Emulator

Post by WedNESday »

creaothceann wrote: Sat Nov 01, 2025 4:17 pm Doesn't seem to work in Firefox. Works in Chrome/Edge.
Thanks for the feedback! Could you be a little more descriptive of your experience?

What happened in Firefox exactly? What was it like in Chrome/Edge?
User avatar
dink
Posts: 247
Joined: Sun Jan 12, 2020 8:42 pm

Re: WedNESday - Emulator

Post by dink »

Hi,
I'm using firefox 115 (last one that works with win7), this page below is just blank:
https://www.frontendjames.com/javascrip ... micom.html

best regards,
- dink
User avatar
creaothceann
Posts: 863
Joined: Mon Jan 23, 2006 7:47 am
Location: Germany

Re: WedNESday - Emulator

Post by creaothceann »

WedNESday wrote: Sat Nov 01, 2025 4:32 pm Thanks for the feedback! Could you be a little more descriptive of your experience?

What happened in Firefox exactly? What was it like in Chrome/Edge?
Clicked on the link in "Please click here to start playing!" and pressed the numpad's + key. A file selection dialog pops up and I can select ROMs (in my case Super Mario Bros., Metroid, Micro Mages).

Firefox:
- the window stays blank and silent, but I can hear my CPU fan ramping up (much more than in Chrome)

Chrome:
- Super Mario Bros. and Micro Mages show up on screen and play their audio
- Metroid stays blank but plays audio; pressing Enter starts the game but somehow it seems to go back to the title screen almost immediately
My current setup:
Super Famicom ("2/1/3" SNS-CPU-GPM-02) → SCART → OSSC → StarTech USB3HDCAP → AmaRecTV 3.10
WedNESday
Posts: 1311
Joined: Thu Sep 15, 2005 9:23 am
Location: London, England

Re: WedNESday - Emulator

Post by WedNESday »

Thanks for the feedback, guys.

I'll have to do some investigative work to determine the issue with Firefox.

For those of you who aren't aware...

- You need to press the numpad's + button to open the file selection window to load a ROM.

- Once loaded, you can use the 'b' button to cycle through a mapper's boards. This is required to play games like Metroid. You can look up which board a games uses @ https://www.nescartdb.com/.
User avatar
Dwedit
Posts: 5257
Joined: Fri Nov 19, 2004 7:35 pm

Re: WedNESday - Emulator

Post by Dwedit »

If there's no text on the page, then nobody will figure out the controls. I had to read the source code to figure it out, but it seems that you also posted the controls here too.

anyway...

Code: Select all

		// pause for 1 second to allow web audio to initialise
		
		temp = Audio.Context.currentTime + 1;
		
		while (Audio.Context.currentTime < temp)
			;

This freezes Firefox in a endless while loop.
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!
tepples
Posts: 22993
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)

Re: WedNESday - Emulator

Post by tepples »

Do you plan to add support for laptop computers that lack a numpad, such as my ThinkPad T450?
User avatar
Memblers
Posts: 4150
Joined: Mon Sep 20, 2004 6:04 am
Location: Indianapolis

Re: WedNESday - Emulator

Post by Memblers »

It looks good. I threw maybe 15 ROMs at it so far, I saw only one emulation issue(*), but generally everything seems to work after selecting the right board. It's kind of fun being able to run stuff on the wrong board types.

I'm having some frame sync issues though, the video emulation is super fast. The audio however, sounds like it's rendered at the correct rate, but it's skipping. It makes for an interesting effect, with games going fast but with the audio sounding relatively normal keeps it from being completely disorienting. The audio buffer is remixing the music a little bit, haha. I played Excitebike like this, it definitely ramps up the excitement.

My display settings have 179.952 refresh rate, and my GPU and monitor both have G-Sync enabled. Chrome, Edge, do the same thing. Firefox nothing happens after I select a ROM.


(*) Kid Klown title screen shows wrong tiles. nescartdb says it's TSROM. I only found that accidentally, I meant to click on Kid Icarus right next to it.