Kuribo64
Views: 20,050,381 Home | Forums | Uploader | Wiki | Object databases | IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search
04-24-24 04:24 AM
Guest:

0 users reading My Javascript NES Emulator | 1 bot

Main - Computers and technology - My Javascript NES Emulator Hide post layouts | New reply


shygoo
Posted on 06-03-15 08:20 PM Link | #60574
I'm attempting to make a NES/6502 emulator in JS. Some of you guys have seen this on starland's domain (he reuploaded it to his site with the credits removed from the source).

Screenshot of it in action: (would gif, but gyazo didn't feel like working today)
[image]

Debugging stuff:
[image]

Links: Emulator
Last updated: [image]

Key bindings for controller 1:
Select: Q
Start: E
DPAD: WASD
M: A
N: B

XBOX360 controller bindings:
Select: Back
Start: Start
DPAD: DPAD/Left analog
A: A
B: X

Current features:
ROMs can be streamed directly from the server it's hosted on (file.s.gp currently)
6502 core with all 151 official opcodes implemented
Tracker for 6502 registers, zpage/stack memory and NES I/O registers
Built in 6502 dis/assembler (click code in the disassembler to replace it)
PC breakpoints (click an address in the disassembler)

Todo features:
Implement more efficient tile caching
Scrolling & sprite 0 hit
Mappers
General purpose memory editor
Memory r/w breakpoints
Memory scanning
pAPU (sound)
Input automation
Multiplayer support (netplay too via WebSocket?)

Anthe
Posted on 06-03-15 08:33 PM Link | #60576
I can't wait to put this on my server with a buttload of roms and play it at school. RIP my grades.

This is darn impressive.

____________________
[image]

GreenThunder1337
Posted on 06-04-15 02:44 AM Link | #60582
Posted by Anthe
I can't wait to put this on my server with a buttload of roms and play it at school. RIP my grades.

This is darn impressive.
Isn't school over for you yet?

____________________
Kuribo64 / NSMBHD / MMM

NNID: GreenThunder1337
3DS FC: 1521 - 5979 - 1511

Anthe
Posted on 06-04-15 03:39 PM Link | #60615
Not ending until the 30th of June.

____________________
[image]

GreenThunder1337
Posted on 06-04-15 06:39 PM Link | #60627
damdatsux4u.jpg

____________________
Kuribo64 / NSMBHD / MMM

NNID: GreenThunder1337
3DS FC: 1521 - 5979 - 1511

Arisotura
Posted on 06-05-15 12:32 PM Link | #60682
Uh, back on topic guys.


This is pretty impressive. Seems kinda odd to me that it has a CRT-like noisy filter, but no mapper support yet, though.

I wonder how far one can go in emulating shit through Javascript. Nina said you can emulate a N64.

____________________
NSMBHD - Kafuka - Jul
melonDS the most fruity DS emulator there is

zafkflzdasd

shygoo
Posted on 06-05-15 06:16 PM (rev. 2 of 06-05-15 06:18 PM) Link | #60690
Yeah I think Mupen, 1964, and Daedalus have all been ported to javascript via coffeescript and asm.js. I've never tried them myself but I'd be surprised if they actually run full speed. Iirc, the fastest I could get my emulated 6502 to run before I added the ppu was around 17MHz. I'd have to guess that those other emulators would have to do some form of recompilation to get desired speeds.

Posted by StapleButter
Seems kinda odd to me that it has a CRT-like noisy filter, but no mapper support yet, though.


Yeah haha I have a bad habit of trying to make things pretty before I work on more necessary things

Nadia
Posted on 06-07-15 11:15 PM Link | #60757
Mupen64Plus compiled to JavaScript

On my system it actually runs at full speed.


Main - Computers and technology - My Javascript NES Emulator Hide post layouts | New reply

Page rendered in 0.023 seconds. (2048KB of memory used)
MySQL - queries: 27, rows: 210/210, time: 0.011 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2018-07-20)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.