Commit Graph

90 Commits

Author SHA1 Message Date
adelikat 46d05de51f nothing to see here 2020-02-28 12:52:48 -06: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
YoshiRulz b2a3477f52
Enable SA1123 and fix noncompliance
"Do not place regions within elements"
2020-01-25 18:06:56 +10:00
YoshiRulz 6f3f01125c
Enable SA1504 and fix noncompliance
"All accessors should be single-line or multi-line"
i.e. no block form on one line
2020-01-25 14:56:56 +10:00
Asnivor 91008590cf ZXHawk: Implement more faithful AY port decoding (fixes #1767) 2019-12-29 22:23:20 +00:00
adelikat 85be6af3d3 Convert spaces to tabs in ZX Spectrum and AmstradCPC cores 2019-12-06 17:47:59 -06:00
YoshiRulz 2642ef4049
Remove empty docs 2019-06-06 16:41:10 +10:00
YoshiRulz ceb490828f
Fix docs "not placed on a valid language element" 2019-05-29 21:04:12 +10:00
Asnivor ae7bea226c ZXHawk: move the beeper implementation out of the core into Cores.Sound. The CPC core will also use this and we may have other cores in the future that want to make use of a nice 1-bit buzzer/implementation (tape loading, onboard speaker etc..) 2019-04-03 17:01:35 +01:00
James Groom 4e91f88af3
Use nameof in cores 2019-03-28 14:18:58 +11:00
Asnivor 76070cd89d OCD: Fix non-critial compiler warnings in my code 2019-01-25 15:45:15 +00:00
Asnivor 2b7014f8b8 ZXHawk: Some comment and group structure cleanup 2019-01-02 14:02:09 +00:00
Asnivor 3766e2380c ZXHawk: Fix exception thrown randomly by tape player subsystem 2019-01-02 12:38:32 +00:00
Asnivor c76e2f35a0 ZXHawk: Starting on UDI and IPF disk image support (although neither are fully working or hooked up yet) 2018-09-13 10:44:48 +01:00
Asnivor 16d68ea813 ZXHawk: debug only zx-state snapshot export 2018-09-10 10:05:49 +01:00
Asnivor 625f063861 ZXHawk: Added wav tape image support 2018-06-22 14:40:40 +01:00
Asnivor e2b58cfb98 ZXHawk: improvements to tape traps 2018-06-22 13:43:26 +01:00
Asnivor b81a7539cf ZXHawk: Added Compressed Square Wave (CSW) tape image support 2018-06-22 13:23:33 +01:00
Asnivor 84bc77e82e ZXHawk: Fixed bug in datacorder 'stop-the-tape' command implementation (when this command was detected it was skipping forward an extra block) 2018-06-21 14:03:10 +01:00
Asnivor 8236d7b645 ZXHawk: Some PZX changes 2018-06-21 13:39:23 +01:00
Asnivor 50123bf8e2 ZXHawk: Experimental PZX tape image support 2018-06-20 15:03:11 +01:00
Asnivor ae0543d1f3 ZXHawk: disk drivelight now active for all operations that it should be 2018-06-19 14:41:54 +01:00
Asnivor 6a3377417e ZXHawk: removed all Rand() references from weak sector disk read implementation (now all speedlock protected games should load *every* time without issue) 2018-06-19 14:30:44 +01:00
Asnivor 183983043a ZXHawk: Reset disk overrun detection counter on successful read (fixes IronLord.dsk) - #1158 2018-06-19 11:42:08 +01:00
Asnivor 660fb500ae ZXHawk: codebase cleanup 2018-06-14 11:31:09 +01:00
Asnivor 2bae423df8 ZXHawk: Bit of a tidy & readme update 2018-06-13 15:17:19 +01:00
Asnivor 0d4418a1cc ZXHawk: Disk Drive code tidy 2018-05-10 10:42:36 +01:00
Asnivor 66b7f37327 ZXHawk: +3 UPD WriteData command now partially implemented. Data is written to the disk object in memory (allowing castlevania SI to get ingame) but changes to the disk are not serialized in any savestates - #1158 2018-05-09 13:47:59 +01:00
Asnivor a4942f0fb8 ZXHawk: block index is now set to 0 when switching tapes - #1158 2018-05-08 21:29:01 +01:00
Asnivor 9c800cf133 ZXHawk: Buzzer/Beeper implementation now use BlipBuffer - #1158 2018-05-08 20:23:02 +01:00
Asnivor 20cdb02de8 ZXHawk: Started UPD write commands implementation 2018-05-03 19:45:13 +01:00
Asnivor a374f9f4b8 ZXHawk: Some UPD ReadID improvements 2018-05-03 15:33:30 +01:00
Asnivor 282c3533b4 ZXHawk: Multi-disks are now supported for +3 disk drive 2018-05-02 11:14:08 +01:00
Asnivor e977826c5e ZXHawk: Implemented CPU overrun detection within the FDC. This appears to have sorted more Alkatraz protected games AND N=6 (hexagon protection) sectors 2018-05-01 17:32:35 +01:00
Asnivor 462d66c549 ZXHawk: UPD ReadDiagnostic fix (more Alkatraz protected games now load) 2018-05-01 13:42:21 +01:00
Asnivor d891938d89 ZXHawk: fix speedlock +3 regression 2018-05-01 12:45:53 +01:00
Asnivor b5eef04b42 ZXHawk: FDC ReadDeletedData command now fixed. Alkatraz games and previously not loading Paul Owens protection (eg Red Heat) should now work 2018-05-01 09:41:07 +01:00
Asnivor 451d5654ce ZXHawk: modifications to UPD sense interrupt status instruction 2018-05-01 08:03:14 +01:00
Asnivor a7bf8e4ca3 ZXHawk: +3 Paul Owens Disk Protection games now loading 2018-04-30 17:36:16 +01:00
Asnivor 0c12707bb7 ZXHawk: some updates to speedlock disk detection 2018-04-28 17:06:46 +01:00
Asnivor 23a2550444 ZXHawk: disabled auto-tape detection routines when a disk is in the drive 2018-04-27 10:57:54 +01:00
Asnivor 85fb40ed02 ZXHawk: Implemented UPD765A ReadTrack command (platoon now loads) 2018-04-26 16:39:40 +01:00
Asnivor 7aaa5e8a52 ZXHawk: +3 disk ready for testing 2018-04-26 12:57:21 +01:00
Asnivor 35c87c5aea ZXHawk: Fixed AY-3-8912 volume control (values under 50 were registering as maxvolume) - #1158 2018-03-27 16:38:08 +01:00
Asnivor f1fbd2b64e ZXHawk: AutoTapeLoad has been changed to a SyncSetting - #1158 2018-03-27 16:12:38 +01:00
Asnivor 8485a52662 ZXHawk: Finished separation of emulated TapeDevice - #1158 2018-03-27 16:12:38 +01:00
Asnivor 86dd0b4a06 ZXHawk: Started tapedevice independence implementation 2018-03-27 16:12:38 +01:00
Asnivor 7b711cb890 Better error handling when parsing TZX files - #1158 2018-03-26 07:42:55 +01:00
Asnivor bdbfc3fb4e ZXHawk: Finally (hopefully) resolved all tape trap issues 2018-03-22 08:58:31 +00:00
Asnivor 76904df015 ZXHawk: Better detect maskable interrupt used as a tape trap 2018-03-21 16:48:14 +00:00