Commit Graph

57 Commits

Author SHA1 Message Date
adelikat d4c8615e95 remove unused usings and other redundancies 2020-04-23 20:33:18 -05:00
adelikat 2b281116ed misc cleanups 2020-04-08 16:03:35 -05:00
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 d9d6ed76f4
Enable SA1115 and fix noncompliance
"Parameter should follow comma"
i.e. no newlines in param list
2020-01-25 18:06:54 +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
YoshiRulz c38fb09d3c
Fix typos in strings and comments (from #971) 2020-01-13 00:22:01 +10:00
adelikat 85be6af3d3 Convert spaces to tabs in ZX Spectrum and AmstradCPC cores 2019-12-06 17:47:59 -06:00
James Groom 90b0574bc3
Remove unnecessary calls to ToList (e.g. in foreach)
squashed PR #1591
2019-10-13 15:50:57 +00:00
YoshiRulz 4dd40305bc
Merge branch 'master' into interp_cores 2019-06-15 02:11:24 +10:00
YoshiRulz 2642ef4049
Remove empty docs 2019-06-06 16:41:10 +10:00
YoshiRulz 9af93be0d3
Use string interpolation 2019-04-04 02:41:18 +10:00
James Groom 4e91f88af3
Use nameof in cores 2019-03-28 14:18:58 +11:00
alyosha-tas 6d0973ca7e
Merge pull request #1429 from YoshiRulz/master
Inconsequential changes (no whitespace)

looks good to me
2019-03-09 17:32:10 -06:00
Asnivor 76070cd89d OCD: Fix non-critial compiler warnings in my code 2019-01-25 15:45:15 +00:00
YoshiRulz c0a28a320b
Inconsequential changes (no whitespace)
Remove useless semicolon, remove useless `? true : false`, move period to next
line
2019-01-07 22:02:02 +10: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 faaf4d2f18 ZXHawk: Support double-sided *.dsk images and throw an exception if the images are not 42 track disks 2018-09-11 11:21:59 +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 b81a7539cf ZXHawk: Added Compressed Square Wave (CSW) tape image support 2018-06-22 13:23:33 +01:00
Asnivor b90c8f0bec ZXHawk: small pzx PAUS block change 2018-06-21 16:16:31 +01:00
Asnivor 94436c307c ZXHawk: TapeDevice - replaced embedded end of block pause values with individual PAUSE blocks 2018-06-21 15:08:38 +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 5b0a41e31c ZXHawk: Throw an exception when unsupported double-sided disk images are loaded 2018-06-19 15:10:56 +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 9bdcc81863 ZXHawk: Added shadow of the beast dsk detection (although it still doesnt work) 2018-06-19 13:29:54 +01:00
Asnivor ab9fb5c4e5 ZXHawk: TZX 'stop-the-tape' block minor improvements 2018-06-18 09:51: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 f36e252d5e ZXHawk: fixed tap tape image parsing exceptions (operation wolf etc) - #1158 2018-05-03 23:19:24 +01:00
Asnivor 41f1058469 ZXHawk: fixed edge-case tzx tape image parsing exceptions (red heat, live and let die, etc.) - #1158 2018-05-03 23:10:06 +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 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 a7bf8e4ca3 ZXHawk: +3 Paul Owens Disk Protection games now loading 2018-04-30 17:36:16 +01:00
Asnivor e642e0216c ZXHawk: improved detection of cpcemu dsk files 2018-04-28 17:07:59 +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 7aaa5e8a52 ZXHawk: +3 disk ready for testing 2018-04-26 12:57:21 +01:00
Asnivor 426c3ddaea ZXHawk: All TZX blocks now handled correctly (in many cases these are not serialized correctly, but lengths are correct so the entire tape image should be loaded without throwing an exception) - #1158 2018-03-26 09:07:36 +01:00
Asnivor b0ae89f924 ZXHawk: TZX block 0x19 - added correct length placeholder - #1158 2018-03-26 08:37:18 +01:00
Asnivor 5f71e2428c ZXHawk: fixed array out of bounds exception with certain tiny (3 byte) tzx turbo data blocks. Operations Wolf & Thunderbolt now load - #1158 2018-03-26 08:16:04 +01:00
Asnivor 7b711cb890 Better error handling when parsing TZX files - #1158 2018-03-26 07:42:55 +01:00
Asnivor da71addddd ZXHawk: Fixed TZX block ID 0x33 deserialization (was causing some games to not be parsed properly) 2018-03-22 17:06:52 +00:00
Asnivor c2d3a42a69 ZXHawk: Fixed auto-tape traps (now working properly for all games tested so far) 2018-03-21 14:23:41 +00:00
Asnivor 0bd433210e Fixed tzx tape standard data block PauseAfter value. Now speedlock7 encoded games should work 2018-03-12 10:20:56 +00:00