Commit Graph

35 Commits

Author SHA1 Message Date
adelikat 26a68c0cbc NesHawk - aggressively inline Apu.EmitSample() also simplify it to reduce IL 2020-04-21 10:28:31 -05:00
adelikat 4386509f01 NesHawk - about a 5-10% speedp by using AggressiveInlining. Performance sensitive methods were analyzed, and I only added it to methods that failed inlining only due to the 32 IL byte limit but still reasonably sized. This attribute only lifts the 32 byte limit, it's important to do this analysis and not just apply this attribute with research. 2020-04-21 09:18:09 -05:00
adelikat 606c3bf1c2
use more advanced language features in Emulation.Cores (#1852)
* Use expression bodies in Emulation.Cores, and a few other misc cleanups

* remove unused usings in Emulation.Common

* cleanups in Tables_Direct.cs

* some cleanups in nes boards - redundant code

* remove some redundant array initializers in Emulation.Cores

* cleanup AmstradCPC.Controllers

* use object initializers in a lot of places

* nes mappers - remove disch's notes comments in favor of the nesdev wiki link

* cleanup CdtConverter.cs, mostly use of object initializers

* remove redundant .ToString() calls in Emulation.Cores

* using var in Emulation.Cores

* AmstradCPC/ZXSpectrum - simplify some linq, tabs instead of spaces, a few other misc cleanups

* Use null-propagation in Emulation.Cores
2020-02-17 16:54:51 -06:00
alyosha-tas 6bd0fbccef NESHawk: scanline timing and audio fix 2020-01-07 18:28:12 -05:00
J.D. Purcell fec63fb66a Spaces -> tabs, fix mixed newlines. 2019-11-03 20:58:36 -05:00
YoshiRulz 2642ef4049
Remove empty docs 2019-06-06 16:41:10 +10:00
James Groom 4e91f88af3
Use nameof in cores 2019-03-28 14:18:58 +11:00
alyosha-tas 469fc4836f NESHawk: Optimizations and Audio changes 2019-02-18 14:52:17 -06:00
alyosha-tas 64c3b9dcd2 NESHawk: Implement newly found APU behaviour 2019-01-20 09:06:25 -06:00
alyosha-tas 9804a0901a NES: Sprites don't render on scanline 0 2018-03-07 09:46:40 -05:00
alyosha-tas f2a7bdcb6a NES: Fix Traingle Channgel 2018-03-07 07:58:37 -05:00
alyosha-tas 6ffa22aa7a NESHawk: Fix APU IRQs 2017-12-05 19:36:02 -05:00
alyosha-tas 7b8a61b8e4 NESHawk Cleanup 2017-10-26 09:58:24 -04:00
alyosha-tas 7c1522cffe NESHawk: Audio Slider 2017-09-07 10:27:36 -04:00
alyosha-tas bd29ec087e NES: small PPU refactor
Will make future testing easier
2017-06-17 19:02:21 -04:00
alyosha-tas e07882ae56 NES APU cleanup 2017-06-13 10:43:34 -04:00
alyosha-tas 05304b465b NES APU improvements
passes some more of the test_apu_2 tests
2017-06-12 16:25:21 -04:00
alyosha-tas ff980b91dd NES Fix APU
Finally fixes the infamously bad APU mixer tests
2017-06-08 14:35:13 -04:00
alyosha-tas 6a23f922f6 NESHawk implement PAL APU Frame Sequencer 2017-04-20 17:26:49 -04:00
J.D. Purcell b53502eed8 Spaces -> tabs. 2017-04-15 16:37:30 -04:00
alyosha-tas c60cb77ee8 NES Update APU 2017-03-08 13:26:41 -05:00
alyosha-tas 2f94766f0e Revert previous per console test 2016-10-11 09:10:27 -04:00
alyosha-tas 609b01408b Update APU.cs 2016-10-07 13:59:00 -04:00
alyosha-tas 99fde0c4ba start clean up of APU and fix Saint Seiya 2016-07-03 16:18:25 -04:00
alyosha-tas 1dfedff896 pass mixer tests 2016-07-02 21:33:37 -04:00
alyosha-tas 663aded7b2 Pass a few more tests
and fix a few regressions
2016-07-01 22:31:06 -04:00
alyosha-tas a69640e745 4017 reset behaviour and timing 2016-07-01 17:43:09 -04:00
alyosha-tas 88251911f7 DMA and frame timer updates 2016-06-30 18:30:12 -04:00
alyosha-tas db51977ebc Inital DMA commits
pass: sprdama_and_dmc_dma


fail: dma_and_irq
(but was a false pass before)
2016-06-29 09:37:47 -04:00
alyosha-tas ec27890aba Improve DMC DMA timing wtih RDY
passes dpcmletterbox
Far more accurate but still needs to interact correctly with OAM DMA
2016-06-21 09:20:52 -04:00
alyosha-tas 47b44154a7 small updates
passes dmc basics

clean up execute
2016-06-16 08:43:28 -04:00
zeromus 6833a24638 add NES music ripper tool prototype 2015-05-08 00:56:46 +00:00
adelikat 33c6446fe2 APU.cs - remove partial class NES, there's no point in it being a subclass in a partial class file 2015-01-16 02:07:24 +00:00
adelikat f546a8080c Move some extension methods from the generic extensions file to NumberExtensions and fix up namespaces 2014-07-03 15:35:50 +00:00
adelikat 7e45f13282 Change project name BizHawk.Emulation to BizHawk.Emulation.Cores 2013-11-15 14:05:47 +00:00