A cloud retro-gaming platform to enable friends and communities to collaborate and stream emulated console games.
NodeJS
MongoDB
GoInstant
Node Emulator Services (node-nes)
and more...
This refers to the controller, canvas-sync, and audio-sync streams that connect the players to the process running the ROM.
Loads pixel data into canvas among many other things.
Defines, prototypes the JSNES object.
Lots of initial settings and configurations.
Defines the nes.rom object.
''load'' reads .nes format rom data and identifies mappers.
.NES file format
''getMirroringType''
''getMapperName''
''mapperSupported''
''createMapper''
Sets up all the opcodes for the 5602 CPU chip.
Emulates the Picture Processing Unit, (ie. the video controller) for the NES.
Draw spr#0 hit coords
clip sprites or background if needed
pass buffer
to writeFrame
Takes current and previous pixel buffer as input
Loops over all pixels checking for changes (pixel != prevBuffer[i])
Use putImageData to populate canvas context with new pixel data