Commit Graph

50 Commits

Author SHA1 Message Date
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 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
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
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
Asnivor 2b7014f8b8 ZXHawk: Some comment and group structure cleanup 2019-01-02 14:02:09 +00:00
Asnivor 16d68ea813 ZXHawk: debug only zx-state snapshot export 2018-09-10 10:05:49 +01:00
Asnivor 7ff4cea6c7 ZXHawk: +3/+2a writes to 0x1ffd and 0x7ffd decoded more faithfully 2018-08-20 17:24:14 +01:00
Asnivor 6a5b77c338 ZXHawk: ICodeDataLogger implementation 2018-08-20 14:18:20 +01:00
Asnivor 660fb500ae ZXHawk: codebase cleanup 2018-06-14 11:31:09 +01:00
Asnivor 76318fbc7a ZXHawk: Do ULA processing every cycle 2018-06-14 09:13:09 +01:00
Asnivor 2bae423df8 ZXHawk: Bit of a tidy & readme update 2018-06-13 15:17:19 +01:00
Asnivor 837c681bd5 ZXHawk: missed a bool 2018-06-13 11:57:43 +01:00
Asnivor 373db35805 ZXHawk: implemented +2a/+3 floating bus (confirmed working with 2017 release of 'A Yankee in Iraq') 2018-06-13 11:53:05 +01:00
Asnivor 7ce55e6601 ZXHawk: ReadPort method was incorrectly snagging occational floating bus requests and processing them as kempston joystick input 2018-06-13 09:24:43 +01:00
Asnivor faec0fb0e5 ZXHawk: 128k/+2 High-port contention now reporting properly in fusetest 2018-06-08 13:43:40 +01:00
Asnivor 843dc7a69a ZXHawk: Small performance increase (rendering cycle now happens only when it needs to) 2018-06-07 15:33:58 +01:00
Asnivor 535534a94a ZXHawk: start preparing 128k and +2a/+3 for updating timings 2018-06-06 15:56:27 +01:00
Asnivor f764c137ee ZXHawk: 48k timing work 2018-06-05 17:14:37 +01:00
Asnivor 7677b75de3 ZXHawk: Start building on new BUSRQ implementation 2018-06-04 10:35:12 +01:00
Matt Burgess b9dd435455 ZXHawk: Started 128 and +2a/3 new ULA implementation 2018-06-01 17:38:42 +01:00
Matt Burgess 9a15cbf4d4 ZXHawk: new ULA implementation 2018-05-31 17:54:57 +01:00
Asnivor 45c37ddc47 ZXHawk: Removed IO port contention for now (this fixes the slow beeper music problem). Will re-implement properly later - #1158 2018-05-08 20:37:47 +01:00
Asnivor 9c800cf133 ZXHawk: Buzzer/Beeper implementation now use BlipBuffer - #1158 2018-05-08 20:23:02 +01:00
Asnivor 7aaa5e8a52 ZXHawk: +3 disk ready for testing 2018-04-26 12:57:21 +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 22656fd373 Some TapeDevice changes 2018-03-19 12:01:54 +00:00
alyosha-tas 81e80acf86 z80: make TotalExecutedCycles long and change related variables accordingly 2018-03-18 09:55:56 -04:00
Asnivor 7a36f913ec New AY-3-8912 implementation. Better sounding and more performant 2018-03-15 16:32:26 +00:00
Asnivor d23dc0a296 Finally fixed tape trap auto loading/stopping routines 2018-03-13 20:31:13 +00:00
Asnivor baa46f3c99 Detection method for 48k (or 128k in 48k mode) - needed for 'stop the tape 48k' tzx block command detection 2018-03-12 15:48:00 +00:00
Asnivor 213437362d Memory overhaul for a nice performance benefit 2018-03-12 15:22:06 +00:00
Asnivor ccb5947ade Finished port IO contention rewrites 2018-03-12 12:00:17 +00:00
Asnivor 8708e987f7 Improved tape auto-loading functions 2018-03-09 17:52:04 +00:00
Asnivor e6d43fa5d2 Implemented +2a and +3 is now working (although disk drive not yet implemented so it just shows as +2a) 2018-03-08 19:33:14 +00:00
Asnivor f121aedd6a Added floating bus implementation to 128k/+2 and started looking at +3 emulation 2018-03-08 16:50:56 +00:00
Asnivor 74423041f3 Removed DCFilter 2018-03-07 17:40:15 +00:00
Asnivor 198008a573 LagFrame implementation 2018-03-06 17:57:13 +00:00
Asnivor 35bb1d0c93 Fixed default keys and also fixed a major syncsettings snafu 2018-03-06 16:40:25 +00:00
Asnivor 93ae29c3a0 Added Cursor(Protek) and Sinclair (left and right) joystick emulation. Also user can now set J1, J2, and J3 emulated joystick type through syncsettings 2018-03-06 15:47:14 +00:00
Asnivor 90c1e293bf Implemented multi bundler functionlity and multiple tape controls 2018-03-05 11:17:22 +00:00
Asnivor a3dc506c06 Another timing fix 2018-02-16 09:51:00 +00:00
Asnivor 42b5f5dc5d Tape device re-write and TAP format reading done. Loading state is now fully serializable 2018-02-14 12:21:02 +00:00
Asnivor a5b50fe547 48k - new ULA implementation - 80% faster 2017-12-11 14:08:00 +00:00
Asnivor 0cd8af5974 SyncSettings option for widescreen mode (remove top and bottom borders) 2017-12-07 17:24:30 +00:00
Asnivor eff8ce69b4 More +3 stuff (still not working) 2017-12-07 15:43:28 +00:00
Asnivor f0cef1cf0d AY-3-8912 Implementation 2017-12-07 10:49:43 +00:00
Asnivor 85d38a3379 template for plus3 (but not implemented yet) 2017-12-05 10:38:51 +00:00