Hacker News new | ask | show | jobs
by BSPtree 33 days ago
I would not think so, at least not in a meaningful way. That would require to edit the cartridge data thus the ROM, as all sprite data was contained within the cartridge. Sample based sound is impossible natively, as NES and older game consoles don't work with digital data but synthesizers. You could perhaps synthesize the music to WAV files and then enchance it. But then again, NES and thus its emulators have no way of playing digitized audio!
3 comments

The NES in particular is probably not too difficult to upscale, because the graphics data is stored on its own ROM chip (sometimes RAM) in a well structured layout. SMB1 just uses a ROM chip containing many tile graphics which the CPU code addresses by tile index. It would be really easy for an emulator to use the same tile indices to address any arbitrary set of tiles loaded from a PNG. Some games use RAM, which makes it harder as you'd have to index the PNG by hash or something.
> Sample based sound is impossible natively, as NES and older game consoles don't work with digital data

The NES supports PCM audio. It was notably implemented wrong in the title screen of Double Dribble and fixed with a patch that produces clearer audio after bit reversal into the correct encoding for the hardware:

https://www.youtube.com/watch?v=Jli0RGpuZDg

It does work with channels that produce pulse waves yes, but what I meant is that you can't supply samples of a wave and expect it to play it. The sound is still analog.
No. It has a Delta Modulation Channel that plays back differential pulse-code modulation samples. It is not the same as a waveform generator. Moreover, every sampled audio system with an analog output generates analog signals so that isn't a differentiator.

The DMC is typically used for instruments that are hard to reproduce well with the other generators. Double Dribble is using the DMC for the speech, not some clever setup of the waveform generators.

Compute motion vectors, faux depth, and add DLLS5 to it maybe? Could be pretty cool, or pretty horrific. Only one way to find out :)
Consoles like the NES are tile based: They work by placing tiles are particular coordinates on the screen, with a particular pallet.

My theory is that the emulator could swap in a higher resolution tile without needing to port the game.