Commit Graph

47 Commits

Author SHA1 Message Date
adelikat 73b6791f63 NESHawk - put sealed on some classes I missed sometime back when I did that 2013-11-02 23:14:58 +00:00
zeromus 0acbb11e97 move HawkFile to BizHawk.Common along with a small web of dependencies and then add "using BizHawk.Common" to 100 files 2013-10-27 22:07:40 +00:00
adelikat 61236bf763 NES - make mappers and whatnot sealed classes, since it may theoretically be a tiny speedup, and if nothing else, it is more conceptually correct 2013-08-25 01:08:17 +00:00
goyuken 6849f72baf NES: volume control on each channel 2013-05-10 18:38:58 +00:00
adelikat cff1ff2940 Removing unused directives from a bunch of files because I was playing around with resharper, but that got boring so not every file 2013-04-14 20:39:19 +00:00
goyuken d479e5661a The robustness update to the Serializer caused a problem when multiple variables with the same string name are saved\loaded in text form. The old system would just read\write them in order; the new one would silently discard all but the last occurrence. The Serializer now throws an exception in these circumstances. To fix individual cores, duplicate usage of variables needs to be enclosed in separate sections. Fixed an occurrence of this in the NES APU, where the two Pulse channels were being confused; fixes sound bugs on loadstate in some games. 2012-12-18 03:03:11 +00:00
goyuken 26abfe4574 nes: apu: add some pulse channel variables to the savestate that weren't in it before. maybe this fixes something? maybe it doesn't. it certainly doesn't fix my problem in driar... 2012-12-18 02:22:40 +00:00
goyuken 461e6c6cea yeah nah, forget that 2012-12-17 01:11:46 +00:00
goyuken 4db8ca7422 abusing public SVN as my own local store 2012-12-17 01:00:52 +00:00
goyuken a9bf3cf58a nes: apu: implement "better" mixing scheme (as recommended by nesdev) in the hope of passing some apu_mixer tests. no change in any of the tests, so change backed out (committed as comments only). from what i understand, it's just as likely that the tests are failing to small channel timing problems as mixer problems. 2012-12-14 22:29:27 +00:00
goyuken 4e0796814d VRC6 audio: restructure to send deltas directly to the NES apu, simplifying some things. This would be pointless masturbation by itself, but this method will also lead to easier emulation of MMC5 audio. 2012-12-14 15:17:14 +00:00
goyuken 4a673e614b nes: apu: remove unbiasing from apu core. blip_buf already handles a dc bias removal internally, and keeping all of the values to the mixer in their original forms is simpler code and probably reflects the underlying hardware more accurately. should sound about the same as before. 2012-12-09 20:39:29 +00:00
goyuken 210d415e3d Add Blargg's "blip_buf" as an unmanaged dll. license is LGPL; if I like the way it works, I'll rewrite it with MIT code. Implement it as the new resampling output track for NES. Small (~3%)? speedup. Should sound better, especially when the emulator can't quite keep speed. 2012-12-09 03:13:47 +00:00
goyuken 9b40792553 nes apu: add PAL numbers for NoiseUnit 2012-12-03 19:55:14 +00:00
goyuken ae963b5443 nes: fix PAL DMC frequencies 2012-12-03 15:01:04 +00:00
goyuken 089379711a nes: fix missing sound after hard reset 2012-11-06 02:13:16 +00:00
zeromus aa161d8910 proper Peek support in NES and 6502X 2012-11-02 19:28:00 +00:00
zeromus 0b03e6edc8 nes-big improvements to sound, hopefully. fix regressions from last night which killed a lot of music. 2012-09-29 22:19:49 +00:00
zeromus 3898733e8e nes-fix dmc sfx bug in bt&dd making nonexistent sfx; add emulation of empty databus (to extra joystick bits and reads of nonexistent EXP and WRAM memory ranges.. need to scan other emulator source codes for places to check for use of empty databus); fixes freeze bug in bt&dd. also break savestates, but add a crude version system so we at least have a way to avoid it in the future.
bt&dd has a glitch that reads from $6000 when there is no ram installed, and crashes if something too large is returned. I think this chooses a frame for abobo, and you can actually see abobo's sprites glitch for one frame right when the wall finishes getting busted down (the same place where bizhawk was freezing)
2012-09-29 08:39:59 +00:00
zeromus 3095df51c3 nes-fix a missing variable in apu savestates. fixes nothing. 2012-09-28 08:34:02 +00:00
goyuken c94d5aa9b8 i implemented dwedit's DMC fix as best as i could understand it. 'Fire Hawk (USA) (Unl).nes' no longer has graphical glitches on the intro screen.
audio still sounds wrong, and crash still occurs once you get in game
2012-09-24 14:48:00 +00:00
adelikat a7b847dbe2 NES - some small easy optimizations to the APU (very small) 2012-08-04 02:41:15 +00:00
zeromus a47c70d0ef nes-fix #12 "Strange "White noise" sound during 1943 (USA) intro" as well as a boatload of aesthetic improvements to make the sound output not so embarassing. no speedups whatsoever though. 2012-07-15 00:09:34 +00:00
andres.delikat 0834c63a43 NES - sound config dialog for toggling sound channels 2012-07-12 23:13:22 +00:00
zeromus cff7ba6d24 nes-fix lagrange point, including sound 2012-06-07 20:52:49 +00:00
adelikat 836415455a NES - start an APU softreset function, and clear sequencer_irq, and 0x4015. Still a lot of work to be done for this, but passes nes apu reset tests: 4015_cleared, irq_flag_cleared 2012-04-14 13:51:26 +00:00
zeromus d3321f552f nes accuracy fixes
- pass more apu_test 4-jitter and 6-irq_flag_timing (necessary for timing on other tests)
- pass all cpu interrupt tests
- pass all sprite hit tests
2012-03-25 09:25:27 +00:00
zeromus fd6ac896fc general cleanup.. remove a bunch of warnings.. improve log console system a bit.. add new icons for log console window.. remove old demo psx interop system and add new, simpler one, which isnt really tested yet but is way less annoying. 2012-02-24 20:38:35 +00:00
zeromus 452e6768a8 nes-fix triangle channel note length issue 2011-09-24 17:36:48 +00:00
zeromus 40d8fba002 nes-fix totally embarassing sound tempo issue 2011-09-24 17:14:55 +00:00
beirich 647cae698e Max volume is settable per sound source to enable mixing many sound sources without clipping. Potentially can be used to disable individual sound sources. 2011-09-04 04:38:11 +00:00
andres.delikat 67433a5f17 NES APU - a fix for the triangle channel, Double Dragon 2 sounds much better 2011-09-03 15:50:46 +00:00
beirich cfccc65672 add metaspu V method, set NES to use it experimentally 2011-08-14 01:42:54 +00:00
zeromus 8d9dfd5469 [NES] pcm sound channel 2011-06-14 08:32:08 +00:00
zeromus 7f4e4916dd [NES] fix triangle channel sound bug and add sound savestates 2011-06-10 05:02:06 +00:00
zeromus c6a0956f13 and dont try writing to that file even if it wasnt opened 2011-04-06 05:31:33 +00:00
zeromus dec812ccbc dont open d:\out.raw 2011-04-06 05:30:56 +00:00
zeromus 1c52444e04 [NES] here, have a cup of speedup 2011-03-21 01:49:20 +00:00
zeromus b3f212f745 make sysdrawing render panel more pleasant 2011-03-20 23:46:03 +00:00
zeromus 82ad219461 [NES] some little speedups, just to prove that it can be done 2011-03-20 20:42:12 +00:00
zeromus f84de1750e [NES] noise channel 2011-03-20 04:43:27 +00:00
zeromus a62b3009ef [NES] fix some annoying sound bugs 2011-03-20 03:32:43 +00:00
zeromus 6493b65690 [NES] fix some input bugs 2011-03-20 02:25:47 +00:00
zeromus c7f0c457ad [NES] work on sound, improve square waves muchly, add 6502 IRQ signal, make add some infrastructure to keep from buffering samples while core is silenced. 2011-03-19 09:12:56 +00:00
zeromus 8a0cd52a5a [NES] apu fixes and triangle generator 2011-03-13 08:13:32 +00:00
zeromus fe7e80d723 [NES] fixup square waves a tiny bit 2011-03-13 01:40:09 +00:00
zeromus 2c62271fc7 [NES] speaking of music being a worthy thing... 2011-03-13 00:34:24 +00:00