Commit Graph

63 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
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 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 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 fbba7c25ae ZXHawk: New interrupt implementation 2018-06-11 14:35:12 +01:00
Asnivor c47860fad7 ZXHawk: 48k offsets updated for z80 interrupt response time change 2018-06-08 19:09:40 +01:00
Asnivor a1d24400d0 ZXHawk: proper top border height 2018-06-08 14:39:23 +01:00
Asnivor faec0fb0e5 ZXHawk: 128k/+2 High-port contention now reporting properly in fusetest 2018-06-08 13:43:40 +01:00
Asnivor 403a1032d8 ZXHawk: 48k Interrupt, ULA tables and contention tweaked 2018-06-08 11:07:16 +01:00
Asnivor 25fe4a7a87 ZXHawk: more prep for contended 128k/+2/+2a/+3 2018-06-07 18:00:08 +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 7f8084d410 ZXHawk: IORQ check now happens pre T-Cycle 2018-06-06 14:39:41 +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 9c800cf133 ZXHawk: Buzzer/Beeper implementation now use BlipBuffer - #1158 2018-05-08 20:23:02 +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 76904df015 ZXHawk: Better detect maskable interrupt used as a tape trap 2018-03-21 16:48:14 +00:00
Asnivor 9a9b56c69b ZXHawk: Improvements to reset methods 2018-03-20 15:28:23 +00: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 97c453ae91 Fixed zx16 machine after memory changes 2018-03-13 12:48:08 +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 ae8b030e57 Started new port contention methods and increased the auto-tape monitor timeout (to eliminate false-positive stops) 2018-03-12 10:19:42 +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 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 c8ea81bfd8 Fixed off-by-one-tstate frame timing issue 2018-02-16 08:49:41 +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 3d508455ec Some floating bus work (although still not working) 2017-12-11 18:00:59 +00:00
Asnivor 2759f65b1a Added more border configuration options 2017-12-11 16:05:36 +00:00