Commit Graph

4416 Commits

Author SHA1 Message Date
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
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 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
thrust26 c8d7937a46 fixed description background color in CartRamWidget 2020-04-18 19:22:08 +02:00
thrust26 7baa759ec9 fix display of changed PopUpWidget in debugger
allow using IDs with PopUpWidget's ContextMenu
2020-04-18 17:51:21 +02:00
thrust26 c0323c572c Merge branch 'refactor/cart' of https://github.com/stella-emu/stella into refactor/cart 2020-04-17 20:48:45 +02:00
thrust26 b57c2d05c2 enable directPokeBase for RAM banks in CartridgeEnhanced 2020-04-17 20:47:29 +02:00
Stephen Anthony 6836120a9a Fix clang compile warning. 2020-04-17 11:42:11 -02:30
thrust26 0bf12045d8 refactored CartWD
fixed CartEnhanced for multi-segment ROMs with extra RAM
improved CartEnhanced by enabling directPoke for extra RAM
2020-04-17 13:43:49 +02:00
Thomas Jentzsch 0851a445e5 small naming alignment between CartBUS and CartCDF 2020-04-16 18:54:29 +02:00
Stephen Anthony edab66de50 Fix compile error for UNIX builds. 2020-04-16 10:33:37 -02:30
thrust26 646f2a1daa fix some Clang-Tidy warnings
small bugfix for CartFA2
2020-04-16 09:40:15 +02:00
thrust26 9d12378cff removed DASH type (incl. doc update) 2020-04-15 21:15:44 +02:00
thrust26 a823fad32c refactored Cart3E+ 2020-04-15 20:59:06 +02:00
thrust26 00e67f1a51 add RAM bank support to CartEnhanced
refactor Cart3E
differentiate between ROM and RAM banks (TODO: check debugger)
2020-04-15 14:53:05 +02:00
Stephen Anthony 66bd5c49a6 Fix 'ovveride' warning from clang.
Convert 'template class' to the more modern 'template typename'.
2020-04-13 17:30:36 -02:30
thrust26 ca5b6a6fe7 removed CV+ type (incl. doc update) 2020-04-13 21:58:16 +02:00
thrust26 cf9c109681 Merge branch 'master' into refactor/cart 2020-04-13 19:35:52 +02:00
thrust26 c4bda8a09f Merge branch 'master' of https://github.com/stella-emu/stella 2020-04-13 19:34:49 +02:00
thrust26 79ea4c5a67 fix 3E disassembly (bankSize() override) 2020-04-13 19:34:34 +02:00
thrust26 56cbc4dc6f intermediate commit for refactoring 3E (something got broken in disassembly before) 2020-04-13 18:05:44 +02:00
Stephen Anthony 4f8ae57779 Fixed some warnings from clang.
Just checking on the progress; looking good so far.
2020-04-12 19:15:07 -02:30
thrust26 94cbae7a84 improve CartEnhanced to allow swapped RAM read/write ports
refactor CartCV
add more CV test ROMs
2020-04-12 11:35:41 +02:00
thrust26 ae774f891f remove superfluous code in Cart2K 2020-04-12 09:02:28 +02:00
thrust26 24ade13e93 refactor CartFA(2).cxx 2020-04-11 14:12:27 +02:00
thrust26 245adc721d refactor CartX07 2020-04-09 16:07:38 +02:00
thrust26 97ff37392d fix carts >= 64K 2020-04-08 22:02:01 +02:00
Stephen Anthony 85f0ae18c6 Fix 'saveconfig' not saving file correctly (fixes #602). 2020-04-08 11:59:02 -02:30
thrust26 edd9cd0147 refactor Cart2K and Cart4K(SC) 2020-04-07 08:24:06 +02:00
thrust26 53387c4b13 refactor CartSB 2020-04-06 09:42:13 +02:00
thrust26 4390a779af refactor CartMDM
make sure the banks are updated when stepping back
2020-04-06 09:21:32 +02:00
thrust26 b52251da6e Merge branch 'master' into refactor/cart 2020-04-05 22:30:20 +02:00
thrust26 d81f106a50 remove new default path button
replace with an UI option, which lets "romdir" automatically follow the launcher path
2020-04-05 21:30:38 +02:00
thrust26 0753972d47 add configurable driving controller sensitivity 2020-04-05 19:55:45 +02:00
thrust26 78fa1a71d2 one missing file 2020-04-04 23:05:09 +02:00
thrust26 ac4edcfc1e refactor Cart0840 2020-04-04 23:04:41 +02:00
thrust26 7d0c82825e Merge branch 'refactor/cart' of https://github.com/stella-emu/stella into refactor/cart 2020-04-04 18:29:37 +02:00
thrust26 27556405d8 add get current segment from cart for debug widgets 2020-04-04 18:29:05 +02:00
Stephen Anthony 81ac7cc569 Fixed compilation in Linux. 2020-04-04 13:39:38 -02:30
thrust26 f2d14f77c4 refactor Cart3F
improve CartEnhanced for segmented types
2020-04-04 17:28:30 +02:00
thrust26 f0234c105f allow changing default ROM path directly in launcher (resolves #610) 2020-04-04 11:25:02 +02:00
thrust26 05901a2ad8 add support for multi segment banking into CartEnhanced class
refactor more cart classes
2020-04-04 10:53:14 +02:00
thrust26 244fc3f7d3 initial commit 2020-04-03 17:08:42 +02:00
Stephen Anthony defeee600e A little more optimization to 3E scheme. 2020-04-02 20:44:13 -02:30
Christian Speckner 29fcc9644f 3E: improve debugger handling for writes to ROM space. 2020-04-02 21:18:56 +02:00
Christian Speckner b93a07dcfa 3E: fix invalid access on write to ROM. 2020-04-02 21:14:49 +02:00
thrust26 17835be278 fix M6532 access counters
make stack pops result into DATA access
2020-04-02 17:59:04 +02:00
thrust26 541a40c44b fix right diff action on Command menus 2020-04-02 16:26:56 +02:00
thrust26 e91bc140cd fix poke access counter offset
add a few more bank switching types
2020-04-02 12:03:35 +02:00
thrust26 a015cd9082 fix CartFE to update access flags and counters 2020-04-02 11:07:04 +02:00
thrust26 3f7db393ba add access counting to many more bankswitching types 2020-04-02 10:38:15 +02:00
Stephen Anthony 7a03f330f0 Fix minor warning with clang (possible dangling else). 2020-04-01 20:36:43 -02:30
thrust26 3d7ff6638e Merge branch 'master' of https://github.com/stella-emu/stella 2020-04-01 22:14:36 +02:00
thrust26 8b550a3a11 differentiate ROM read/write access (done for Atari standard and 3E bankswitching) 2020-04-01 22:14:22 +02:00
Stephen Anthony 1b1ccf4f39 Fix warnings from clang. 2020-04-01 09:45:19 -02:30
thrust26 96131e2f7f first shot at #586 (Heat Map) (TODO: differentiate cartridge read/write access)
add Cartridge::bankSize method (TODO: varying bank sizes)
add Cartridge::bankOrigin detection method (TODO: banks smaller 4K)
2020-04-01 11:06:03 +02:00
Stephen Anthony a6ac378554 Synchronize wil upcoming 6.1.1 release. 2020-03-31 18:25:25 -02:30
thrust26 16a5bb2d1d fix non-VS warning 2020-03-31 18:40:48 +02:00
thrust26 2de1e70941 fix last commit 2020-03-31 18:35:51 +02:00
thrust26 cae2266df0 Enhance disassembly (determine correct bank offset, preliminary solution for simple 4K bankswitching, e.g. standard Atari) 2020-03-31 18:12:38 +02:00
Christian Speckner 4d99bca2cd Fix snapshots on retina displays. 2020-03-31 00:46:20 +02:00
thrust26 6e5a162a18 enhance debugger disassemblies, 'savedis' now allows multi-bank ROMs 2020-03-30 23:01:15 +02:00
thrust26 45758ad5b5 some progress with multi-bank games disassembly (it now works, but still requires a bit of manual action before) 2020-03-30 12:20:59 +02:00
thrust26 f48a96356f fix color value disassembly
add ORG/RORG for multi-bank ROM disassembly
2020-03-30 09:52:56 +02:00
thrust26 d2fbbdbf61 rename code access into ROM access to better reflect the usage 2020-03-30 09:22:45 +02:00
thrust26 195a8a5116 fix compiler error without debugger support
create VS configuration (without debugger support)
2020-03-29 19:30:09 +02:00