Please forgive my six month absence. After I was defeated by the SNES PPU I lost interest for a while / did other projects / had various life-mess-ups, etc. I'll spare the details (they're boring).
However, JSNES is not dead. I recently got a craving for some Java and decided to revive it.
Main changes in 0.03-alpha:
1. PPU: Many things fixed and features added.
2. Sound.
3. Many minor emulation bug fixes.
Not bumping the version number up much because it's not polished enough yet, but here it is:
jsnes-0.03.2-alpha.jar (478 kB)
*EDIT 2:* Replaced with version with working CPU debugger instead of version with insane CPU debugger that produced complete gibberish because I had some stupid idea on how to make it work better, that broke everything. Other internal improvements too.
Note: sound is currently a bit basic, limited to 32 kHz mono. It has glitches. I'll fix it another time because I'm sick of it at the moment -- I endured it fuzzing and squeaking most awfully for days -- then I tried commenting out and/or replacing a lot of the code, couldn't fix it, decided to put it all back how it was, and it suddenly worked. I still don't understand what happened. The envelope attack and release timing should be correct but the decay, sustain, and gain times/counters are definitely not. Echo, pitch modulation, and noise mode are missing.
haza wrote:Any chance this will be released as open source?
Maybe.
paulguy wrote:If not, I believe Java .class files can be considerably easily decompiled, compared to stuff like machine code.
Yes, tools like the javap command line utility in the JDK can do this.