Commit Graph

4731 Commits

Author SHA1 Message Date
Stephen Anthony 1e7163e901 Updated changelog for desktop bounds area (using SDL2.0.5+ feature). 2018-12-21 11:53:09 -03:30
Stephen Anthony f6a4b798a4 Updated 'AudioSettings' snapshot to match latest changes.
Ran all PNGs through pngcrush, resulting in a 22% space savings.
2018-12-21 11:44:40 -03:30
Christian Speckner b466393712 x kSamples -> xk samples 2018-12-21 08:54:45 +01:00
Christian Speckner 098a2a5fb1 Parse strings and float in the same locale in which they were serializwd. 2018-12-20 23:48:52 +01:00
Stephen Anthony b40a614cee Rework `Cartridge::initializeStartBank()` to require a specific starting bank.
Randomization and reading from properties still work too.
Fixes issues in several ROMs that essentially were getting bank randomization even though it was disabled.
2018-12-20 18:37:27 -03:30
Stephen Anthony 497bfc92db Added ROM properties for a few ROMs included with the R77. 2018-12-19 17:02:30 -03:30
Stephen Anthony 9c1b9ae00e Fix bug when taking snapshots in 1x mode; once started, it never stopped. 2018-12-19 14:26:15 -03:30
Stephen Anthony 933c4d7d3c Mac-related files/folders are now using 'macOS' naming scheme. 2018-12-19 11:46:09 -03:30
Stephen Anthony 6a17467e99 Slight space savings for load/save state. 2018-12-19 10:46:16 -03:30
Stephen Anthony ae3df81967 Use 'SDL_GetDisplayUsableBounds' if available (gives dimensions with dock/taskbar taken into account)
- This still needs some testing on Windows/OSX, so docs aren't updated yet
- If it ends up not working, I will '#if 0' it for the 6.0 release.
2018-12-18 23:07:34 -03:30
nanochess a92cf466cb Desired desktop resolution minus dock for Mac OS X (requires SDL-2.0.5 or higher) 2018-12-18 23:01:13 -03:30
nanochess 59eac4f1d1 Desired desktop resolution minus dock for Mac OS X (requires SDL-2.0.5 or higher) 2018-12-18 23:00:34 -03:30
Stephen Anthony f33ac273dd Remove debugging code. 2018-12-18 22:00:01 -03:30
Stephen Anthony 269fc7bc19 Updated OSX project file for new classes. 2018-12-18 21:53:40 -03:30
Stephen Anthony 9c64a8fdad Update libpng to latest version. 2018-12-18 21:30:34 -03:30
Stephen Anthony 3423bf15c7 Set release date for 6.0 for Dec. 23. We'll see if we actually make it ... 2018-12-18 21:15:32 -03:30
Stephen Anthony 69fb08e30c Remove '_rwport' from the debugger.
The new way of detecting RWP is superior, and we don't have time to rework _rwport to use it.
This may come back in the future (if required), but I honestly don't see a need for it.
2018-12-18 20:56:19 -03:30
Stephen Anthony d7e9cfc4d0 Fix some warnings from cppcheck.
I'll admit that some of these suggestions are of dubious importance, but at least we shut up the tester :)
2018-12-18 20:06:55 -03:30
Christian Speckner 521e5dc51d Document audio settings, fix units for fragment size, fix audio dialog width. 2018-12-18 23:18:40 +01:00
Stephen Anthony 471cf1ad4d Updated RWP stuff for 'E7' scheme. 2018-12-18 14:32:49 -03:30
Stephen Anthony a26288c788 Updated RWP stuff for DASH scheme.
Again, this is a relatively untested BS scheme, with only one test ROM available.
2018-12-18 14:04:25 -03:30
Stephen Anthony 70fcd0f3b5 Updated RWP stuff for '3E+' scheme.
This is currently mostly untested, since this scheme isn't widespread and has only a few test ROMS.
2018-12-18 10:59:29 -03:30
Stephen Anthony 56669c5449 Convert Cart classes to receive 'md5' parameter.
That's an *awful* lot of work to simply pass info to each class :)
2018-12-18 10:24:40 -03:30
Stephen Anthony dea62573f8 More carts converted to new RWP code. 2018-12-17 21:25:08 -03:30
Stephen Anthony 9aaf8b22b5 Fix wrong address in poke methods in 'SC' schemes. 2018-12-17 20:41:39 -03:30
Stephen Anthony 4ff613b4e9 Converted all the class 'SC' carts to new RWP scheme. 2018-12-17 20:15:11 -03:30
Stephen Anthony ebe18877f9 Fairly large refactoring of RWP functionality.
- abstracted RWP code into Cart base class (only F8SC converted for now)
- RWP now works by analysing RAM accesses before and after each instruction, catching all occurrences

Fixes for compiling without debugger support.
2018-12-17 19:51:28 -03:30
Christian Speckner 8cb235bf19 Hack around race condition in timers. 2018-12-17 00:30:42 +01:00
Christian Speckner 9b22c6afa7 Rewrite StaggeredLogger with a timer. 2018-12-15 23:59:21 +01:00
thrust26 06c20103af fixed crash in StringListwidget when scrolling with mouse
fixed #398
2018-12-15 10:17:14 +01:00
thrust26 b8e53d76af updated VS project files
updated change log
2018-12-15 09:41:27 +01:00
Christian Speckner d981ed71f3 Fix missing include -> fixes windows build. 2018-12-15 09:22:00 +01:00
Christian Speckner d5d9618def Use actual time since the current log window started for log messages. 2018-12-15 00:15:44 +01:00
Christian Speckner 5b0b8cd5cb Summarize audio buffer errors and log them to the main log. 2018-12-15 00:04:38 +01:00
Christian Speckner 4bb3819521 Summarize audio buffer errors and log them to the main log. 2018-12-14 23:57:12 +01:00
Stephen Anthony d941ebca09 Added new approach for values used when reading from the write port.
Previously these values were from whatever was on the databus, but new testing
indicates that they are semi-random (ie, random, but with some pattern).

The new code bases the values in part on the md5sum of the ROM (for randomization),
but also pre-generates a set number of values (for a pattern).

Currently only F8SC scheme is implemented.  The remainder will be done once
we test this one.
2018-12-08 18:05:05 -03:30
Stephen Anthony 5f91532d95 Fix minor clang warning in last commit. 2018-12-08 11:43:35 -03:30
thrust26 1dfc221a1a fixed RWP by using the last access type 2018-12-08 15:51:16 +01:00
thrust26 33e300b28c one more update for RWP 2018-12-08 10:32:05 +01:00
thrust26 e34e63571f updated change log and documentation for RWP 2018-12-08 10:27:28 +01:00
thrust26 d3b270dea8 fixed trapping on 'read from write port' functionality for CPU dummy peeks 2018-12-08 09:53:00 +01:00
Stephen Anthony b6dcd110f0 Updated VS project for recent exception classes. 2018-12-07 21:50:07 -03:30
Stephen Anthony 7b4c3dc6b8 In the case of 'read from write port', make sure RAM is modified before exception is thrown. 2018-12-07 21:45:28 -03:30
Stephen Anthony abfc01b483 Rework trapping on 'read from write port' functionality.
The new code introduces a generic 'EmulationWarning' exception that can
be thrown for any reason.  The RWP functionality has been ported to use
this, with the main benefit that if we ever have to add new exceptional
cases, we no longer need to modify M6502 class; it will pick up on the
new exceptions and pass them to the EmulationWorker as necessary.

Functionally, the RWP stuff works the same as before, just with a
different implementation behind the scenes.
2018-12-07 21:19:44 -03:30
Stephen Anthony 6a9ae2e3a1 Added exception class for general warnings, separate from the one for fatal errors. 2018-12-07 20:56:48 -03:30
thrust26 14501b8a94 Fixed exception when FatalEmulationError message was too short. 2018-12-07 22:02:16 +01:00
thrust26 ecb6c7a508 Implemented solution for #396 2018-12-07 20:47:06 +01:00
Stephen Anthony a7f8d67211 Some refactoring of snapshot code for future reference. 2018-12-07 15:22:39 -03:30
thrust26 979977befa fully implemented #395 2018-12-06 18:51:46 +01:00
thrust26 3733adb39c better snapshots, part 2 (buggy!) 2018-12-06 16:38:41 +01:00