Commit Graph

4066 Commits

Author SHA1 Message Date
thrust26 217ca846b0 simple fix for #667 (minimized window) 2020-06-18 07:22:47 +02:00
thrust26 0816f25ee5 fixed crash in Audio & Video dialog when opened from debugger 2020-06-17 22:42:54 +02:00
Christian Speckner f1998c761c Fix reads and writes during timer wrap. Fixes #606 . 2020-06-17 00:20:26 +02:00
Stephen Anthony e1e9c61bc6 Fix reading from TIA registers when D6 is not used. Also fix randomization with
'tiadriven' to always fully randomize, with no relationship to what was on the data bus (fixes #664).
2020-06-16 14:44:44 -02:30
Stephen Anthony 006c7c62d6 Eliminate magic number. 2020-06-12 10:54:25 -02:30
Stephen Anthony 2d78f0ee7c Attempt to gain a little speed on frequently used functions. 2020-06-12 09:24:15 -02:30
thrust26 9cf4686bc2 fix #663 (illegal segment access) 2020-06-12 12:48:15 +02:00
Stephen Anthony dc3324e083 Handle creation of 2K/Sub2K and all other cart types separately.
This simplifies the logic in both cases, and fixes a few corner cases.
2020-06-11 19:04:39 -02:30
thrust26 a05ef8e22b Merge branch 'master' of https://github.com/stella-emu/stella 2020-06-11 17:30:46 +02:00
thrust26 8bcb12c00c changed all adjustable steps to 1%
updated changes
2020-06-11 17:30:27 +02:00
Stephen Anthony bc451db409 Updated docs: modified text for saving "pixel-exact" images, and Cart.VCenter range. 2020-06-11 12:18:30 -02:30
Stephen Anthony afe4be3510 Fix compile error from last commit. 2020-06-11 12:02:50 -02:30
thrust26 7584558746 Fixed #662 (3E+ initialization description) 2020-06-11 16:20:10 +02:00
Stephen Anthony 298eea04cf Fix Pitfall II not working (fixes #661).
Note that I've refactored all the constructors to prevent this issue from happening again.
It already happened with 3E+/3E, and now DPC/F8.  Also, FA2/FA looked suspicious.
2020-06-10 16:59:27 -02:30
Stephen Anthony b9d0535517 Make first 3 segments of 3E+ point to random banks, according to the documentation (fixes #660). 2020-06-10 11:39:55 -02:30
Stephen Anthony 8fabf83080 Remove focus from description in debugger CartRAM widget. 2020-06-09 16:45:53 -02:30
thrust26 5b634b99e7 Revert "take care of odd ROM sizes (fixes #653)"
This reverts commit baa47aec57.
2020-06-09 20:43:37 +02:00
Stephen Anthony 5c879d4a48 Fixed interaction with ideal ROM size between 3E and 3E+. 2020-06-09 15:56:31 -02:30
Stephen Anthony e497405216 Make sure 3E+ ROMs are always internally sized as a multiple 1024 bytes. 2020-06-09 12:32:14 -02:30
Stephen Anthony 476a2b2c56 Make sure to use correct 'virtual' size of ROM when creating the internal buffer. 2020-06-09 11:19:49 -02:30
thrust26 8483b6d160 fixed palette/tv-effects slider rounding issue 2020-06-09 08:27:14 +02:00
thrust26 b93ea1c837 Merge branch 'master' of https://github.com/stella-emu/stella 2020-06-08 15:34:29 +02:00
thrust26 106a021ece allow changing TV hue in 1% steps
update palette display when defaulting
2020-06-08 15:34:10 +02:00
Stephen Anthony 859c8c7382 Updated documentation with changes to properties key names. 2020-06-08 10:59:11 -02:30
thrust26 dda4ec8906 make NTSC custom phase shift not affect Yellow anymore (fixes #656) 2020-06-08 15:27:08 +02:00
Stephen Anthony d38912f8cd A small reprieve for gcc6 users. Fixed codebase so it compiles in g++6 again.
Note that we're moving to gcc7 fairly soon, so this won't be for long.

Bumped version number.
2020-06-07 18:34:10 -02:30
Stephen Anthony 468f6657ae And it never ends. Fix broken support for 2K ROMs. 2020-06-07 17:40:42 -02:30
Stephen Anthony 870905fb87 Update warning message when truncating ROMs in the ROM buffer. 2020-06-07 15:34:38 -02:30
Stephen Anthony 5f2fbc8618 Fix some common errors causing crashes when ROM sizes aren't what we expect (fixes #654). 2020-06-07 14:49:27 -02:30
thrust26 edcf1d3c9d Merge branch 'master' of https://github.com/stella-emu/stella 2020-06-07 08:22:25 +02:00
thrust26 22f6398eae fix ROMs >= 64K (partially addresses #654) 2020-06-07 08:22:07 +02:00
Stephen Anthony 070dd48f22 And as usual, some last minute updates. 2020-06-06 16:37:13 -02:30
Stephen Anthony d983847c95 Final commit before branching for 6.2 release. 2020-06-06 15:01:14 -02:30
thrust26 baa47aec57 take care of odd ROM sizes (fixes #653) 2020-06-05 18:04:08 +02:00
Stephen Anthony 6b14a13f15 Shorten error messages in ROM launcher, to fix overflow of buffer width. 2020-06-04 17:32:35 -02:30
thrust26 79a12351ce fix #648 (focus problem in debugger) 2020-06-04 09:55:13 +02:00
thrust26 e273ed4272 improved keyboard detection (JamLoopy demo) 2020-06-02 21:42:25 +02:00
Stephen Anthony 9d1c3df1d4 Updated version number for upcoming release. 2020-06-02 15:49:20 -02:30
thrust26 9e78f3d630 Save old state for "RunTo" and "RunToPC" debugger commands (fixes #650) 2020-06-02 18:28:38 +02:00
Stephen Anthony ced671c972 Some small API changes for FSNode::getChildren(); it should only include the parent if requested. 2020-05-30 22:03:10 -02:30
Stephen Anthony 1504e81706 Update Xcode project for CartCreator class. 2020-05-30 17:47:41 -02:30
Stephen Anthony 435761051b Add CartCreator to VS project, and fix a few warnings. 2020-05-30 17:34:44 -02:30
Stephen Anthony 683a84c619 libretro: Add CartCreator class. 2020-05-30 17:24:07 -02:30
Stephen Anthony a5ec574489 Split logic for cart creation from CartDetector into new CartCreator class.
Besides simplifying the class, this allows the code to be more easily integrated into HarmonyCart.
2020-05-30 17:21:06 -02:30
thrust26 f9de0deee7 added analog input filtering in UI (fixes #578) 2020-05-27 10:14:16 +02:00
Stephen Anthony 97f6271412 Add support for loading grayscale PNG. Fixes #644.
If I'd known it would be that easy, I'd have done it long ago.
2020-05-26 14:55:40 -02:30
thrust26 3728fb40b1 fixed #645 2020-05-26 15:30:32 +02:00
thrust26 d11f9c383a added two more TV Boy dumps and their properties 2020-05-26 10:33:16 +02:00
Stephen Anthony 32ede9da09 libretro: Use ROM size from core, update formatting and add const. 2020-05-25 18:37:35 -02:30
Stephen Anthony ad781da69d Move 'max rom size' into a const method, and make use of it elsewhere in the code. 2020-05-25 17:32:01 -02:30
Stephen Anthony 6869582d5a libretro: Allow ROMs that are max size for Stella (instead of requiring 1 byte less). 2020-05-25 14:14:57 -02:30
Stephen Anthony 43662449c1 Add TVBoy properties to database. 2020-05-25 14:06:05 -02:30
thrust26 f84498d7c7 reorder 512K bankswitching detection 2020-05-25 18:32:13 +02:00
thrust26 70ab70ab46 fix cart detection for 512K ROMs
add new event & hotkey for selecting previous multicart ROM
2020-05-25 13:58:53 +02:00
thrust26 f284b91f28 disable scanlines by default
add default pause key for macOS
2020-05-25 09:19:51 +02:00
thrust26 433b3e8980 enhanced TVBoy widget 2020-05-25 08:55:05 +02:00
Stephen Anthony 075bd3c7a1 Fix paddle autodetect in a ROM; it actually uses joysticks. 2020-05-24 20:11:36 -02:30
Stephen Anthony de655c11e6 Updated Xcode project for TVBoy class. 2020-05-24 19:47:30 -02:30
thrust26 6de2b2f637 updated VS project file 2020-05-25 00:14:32 +02:00
Stephen Anthony bf41e28a7c libretro: Add TVBoy cart class. 2020-05-24 19:40:43 -02:30
Stephen Anthony 6ec49f3d96 Unify Cartridge::bank() and CartEnhanced::bank() (take 2).
Otherwise, gcc complains of methods mirroring another with the same name.
2020-05-24 19:33:21 -02:30
thrust26 9026598d9e Added TV Boy bankswitching 2020-05-24 23:50:36 +02:00
thrust26 4466f470a3 Revert "Merge branch 'master' of https://github.com/stella-emu/stella"
This reverts commit 3f9ef8026b, reversing
changes made to 191684b6d2.
2020-05-24 23:45:46 +02:00
Stephen Anthony dbae9b8856 Unify Cartridge::bank() and CartEnhanced::bank().
Otherwise, gcc complains of methods mirroring another with the same name.
2020-05-24 18:57:45 -02:30
Stephen Anthony ce3c9b9e8a Shorten error messages in ROM launcher, to fix overflow of buffer width. 2020-05-24 16:08:24 -02:30
Stephen Anthony c622e1f109 Fix compile error. 2020-05-24 13:10:59 -02:30
thrust26 66be9cf320 updated doc (adapting refresh not available for macOS)
added event and hotkey for adapting refresh rate
fixed endless loop in global hotkeys
2020-05-24 10:03:53 +02:00
Stephen Anthony 7a231a42f5 Add 'ADAPTABLE_REFRESH_SUPPORT', and enable it on non-Mac systems.
Cleaned up some dead code.
Made MacOS toggle from windowed to fullscreen work the same as all other systems.
2020-05-23 17:15:42 -02:30
thrust26 ecbf222414 updated doc for fullscreen refresh rate adaption
removed debug output
2020-05-23 20:50:14 +02:00
thrust26 137ba30593 handle rounded refresh rates like 59.94 Hz
disable refresh adjust option for macOS
2020-05-23 12:29:31 +02:00
Stephen Anthony 94b1800cc4 Fix minor warnings from clang. 2020-05-22 15:07:20 -02:30
thrust26 b703d3df92 more compact available video modes logging 2020-05-22 09:05:48 +02:00
Stephen Anthony 38146f9f21 Fix compilation in Xcode. 2020-05-21 22:15:13 -02:30
thrust26 85c3cf59bc added refresh rate adapt for integer factors of the game's refresh rate 2020-05-20 10:19:31 +02:00
thrust26 4afe92e96d added avoiding switching refresh rate when going back to launcher
improved error logging messages
2020-05-19 19:37:06 +02:00
thrust26 29c54ec143 try to create renderer only when required (needs testing) 2020-05-19 12:33:01 +02:00
thrust26 2722435f36 oops 2020-05-19 10:19:48 +02:00
thrust26 0f751d268c fix window position saving when switching from/to fullscreen mode
suppress fullscreen UI message outside emulation mode
2020-05-19 08:53:11 +02:00
thrust26 987bfaab1d improved refresh rate code 2020-05-18 21:13:18 +02:00
thrust26 77f24947f0 added optional refresh rate adaption in fullscreen mode 2020-05-18 12:26:05 +02:00
thrust26 63f1414007 minor fix, make sure that a message is displayed when switching TV format 2020-05-16 23:47:15 +02:00
Stephen Anthony 77ac37e706 Revert "Very small optimization for const char* instead of strings."
This reverts commit 378829da5a.
2020-05-16 18:41:32 -02:30
thrust26 16f5797e31 added two more methods to global hotkeys
updated and restructured hotkey documentation
2020-05-16 13:00:38 +02:00
thrust26 16a3280b56 added four global hotkeys which allow selecting and changing several adjustable settings (addresses #631) 2020-05-16 09:50:16 +02:00
Stephen Anthony 378829da5a Very small optimization for const char* instead of strings. 2020-05-15 19:22:36 -02:30
Stephen Anthony a618d27f01 Partially revert previous commit: fix ROM launcher not showing properties in certain cases. 2020-05-15 15:25:27 -02:30
Stephen Anthony 308cc97974 libretro: Return nullptr when necessary. 2020-05-15 09:33:39 -02:30
Stephen Anthony 7b6e3e32f6 libretro: Fix sound code for latest refactoring. 2020-05-14 21:03:25 -02:30
thrust26 c06a60d704 added global hotkeys (pageup/down) for current displayed setting (or volume) 2020-05-14 21:18:55 +02:00
thrust26 a6df70db89 a little bit of polishing 2020-05-14 11:12:56 +02:00
thrust26 ea98b7a8d0 added gauge bars display when selecting settings too 2020-05-13 20:26:19 +02:00
thrust26 aa5367f152 make sure that debugger command 'stepwhile' doesn't run forever. 2020-05-13 16:00:20 +02:00
thrust26 ac41d12664 increase maximum iterations and performance of RunToPC command 2020-05-13 13:33:17 +02:00
thrust26 35a113b628 fix #635 (<=2K ROMs rewind broken) 2020-05-13 10:56:34 +02:00
thrust26 020dea9cc8 added UI messages with gauge bars for variable values (partially addresses #631) 2020-05-13 09:32:11 +02:00
thrust26 e7b99f7cec update default keys and doc for palette adjustments 2020-05-13 09:25:22 +02:00
Stephen Anthony 1fbd774323 libretro: Remove redundant code. 2020-05-12 14:00:08 -02:30
Stephen Anthony 7ae0aff062 Some more header file cleanups, hopefully resulting in faster compile
times.
2020-05-12 13:52:33 -02:30
Stephen Anthony f0cee245f7 libretro: Fixed #634. 2020-05-12 11:51:55 -02:30
thrust26 43da84eb08 renamed palette settings prefix 2020-05-12 16:09:39 +02:00
thrust26 838cba2d16 Moved two more mouse settings to Mouse tab 2020-05-12 15:21:15 +02:00
thrust26 71d5cb723a Merge branch 'feature-palette' 2020-05-11 21:19:52 +02:00
thrust26 36c18c2e28 Fixed minimal zoom and message area width 2020-05-11 21:18:49 +02:00
Stephen Anthony 08c48c5f82 Don't include some header files when we don't need to. 2020-05-11 16:15:34 -02:30
Stephen Anthony 9b933ec4d4 Update Xcode project for class changes. 2020-05-11 15:33:42 -02:30
Stephen Anthony 5ddaea992d Fixes for warnings in latest g++ and clang, and update libretro port to latest changes. 2020-05-11 14:57:01 -02:30
thrust26 c078bf135d bugfix audio widgets enabling 2020-05-11 16:18:43 +02:00
thrust26 259c0bf48f refactored Video and Audio dialogs into common dialog
created new EmulationDialog
(re)moved some includes to reduce compile time
2020-05-11 16:15:12 +02:00
thrust26 614e28375d code cleanup and bug fixing 2020-05-11 10:47:43 +02:00
thrust26 5aa57decb5 some transformation code cleanup 2020-05-10 22:53:58 +02:00
thrust26 5686c37a57 add hue adjustment code to PaletteHandler 2020-05-10 21:53:02 +02:00
thrust26 85f438f693 added interactive palette display to VideoDialog 2020-05-10 19:53:59 +02:00
thrust26 b21efb6269 improved VideoDialog alignment
moved "Center Windows" to UIDialog
2020-05-10 12:46:54 +02:00
thrust26 fd02fb6e86 started refactoring VideoDialog
fixed selecting adjustable in NTSCFilter
2020-05-09 23:00:16 +02:00
thrust26 123d2ec9f6 remove palette functionality from NTSCFilter
load and save config values in PaletteHandler
2020-05-09 21:36:22 +02:00
Stephen Anthony 2ae04d7450 Don't create an array of size 0. 2020-05-09 15:13:08 -02:30
thrust26 825c0e516a refactor palette handling into own class
convert brightness, contrast, saturation and gamma
2020-05-08 17:51:19 +02:00
Stephen Anthony 2770845f6b Use our own version of PI, since M_PI isn't defined everywhere. Fixes #630.
Also, consistently use float instead of mixing float and double (compiler complains otherwise).
2020-05-08 02:12:58 -02:30
thrust26 754cd90f90 fix window position saving when changing zoom via hotkey 2020-05-07 23:09:11 +02:00
thrust26 8d086b9ef9 fixed palette cycling
updated doc for phase shift hotkeys
improved scanlines hotkey messages
2020-05-07 10:36:36 +02:00
Stephen Anthony af79f51846 libretro: Fix compilation error when including unnecessary header file. Fixes #628. 2020-05-06 21:56:47 -02:30
thrust26 dd7dbaecbc Merge branch 'master' of https://github.com/stella-emu/stella 2020-05-06 21:32:44 +02:00
thrust26 b85f7af4bf initial commit 2020-05-06 21:30:43 +02:00
Stephen Anthony f3f0617940 Added '_scanend' pseudo-register to track scanlines at end of last frame. Fixes #624. 2020-05-04 14:19:02 -02:30
Stephen Anthony a2e5204835 libretro: Fix #627. 2020-05-04 12:25:43 -02:30
thrust26 d0276ad4e4 minor UI alignment fixes 2020-05-04 10:28:46 +02:00
thrust26 d9770ea260 small optimizations of detection code 2020-05-04 09:46:04 +02:00
thrust26 370d436550 add properties for test ROM "spin4a50" 2020-05-04 09:34:33 +02:00
thrust26 9685887833 fixed 3E bankswitching 2020-05-03 08:45:15 +02:00
Stephen Anthony 8525c605f4 Fix crash in cart autodetect; if we can't find a match, use 4K. 2020-05-02 18:15:27 -02:30
Stephen Anthony 6363ebaf0a libretro: Fix Makefile for recent cart refactoring. 2020-05-02 16:12:56 -02:30
Stephen Anthony 5da1543066 Fix warnings from clang. 2020-05-02 16:07:12 -02:30
thrust26 5c7bea8923 Merge remote-tracking branch 'remotes/origin/refactor/cart' 2020-05-02 19:59:46 +02:00
Stephen Anthony 1c8a52aaaf libretro: Fix #625. 2020-05-02 14:39:23 -02:30
thrust26 d857eaa2b1 Make windows positioning independent for launcher, emulator and debugger (resolves #615) 2020-05-02 16:46:37 +02:00
thrust26 31f9613825 Merge branch 'master' into refactor/cart 2020-05-02 10:20:25 +02:00
thrust26 129b5be7ff added some more MDM test ROMs and their properties 2020-05-02 09:20:22 +02:00
thrust26 da3d7f1108 fix #613 (debugger focus) 2020-05-01 20:49:45 +02:00
thrust26 b5d0a5a057 small fix in debugger dialog 2020-05-01 12:10:00 +02:00
thrust26 7463f3cf32 fix disassembly for segmented bankswitching types 2020-04-30 23:53:53 +02:00
thrust26 1e518a5593 fix disassembly for segmented bankswitching types 2020-04-30 23:45:14 +02:00
thrust26 50137b8fa6 Two minor formatting fixes 2020-04-30 16:11:08 +02:00
thrust26 3de15a4250 adjust minimal launcher size based on dialog font 2020-04-30 11:24:10 +02:00
thrust26 78741b8906 Part 3 of the changes for #600 (UI fonts) 2020-04-30 09:39:42 +02:00
thrust26 17354af0f3 Part 2 of the changes for #600 (UI fonts) 2020-04-29 23:49:00 +02:00
Stephen Anthony 15ead58aa7 libretro: Fix compile error; conditionally include Font class. 2020-04-29 14:52:15 -02:30
thrust26 b9ec835ef5 Part 1 of the changes for #600 (UI fonts) 2020-04-29 14:25:54 +02:00
thrust26 bbbf4ed2e0 improved Rom info size check 2020-04-29 11:00:18 +02:00
thrust26 43069e5722 Merge branch 'master' of https://github.com/stella-emu/stella 2020-04-29 09:24:11 +02:00
thrust26 89fd236c87 fix #623 (Rom info too large) 2020-04-29 09:23:55 +02:00