Commit Graph

4479 Commits

Author SHA1 Message Date
thrust26 4bc6d35192 Merge branch 'master' of https://github.com/stella-emu/stella 2020-10-23 19:46:17 +02:00
thrust26 196e8919cc fixed Atari mouse auto detection 2020-10-23 19:46:06 +02:00
Stephen Anthony 903be34217 libretro: Minor doc updates and code rearrangement. 2020-10-23 14:48:31 -02:30
Stephen Anthony ce5bd61d85 Updated Xcode project for recent framebuffer rework. 2020-10-23 10:54:50 -02:30
Stephen Anthony c502c4d945 Minor update to VS project file. 2020-10-23 10:46:05 -02:30
Stephen Anthony b6d18845d8 Fairly huge refactoring of FrameBuffer class into FBBackend and friends.
Only tested in Linux and libretro for now; Windows and Mac will follow soon.
2020-10-23 10:27:06 -02:30
thrust26 0d0125fa71 Merge branch 'master' of https://github.com/stella-emu/stella 2020-10-22 12:10:03 +02:00
thrust26 1e68194576 added editable PopupWidget
made AtariVox serial port editable
2020-10-22 12:09:49 +02:00
Stephen Anthony ddf8b84130 Switch to 'cu' AVox-USB devices for Mac. 2020-10-20 09:44:35 -02:30
Stephen Anthony 949e6aa915 Fix serial port autodetect issues for Mac (similar to fixes for Linux). 2020-10-19 19:16:49 -02:30
Christian Speckner 89c6b847e7 Fix romSize overflow. Fixes DPC emulation with UNSAFE_OPTIMIZATIONS. 2020-10-19 23:37:20 +02:00
Christian Speckner b1288f5059 Whitespace. 2020-10-19 23:36:14 +02:00
Stephen Anthony 858e79e7d3 Change serial port autodetection in Unix to not re-configure the ports, only test if they can be opened.
If this fixes the recently reported bug, we will extend this to other systems.
2020-10-18 14:32:30 -02:30
Christian Speckner c462cc4680 Initialize EEPROM data if file doesn't exist. 2020-10-17 21:09:42 +02:00
Stephen Anthony 5da4c9eb1c Moved some framebuffer enums to appropriate file. 2020-10-16 15:32:43 -02:30
Stephen Anthony cf737d59d0 A few more FrameBuffer cleanups.
- refactored a block of code that was essentially the same in 3 different places
2020-10-16 14:19:15 -02:30
Stephen Anthony e6dae567f9 Fix some warnings from clang. 2020-10-15 11:29:58 -02:30
thrust26 6dbc6676be allow disabling scroll bars in ListWidget 2020-10-15 09:40:52 +02:00
thrust26 8219e607e4 updated debugger doc 2020-10-15 08:30:50 +02:00
Stephen Anthony de6f4004f7 Eliminate dead code. 2020-10-13 21:27:22 -02:30
Stephen Anthony 01b23e4116 A few more cleanups relating to Common::Size vs. separate components. 2020-10-13 21:26:05 -02:30
Stephen Anthony dbad30bea6 Updated Xcode for VideoModeHandler class. 2020-10-13 11:03:02 -02:30
Stephen Anthony f0ea31f740 Updated VS project for VideoModeHandler class. 2020-10-13 10:53:39 -02:30
Stephen Anthony e15d27dc96 Started cleanup of FrameBuffer class.
- Moved Video mode stuff into separate class
- Fix bug with aspect correction in fullscreen mode still giving graphical artifacts
2020-10-13 10:47:37 -02:30
thrust26 7eece4e994 fully resolved #165 (added timer read cycles count)
refined TiaInfoWidget again
added doc
2020-10-13 15:11:35 +02:00
thrust26 f6d78e57b1 fixed "no debugger" project files 2020-10-13 09:30:04 +02:00
thrust26 720cad7e76 implemented WSYNC part of #165 (TODO: doc)
refined TiaInfoWidget, CpuWidget and RamWidget
2020-10-12 21:30:03 +02:00
thrust26 71ed38855c added some minor refinements of RamWidget and CpuWidget 2020-10-12 14:12:57 +02:00
thrust26 f4fdebb425 fix #710 2020-10-11 19:48:27 +02:00
thrust26 a021005b4e added cut/copy/paste text support for Windows keys 2020-10-11 10:46:49 +02:00
thrust26 76c526bcb0 Added basic (entire and single line only) text cut/copy and paste (partially implements #105) 2020-10-11 10:12:42 +02:00
thrust26 7fbcc95c19 Display zoom factor when switch from/to fullscreen mode 2020-10-08 21:34:00 +02:00
Stephen Anthony 3d3dd0a191 Final updates for 6.3 release. 2020-10-06 15:57:49 -02:30
thrust26 6455fbce01 added info to "Correct aspect ratio" UI setting 2020-10-06 15:30:07 +02:00
thrust26 2f7d7c0416 fixed wording 2020-10-05 23:07:52 +02:00
thrust26 e2c3584bb7 Merge branch 'master' of https://github.com/stella-emu/stella 2020-10-05 23:05:49 +02:00
thrust26 7fa2db712b made correct aspect ratio a permanent setting
added hotkey for correct aspect ratio
updated docs
2020-10-05 23:05:33 +02:00
Stephen Anthony 282e082862 Added debugger pseudo-registers to detect timer access on wraparound (fixes #606). 2020-10-05 16:48:57 -02:30
Stephen Anthony ad6a930e83 Startup bank randomization is now disabled for BUS and DPC+ too (similar reasoning as for CDF). 2020-10-05 16:18:34 -02:30
thrust26 2464094694 changed plain video mode into no correct aspect ratio mode
updated docs
2020-10-05 19:25:04 +02:00
thrust26 60bffab65d added doc for plain video mode
renamed plain video mode option
2020-10-05 14:26:11 +02:00
Christian Speckner e2d8d7e23e Add plain video mode. 2020-10-04 21:55:47 +02:00
thrust26 c7e66fff0a Adapt dialog for various font sizes 2020-09-29 23:21:28 +02:00
Stephen Anthony fcce8d3cbb Added autodetection for AVox-USB adaptor to UI (fixes #688). 2020-09-29 16:10:59 -02:30
Stephen Anthony c4dffc1210 Forgot to include header file in VS project file. 2020-09-29 16:08:48 -02:30
Stephen Anthony afa0fe3190 Wrap 'windows.h' inside a C++ compatible header file. 2020-09-29 15:56:27 -02:30
Thomas Jentzsch 55e69273d4
Merge pull request #704 from chrisdwalton/master
added CDFJ+ test binaries 
improved CartCDF class description
2020-09-20 08:11:03 +02:00
Stephen Anthony 91db2cdd33 Autodetect serial port for AVox-USB adaptor on startup, and set 'avoxport' argument.
This completely automates the discovery of the AVox port when only one such port exists.
If there is more than one, this code selects the first one.  Further work will allow the user to go into the Input dialog and select the correct one, if more than one exists.

On my system, this adds about a 0.02 second delay to startup, so I think we can just leave it enabled.
If it ends up being too slow on some systems, we can introduce an option to disable autodetection.
2020-09-19 19:41:34 -02:30
cd-w 58e2542428 CDFJ+ test binaries 2020-09-19 15:05:36 -07:00
Stephen Anthony 448df9765a Fix minor warning (missing newline), and minor cleanup. 2020-09-19 18:22:57 -02:30
thrust26 ab723accdb fixed warnings 2020-09-19 22:35:39 +02:00
cd-w 71a66ec9ba Add romSize and ramSize functions 2020-09-19 13:03:04 -07:00
cd-w 75d3a6e5e5 Update debugger widget for CDFJ+ 2020-09-19 09:23:24 -07:00
cd-w c2d0de237c Preliminary support for CDFJ+ bankswitching 2020-09-13 13:16:34 -07:00
Stephen Anthony 67db826bc5 Added code to detect valid serial ports.
Next we have to tie this into the UI, so AtariVox port can be more easily detected.
2020-09-12 16:44:55 -02:30
Stephen Anthony 7e8be2b347 Guarantee 'inline' code actually happens. 2020-09-08 12:52:20 -02:30
Stephen Anthony b8c6a9b024 Add QuadTari support to Xcode. 2020-09-08 12:23:46 -02:30
Thomas Jentzsch 9a183bf8b5 Merge remote-tracking branch 'remotes/origin/master' into feature/quadtari 2020-09-08 16:22:21 +02:00
Thomas Jentzsch 0587d911d5 addressing #694, this seems to fix it (internal RAM bank segment addresses were exceeding 64K) 2020-09-08 12:26:05 +02:00
Thomas Jentzsch 500253323a added more controller widget support for QuadTari
added tabbing through controller widgets
2020-09-07 15:37:45 +02:00
Thomas Jentzsch 66b3245c5a enhanced UA bank switching to support more Brazilian carts (fixes #698) 2020-09-06 19:10:08 +02:00
Thomas Jentzsch 978ad7c270 working on more controllers and debugger widgets 2020-09-06 15:30:40 +02:00
Thomas Jentzsch 283d9b14e3 made changes in controller widgets and switches highlighted in SWCHA(R)/SWCHB(R)
made SWCHB(R) editable in debugger
2020-09-06 09:03:29 +02:00
Thomas Jentzsch 4a3503637e Updated StellaSettingsDialog and WhatsNewDialog 2020-09-05 22:24:13 +02:00
Thomas Jentzsch 146fe3783c made changes in controller widgets and switches highlighted in SWCHA(R)/SWCHB(R)
made SWCHB(R) editable in debugger
2020-09-05 16:16:12 +02:00
Thomas Jentzsch 507a367ced reduced QuadTari timer to 1 scanline 2020-09-04 07:50:58 +02:00
Stephen Anthony b2faf3e635 Fix a few compiler warning and errors from the latest g++ and clang compilers. 2020-09-03 20:44:41 -02:30
Thomas Jentzsch 8565432861 QuadTari documentation 2020-09-03 19:35:38 +02:00
Thomas Jentzsch fa987e63b6 added multiple controller support (joystick, driving, SaveKey, AtariVox) 2020-09-03 15:14:55 +02:00
Stephen Anthony cb22a9e75f libretro: Updated VS2017 project.
This has been broken for months, so I wonder whether we should keep it.
2020-09-02 19:29:35 -02:30
Stephen Anthony 7a1a5f0946 Fix compile errors. 2020-09-02 17:50:48 -02:30
Thomas Jentzsch f1b1936a73 started working on multiple controller support 2020-09-02 21:54:31 +02:00
Stephen Anthony 34c937a143 Fix compile warning in clang, and compile error for libretro build. 2020-09-02 12:12:38 -02:30
Thomas Jentzsch a86afe97c6 fixed build error and warning
reduced QuadTari switch timer value
2020-09-02 13:19:04 +02:00
Thomas Jentzsch d43a018c6c added QuadTari controller switch timer 2020-09-02 12:51:31 +02:00
Thomas Jentzsch e3e9eab72e added missing files (again :( ) 2020-09-02 11:17:46 +02:00
Thomas Jentzsch 2557d03d05 Merge remote-tracking branch 'remotes/origin/master' into feature/quadtari 2020-09-02 11:16:56 +02:00
Thomas Jentzsch c244cea9fa added QuadTari debugging widget (joysticks only)
added mapping for 2nd QuadTari joysticks
2020-09-02 10:08:58 +02:00
Thomas Jentzsch 5e72e980c9 added QuadTari support for joysticks
added autodetection for QuadTari
2020-09-01 14:34:53 +02:00
Thomas Jentzsch f19792a9e2 add missing files 2020-09-01 08:09:03 +02:00
Thomas Jentzsch 1262efb425 fixed 3E+ peeks and pokes (using 3E code now) 2020-09-01 08:01:09 +02:00
Thomas Jentzsch 7273996532 fixes #695 (wrong RWPs) (directPokeBase must NOT be set! (partially reverts 0bf12045d and b57c2d05c) 2020-09-01 07:52:21 +02:00
Thomas Jentzsch bf4b63cb1c initial commit for QuadTari support (see #693) 2020-08-31 10:33:37 +02:00
thrust26 00841dc6ec initial commit 2020-08-27 08:53:14 +02:00
thrust26 859f33f54c added delayed background color glitch developer option 2020-08-26 23:39:20 +02:00
Stephen Anthony c165c9b159 Add '--enable-release' to configure script, which for now sets the Makefile to use LTO. 2020-08-26 15:27:41 -02:30
thrust26 a73c92904f Merge branch 'master' of https://github.com/stella-emu/stella 2020-08-26 17:58:05 +02:00
thrust26 ebe6135d37 enabled "Whole Program Optimization" for release versions (~5% faster in Turbo mode) 2020-08-26 17:57:32 +02:00
Thomas Jentzsch c3081081b0 updated event version to force initial controller mapping 2020-08-25 09:52:08 +02:00
thrust26 a7189ce7ec fix attempt for #692 2020-08-23 10:58:36 +02:00
thrust26 42fc3f4f14 added Genesis autodetection for Zeviouz 2020-08-21 21:08:45 +02:00
Stephen Anthony c00fda482d Add support for 2600-daptor II when flashed as an AVox-USB converter.
Basically, for this device we use software flow control rather than hardware CTS signal.
2020-08-21 16:04:49 -02:30
Stephen Anthony 0ef60c517b Fix compiler warning. 2020-08-17 22:58:22 -02:30
thrust26 fcdd143d23 enhanced CartCDF, now ignores random startup banks (partially addresses #690) 2020-08-17 17:44:34 +02:00
Stephen Anthony bc8b34e923 Fix warnings from Clang 11.
Apparently d'tors in child classes should now be marked override rather than virtual (to match other methods).
So we do that specifically now.
2020-08-17 10:38:43 -02:30
Stephen Anthony cc1af55a6b Revert "Fix compiler warnings: uInt32 to size_t."
This causes more problems than it's worth.

This reverts commit 548612ef90.
2020-08-15 17:37:23 -02:30
Stephen Anthony 548612ef90 Fix compiler warnings: uInt32 to size_t. 2020-08-14 13:37:15 -02:30
Thomas Jentzsch 7964c93a2f fixed autofire for trackball using keyboard fire event 2020-08-04 12:08:43 +02:00
Stephen Anthony 3fa7dadcba Finalize AVox CTS support. Now more testing is needed ... 2020-08-02 10:59:41 -02:30
thrust26 d8d1bdc00b adapted HighScoresDialog to variable font sizes 2020-07-31 16:37:08 +02:00
thrust26 aa6b500b88 removed superfluous property in PropSet 2020-07-31 14:02:42 +02:00
thrust26 8d3b0ec52d removed warnings 2020-07-31 11:20:11 +02:00
thrust26 d43d8c6730 Merge branch 'feature-highscores' of https://github.com/stella-emu/stella into feature-highscores 2020-07-31 10:50:36 +02:00
thrust26 5a7f1fb914 Merge branch 'master' into feature-highscores 2020-07-31 10:47:49 +02:00
thrust26 c9945e48e5 minor change in Inputdialog (AtariVox) 2020-07-31 08:55:16 +02:00
Stephen Anthony 8b0ff2746f Merge branch 'master' of github.com:stella-emu/stella into master 2020-07-30 17:51:05 -02:30
Stephen Anthony 4719533b22 Add SerialPort::isCTS() to all ports, and connect it to AtariVox. 2020-07-30 17:50:34 -02:30
thrust26 c1c29fb4f0 refined texts for WhatsNewDialog 2020-07-30 22:19:12 +02:00
Stephen Anthony 03f3c25c78 Add missing files to Xcode project. 2020-07-30 16:26:45 -02:30
Stephen Anthony cb624ef424 Forgot comment in last commit. 2020-07-30 13:35:16 -02:30
Stephen Anthony c171783695 Tie CTS signal from the serial port to the appropriate AVox pin.
Still TODO is actually implement this in the platform-specific serial code.
2020-07-30 13:33:22 -02:30
Stephen Anthony 53338ce6ef Fix compile errors in gcc/clang. 2020-07-29 13:19:43 -02:30
thrust26 b3cd562046 added 'What's New' button to 'About' dialog 2020-07-29 15:52:50 +02:00
thrust26 fae33a71b5 removed magic number in WhatsNewDialog 2020-07-29 10:57:44 +02:00
thrust26 6887722448 fixed #686 (launcher losing navigation) 2020-07-29 10:56:48 +02:00
thrust26 d29a74af5e added missing files 2020-07-29 07:46:22 +02:00
thrust26 be21438c92 added static What's New" popup (see #581) (to get things going :-) 2020-07-28 23:47:13 +02:00
thrust26 3cc7d9b655 added option to display detected settings info when a ROM is loaded (resolves #684) 2020-07-28 09:40:44 +02:00
Stephen Anthony 28751b0732 Make FSNodeZIP::exists() actually inspect the ZIP contents, and not just the ZIP file itself.
This fixes issues with checking for a .pro file in a ZIP file always being true, even if there isn't one.
2020-07-27 23:27:21 -02:30
Stephen Anthony 03bae167a2 I guess we're far enough along to move the version number. 2020-07-27 13:41:54 -02:30
Stephen Anthony f3503d22d9 libretro: Fix compile error with recent sound code changes. 2020-07-27 10:53:43 -02:30
Stephen Anthony 2622fdf080 Fix warnings from clang. 2020-07-27 10:45:41 -02:30
thrust26 75a74e0be5 added option to select audio device (resolves #682) 2020-07-27 09:43:31 +02:00
thrust26 598e039001 Merge branch 'master' of https://github.com/stella-emu/stella 2020-07-27 09:02:10 +02:00
thrust26 42fce631c0 fixed missing log file saving 2020-07-27 09:01:54 +02:00
Stephen Anthony 6eab8ad4b8 AtariVox controller was mistakenly reported as SaveKey in the logs. 2020-07-27 00:42:53 -02:30
Christian Speckner 205c532398 Remove misleading comment. 2020-07-26 21:57:00 +02:00
thrust26 37af09e3dc Fixed popup widget text limits 2020-07-26 21:41:17 +02:00
thrust26 bc9bb9fd31 added emulation speed change to 'direct only' hotkeys 2020-07-26 10:59:08 +02:00
thrust26 5c9a73c530 added emulation speed hotkeys 2020-07-26 10:52:38 +02:00
Stephen Anthony 60bf9a5754 Fix bug with accessing files as text using binary I/O.
This doesn't seem to matter for Linux and macOS, but breaks Windows CRLF
endings.
2020-07-25 17:53:53 -02:30
Stephen Anthony ab942bc221 Fixed snapshots being cut off in fullscreen mode (fixes #674). 2020-07-25 16:37:52 -02:30
Stephen Anthony 155839fb0b Almost all file I/O now goes through FilesystemNode::read/write, instead of raw C++ fstreams.
This allows data to be stored in a ZIP archive and for Stella to use it as if it were a normal file.
Still TODO is add ZIP write support.
2020-07-25 12:57:12 -02:30
Stephen Anthony 02176d1c7e Fix documentation warning from clang. 2020-07-25 11:28:41 -02:30
thrust26 41f501868a added autofire (resolves #676) 2020-07-25 10:19:07 +02:00
thrust26 78419f10d6 enhanced debugger option "Re-disassemble" into "Disassemble @ current line" (resolves #652) 2020-07-24 11:09:01 +02:00
thrust26 c8f71125f4 Two minor fixes 2020-07-23 21:12:33 +02:00
thrust26 c3e156f9b5 started adding playback mode (see #678) 2020-07-23 12:39:22 +02:00
thrust26 cdeb71ce5f use mapped keys instead of fixed keys in TM UI (resolves #679) 2020-07-22 12:03:31 +02:00
thrust26 93494fc7d3 support F12 (snapshot) in TM UI too (implements #679) 2020-07-22 10:29:23 +02:00
Stephen Anthony f9194bbfb4 Converted CartDebug to use new FSNode I/O. This means we can load from sym/list files stored in a ZIP file. 2020-07-18 15:26:42 -02:30
Stephen Anthony 25913b791e Begin the process of converting all file open/close operations to be done in FSNode.
This will eventually allow ZIP files (and any other compression scheme we use in the future)
to read and write as if they were normal files.  Basically an implementation of a mini-VFS.
2020-07-16 21:20:50 -02:30
Thomas Jentzsch 2a6c493f6f minor hotkey fix (avoids mapping clash) 2020-07-16 19:35:36 +02:00
Thomas Jentzsch 3d0c5fa5d3 Merge branch 'master' of https://github.com/stella-emu/stella 2020-07-16 17:26:30 +02:00
Thomas Jentzsch 91ddcaecfa Prevent enabling phosphor when cycling through global options (fixes #672) 2020-07-16 17:25:33 +02:00
Stephen Anthony 94d6715384 Add ability to use .pro file stored in a ZIP file (containing the ROM, with the same name). 2020-07-13 18:54:52 -02:30
Thomas Jentzsch 0a3d18ee65 added numpad keys as defaults for global hotkeys 2020-07-04 10:31:42 +02:00
Thomas Jentzsch 59b89c6139 added numpad keys as defaults for global hotkeys 2020-07-04 10:31:16 +02:00
Stephen Anthony f0e2b357cf Moved 'max ROM size' function to more appropriate place. 2020-07-03 14:46:57 -02:30
thrust26 29fee4c580 reordered and grouped event handling 2020-07-03 18:17:11 +02:00
thrust26 8c2c9ebb60 Added global hot keys for debug options 2020-07-02 23:33:13 +02:00
Stephen Anthony 29cbdb09cf Refactor Cart::getImage, always return a ByteBuffer.
Most classes did this already, but some didn't.  So we standardize on this, and eliminate raw pointers.
2020-07-02 17:28:48 -02:30
thrust26 2245d87875 suppress fullscreen mode switches in Time Machine mode (fixes #670) 2020-07-02 09:33:16 +02:00
thrust26 716cea765f allow breakpoints in data areas (fixes #668) 2020-07-01 23:51:49 +02:00
thrust26 d3455ed607 Added new interface palette 'Dark' 2020-06-21 15:58:58 +02:00
Stephen Anthony 10067dfe8a Last minute update to docs before the 6.2.1 release. 2020-06-20 12:33:07 -02:30
Stephen Anthony 186ead46fb Revert "Remove superfluous 'deltax' parameter in drawString; I have no idea what it was doing there."
This reverts commit 6a180aeda0.

And as soon as I committed it, I suspected it would cause problems :(
2020-06-19 20:25:00 -02:30
Stephen Anthony 44c180f189 Updated various files for 6.2.1 release. 2020-06-19 20:20:56 -02:30
Stephen Anthony 6fce69ec76 Added 'Save' button to GameInfoDialog, to save current properties to a separate .pro file. 2020-06-19 20:07:07 -02:30
Stephen Anthony 6a180aeda0 Remove superfluous 'deltax' parameter in drawString; I have no idea what it was doing there. 2020-06-19 20:02:00 -02:30
Stephen Anthony eafa29a520 Make sure long messages overlaid on framebuffer don't overflow display surface. 2020-06-19 19:55:27 -02:30
thrust26 fcff01df3c fix missing key mapping when event version has changed 2020-06-19 22:31:29 +02:00
Stephen Anthony a1d6d6ea41 Fix TIA images saved in '1x' mode to not use TV effects (fixes #643). 2020-06-18 21:48:51 -02:30
Stephen Anthony 148545bbf8 Updated changelog, and bumped state number for recent changes in M6532 class. 2020-06-18 12:06:29 -02:30
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
Stephen Anthony 8cd421ceaa Use getPathWithExt() method correctly. 2020-04-28 15:05:16 -02:30
Stephen Anthony c326d55836 Automaticall load a properties file with the same name as the ROM from the ROM directory.
Still TODO is support loading if the properties file is in a ZIP file.
2020-04-28 15:01:09 -02:30
Stephen Anthony 21b4bc36fa Synchronize 6.1.2 changelog to master. 2020-04-25 14:03:24 -02:30
thrust26 d4025e86da replaced "slice" with "bank" in many Cart(Widget) classes
minor UI fixed for CartDPCWidget
2020-04-24 12:42:52 +02:00
thrust26 4699a28af8 refactored CartDPC class
replaced DPC ROM
2020-04-24 11:20:01 +02:00
Stephen Anthony 930ed7893e Fixed error in ROM properties; a ROM was misconfigured for Mindlink controller. 2020-04-23 19:53:38 -02:30
Stephen Anthony becc72e3ea Fix loading of ROM twice on each selection in the ROM launcher.
It was being opened once for the snapshots, and again for the controllers.
2020-04-23 14:14:59 -02:30
thrust26 42c7f45c42 refactored Cart3EPlus widget 2020-04-23 12:34:27 +02:00
thrust26 2ae4631748 refactored CartMDM and CartSB widget classes 2020-04-23 10:46:09 +02:00
thrust26 a67ea71dca refactored Cart3EWidget (also supports 3EX)
added RAM bank support to CartEnhancedWidget
2020-04-22 19:58:40 +02:00
thrust26 579f73d1ea 3EX now reads number of RAM banks - 1 from 0xfffa 2020-04-22 12:50:26 +02:00
thrust26 4a6e14d306 add 3EX bankswitching type (addresses #619) (TODO: debugger details) 2020-04-22 10:08:36 +02:00
thrust26 2938ca2fc6 another final fix for #620 2020-04-22 08:25:35 +02:00
thrust26 f290f9ead1 2nd attempt to fix #620 2020-04-21 19:48:53 +02:00
thrust26 4400ba42c0 removed forgotten debug code 2020-04-21 17:25:03 +02:00
thrust26 1c8c7c68b5 fix checking for existing mapping when applying default mappings (fixes #620) 2020-04-21 17:22:50 +02:00
thrust26 7122741744 order KeyMap and JoyMap when saving 2020-04-21 17:22:50 +02:00
thrust26 e502be6048 fix checking for existing mapping when applying default mappings (fixes #620) 2020-04-21 17:21:08 +02:00
thrust26 db51de1bde order KeyMap and JoyMap when saving 2020-04-21 16:20:37 +02:00
thrust26 98d42cfd94 remove dynamic casting 2020-04-21 15:14:52 +02:00
thrust26 8e3e0479b1 renamed CartridgeEnhancedWidget class 2020-04-21 12:40:19 +02:00
thrust26 20c6998e71 refactored CartFA(2), CartFC and CartFE widget classes 2020-04-21 12:15:28 +02:00
thrust26 2e2471db68 refactored CartWDWidget and CartX07Widget
improved cart info formatting
2020-04-21 09:42:51 +02:00
thrust26 faaf83b4ab refactored CartDF(SC)Widget and CartEF(SC)Widget classes 2020-04-20 21:06:16 +02:00
thrust26 abeac8877e Improved 3E auto detection 2020-04-20 20:46:28 +02:00
thrust26 41cbec1f26 sort single file ZIP files correctly (fixes #612) 2020-04-20 12:49:11 +02:00
thrust26 9981b256c7 sort single file ZIP files correctly (fixes #612) 2020-04-20 12:45:05 +02:00
thrust26 bdb685644d added 'Turbo" mode 2020-04-19 23:23:11 +02:00
thrust26 8dd491ade9 some cleanup in CartCVWidget 2020-04-19 23:21:08 +02:00
thrust26 ddece5ed43 added 'Turbo" mode 2020-04-19 23:08:25 +02:00
thrust26 bfef7362c9 refactored Cart3F, CartCV and CartBF(SC) widgets 2020-04-19 18:59:07 +02:00
thrust26 9e466214ba improve bankswitching masking in CartEnhanced 2020-04-19 12:19:44 +02:00
thrust26 4aed2e454a fix display of changed PopUpWidget in debugger
allow using IDs with PopUpWidget's ContextMenu
2020-04-19 11:03:55 +02:00
thrust26 4c34a75332 renamed 'Exit' button in debugger into 'Run' (TODO: update screenshots) (fixes #614) 2020-04-19 10:45:22 +02:00
thrust26 098602ece8 fix #617 (3E RAM banks) 2020-04-19 10:31:00 +02:00
thrust26 70cdfe6c13 refactored multiple CartXXWidget classes 2020-04-19 10:23:27 +02:00