Commit Graph

4311 Commits

Author SHA1 Message Date
Christian Speckner ea94f5e795 Scheduling fixes. 2018-06-07 21:02:08 +02:00
Christian Speckner d8732c9378 Uups, fix evident error. 2018-06-07 20:59:15 +02:00
Christian Speckner 773a0cf906 Cleanup. 2018-06-07 20:55:33 +02:00
Christian Speckner afb1e1d1e1 Emulation worker. Currently untested and disconnected. 2018-06-07 20:54:30 +02:00
Stephen Anthony 9e4dbd6a3a Fixed dirty buffer in TIA mode when switching screenmodes. 2018-05-27 18:53:57 -02:30
Stephen Anthony 1eee879e29 Make sure onscreen messages are shown, even when a console doesn't exist. 2018-05-27 16:41:42 -02:30
Christian Speckner a5ce457b72 Implement triple buffering in TIA. 2018-05-27 00:26:36 +02:00
Stephen Anthony f7a9a12c23 Updated VS project for recent dispatch class changes.
Bumped version # for precise-sound branch, since I'm getting tired of
switching between branches and forgetting which binary I'm currently
running.
2018-05-24 21:32:32 -02:30
Stephen Anthony a9985cc6b8 Updated OSX project file for new dispatch code, and fixed a minor warning. 2018-05-24 21:01:38 -02:30
Christian Speckner 77f149eab9 Fix stepping after breakpoint. 2018-05-24 00:19:49 +02:00
Christian Speckner a14cf8d077 Refactoring: start debugger from dispatch loop. 2018-05-24 00:13:43 +02:00
Christian Speckner ae0faaabfc Fix cycle counting in CPU. 2018-05-22 00:18:07 +02:00
Christian Speckner ed6eae6a67 Rerender only if there is actual change. 2018-05-17 22:56:07 +02:00
Christian Speckner 639b6af1e9 Fix missing audio reset. 2018-05-16 13:09:50 +02:00
thrust26 adbde4e4db preliminary audio dialog changes 2018-05-15 20:51:29 +02:00
Stephen Anthony cf8f76a0e1 Fix [[nodiscard]] warning in VS (applies only to C++17 mode). 2018-05-12 22:33:15 -02:30
Stephen Anthony dc77f5d5f1 Variables declared as uInt64 should be serialized as such. 2018-05-12 17:04:33 -02:30
Christian Speckner c3766021d8 Add a log message for audio buffer overflow messages. 2018-05-12 16:52:54 +02:00
Christian Speckner f01553bdc7 More audio queue tuning -> less lag. 2018-05-12 16:21:58 +02:00
Christian Speckner 7391c55f9e Documentation, minor optimization. 2018-05-12 13:32:31 +02:00
Stephen Anthony 4c7ad7a0b6 Replace 'new' calls with unique_ptr.
- @DirtHairy, you can revert this if you like, but unless there is some issue, I'd rather use smart pointers with auto-deallocation.
2018-05-11 21:26:22 -02:30
Stephen Anthony 741515a520 Fix minor compile warnings generated by clang:
- mostly change pointer -> 0 to use 'nullptr'
 - some commenting and formatting fixes
2018-05-11 21:01:40 -02:30
Stephen Anthony d624140829 Updated VS project for resampling work, and fixed minor compile error in
Windows.
2018-05-11 20:32:18 -02:30
Christian Speckner 33db8a8b03 Comments. 2018-05-12 00:44:31 +02:00
Christian Speckner ce2d650df4 Update XCode project. 2018-05-12 00:24:02 +02:00
Christian Speckner 0c67bff939 Tuning, TODO 2018-05-12 00:18:09 +02:00
Christian Speckner 2da0ffa2f5 Rework available sampling rates (44100, 44800, 96000), add resampling.quality parameter. 2018-05-12 00:15:29 +02:00
Christian Speckner 1b0fb381d0 Lanczos resampling. 2018-05-11 23:52:00 +02:00
Christian Speckner b329c7ff5f Switch to F32 samples, make volume scale more linear in sound.. 2018-05-10 23:54:52 +02:00
Stephen Anthony cea1c011be Updated Xcode project for resampler classes. 2018-05-08 20:34:46 -02:30
Stephen Anthony 2c38757faa Updated VS project file for resampler classes. 2018-05-08 20:17:48 -02:30
Christian Speckner 3bac41dd46 Factor out resampling. 2018-05-09 00:38:01 +02:00
Stephen Anthony c1679d6883 Fixed VS project file; recreated it from the one in master. 2018-05-08 20:00:10 -02:30
thrust26 efbc261128 fixed missed end tag 2018-05-08 16:05:01 +02:00
Christian Speckner ec83fdd158 Update XCode build 2018-05-07 00:06:53 +02:00
Christian Speckner f3b7245ce4 FPS measurement seems to be OK. 2018-05-06 23:51:43 +02:00
Christian Speckner 068dcad4a4 Remove hardcoded limit on sample rate. 2018-05-06 23:50:52 +02:00
Christian Speckner 6cc8a22978 More timing tuning, coding style. 2018-05-06 23:45:21 +02:00
Christian Speckner a58db7e62d Make sure that all audio samples are generated during each timeslice. 2018-05-05 01:08:09 +02:00
Christian Speckner d2c930886b Sanitize and match emulation timing
-> no more perceivable audio latency
-> fewer underruns
2018-05-05 00:47:48 +02:00
Christian Speckner 9079d77de0 Cosmetic changes, add audio todo. 2018-05-02 21:30:38 +02:00
Christian Speckner c905b01fca Merge branch 'master' into feature/precise-audio 2018-04-25 22:49:00 +02:00
Stephen Anthony 1bb3790e12 Linux builds now use system PNG and ZLIB libraries by default. 2018-04-18 12:29:40 -02:30
Stephen Anthony ddf6ba1089 Add preliminary support for 2600-daptor D9 USB device. 2018-04-01 15:01:03 -02:30
Stephen Anthony a978bb527e Fix compile error when debugger support is disabled. 2018-03-31 20:33:25 -02:30
Christian Speckner b5afa69764 Make coverty happy. 2018-03-30 22:04:42 +02:00
Stephen Anthony 382a39a6c7 More fixes for issues reported by Coverity. 2018-03-30 10:51:56 -02:30
sa666666 93ba74ad44 Fixed weird characters in Changelog file. 2018-03-27 08:53:33 -02:30
Stephen Anthony 698beaec8b Fixes for various issues reported by Coverity. 2018-03-24 16:58:08 -02:30
Stephen Anthony 524cec907a Updated Windows build to support SDL 2.0.8. 2018-03-24 14:47:18 -02:30