Commit Graph

5138 Commits

Author SHA1 Message Date
Stephen Anthony 2541184c93 Updated M6502.ins/m4 to use static_cast and const. 2022-04-03 12:51:59 -02:30
Stephen Anthony 77931d203d Make DefProps constexpr. 2022-04-02 21:45:42 -02:30
Stephen Anthony 875a42dd0f Converted more C-style code to C++. 2022-04-02 21:04:06 -02:30
Stephen Anthony 26367296b0 Fourth pass at updates for warnings from Visual Studio. 2022-04-02 19:25:35 -02:30
Thomas Jentzsch f3099a90c9 Added hotkey display to tooltips 2022-04-02 19:07:28 +02:00
Stephen Anthony 26104ab685 Fix compile error; I forget to test changes in debug mode. 2022-03-31 18:54:40 -02:30
Stephen Anthony 240cbe2c06 Third pass at updates for warnings from Visual Studio. 2022-03-31 17:20:19 -02:30
Thomas Jentzsch 6ecdde356f optimized Thumbulator range checks 2022-03-30 14:20:11 +02:00
Thomas Jentzsch 4334e28171 Merge branch 'master' of https://github.com/stella-emu/stella 2022-03-29 19:18:35 +02:00
Thomas Jentzsch e55390cb6a enhanced range checks for Thumbulator
changed initial Thumb code stack pointer
2022-03-29 19:18:11 +02:00
Stephen Anthony e95f2fdbe0 Second pass at fixing warning from Visual Studio (const and C-style casts). 2022-03-28 22:00:26 -02:30
Stephen Anthony da75f11860 First pass at fixing warning from Visual Studio (const and C-style casts).
This isn't all the code, just checking in the WIP so far.
It's not exciting work like new features, etc, but is required to keep the codebase clean.
I actually find it kind of relaxing; taking a short break from new features.
2022-03-27 18:09:55 -02:30
Christian Speckner 2e624d5312 Xcode: target local arch for debug build, create fat binary for release. 2022-03-22 22:50:29 +01:00
Stephen Anthony 2b43161fa1 Minor updates for warnings from cppcheck. 2022-03-18 14:58:39 -02:30
Thomas Jentzsch 5df0159c96 minor tweaks 2022-03-16 16:12:55 +01:00
Thomas Jentzsch 4580be954c added another UA bankswitching detection pattern 2022-03-08 18:33:12 +01:00
Thomas Jentzsch ca31a22b47 updated game properties 2022-03-06 12:26:33 +01:00
Thomas Jentzsch 2b5e658db0 updated Changes.txt and WhatsNewDialog 2022-03-06 11:57:22 +01:00
eds-collabora d22618d491 Paddle mode enhancements (#861)
* Separate control precedence for paddles A and B

Previously, the paddle pair was treated as a single unit as far as
event overrides were concerned, so an analog input on paddle B would
prevent a mouse or even another digital controller from controlling
paddle A.

This commit separates out paddle A and B as far as event handling is
concerned. The same steps are applied, but now events affecting paddle
A will not preempt events of other types for paddle B from being
tested, and vice versa.

* Paddle mode enhancements

Map paddles to distinct controllers. For two player games, having
both players share a single controller isn't ideal. Instead, put
- Left A -> joystick 0
- Left B -> joystick 1
- Right A -> joystick 2
- Right B -> joystick 3
2022-03-06 11:23:31 +01:00
Stephen Anthony 40440f38dc Fix lockup on ZIP files containing errors (fixes #871). 2022-03-05 18:47:12 -03:30
Stephen Anthony 619fbbded1 Update sqlite to latest release. 2022-03-01 17:07:33 -03:30
Thomas Jentzsch a49f628c57 reapply color loss when switching TV format (fixes #880) 2022-02-28 09:32:41 +01:00
Thomas Jentzsch 2f8f72a729 Merge branch 'master' of https://github.com/stella-emu/stella 2022-02-26 19:04:28 +01:00
Thomas Jentzsch a4fa651575 updated CDFJ+ driver description 2022-02-26 19:04:15 +01:00
Stephen Anthony 8c3da1ce93 Eliminate redundant code. 2022-02-26 13:23:31 -03:30
Stephen Anthony ae8ebea664 Minor update: convert a define to C++ constexpr. 2022-02-24 16:55:05 -03:30
Darrell Spice, Jr b02128fd38 Fixed CDFJ+ issue if the first byte of the cartridge contained a value of FF_OFFSET thru FF_OFFSET + $23 (#879)
Updated Thumbulator's debug mode to allow run-time updating of the FF_OFFSET value.
2022-02-24 07:59:29 +01:00
Thomas Jentzsch b6d9acaee6 fixed read access to write port if write port uses upper address range (fixes #878) 2022-02-23 21:53:32 +01:00
Thomas Jentzsch 8f694762ca Merge branch 'master' of https://github.com/stella-emu/stella 2022-02-23 21:21:18 +01:00
Thomas Jentzsch fb889bc15c truncated state files (fixes #875) 2022-02-23 21:21:01 +01:00
Stephen Anthony 7b031ee121 Minor fixes to CartCDF; use C++ constexpr instead of C-style defines. 2022-02-23 15:19:37 -03:30
Thomas Jentzsch 8bc8b6fb0b minor fix for Global Hotkeys and Stelladaptors 2022-02-23 19:23:49 +01:00
Darrell Spice, Jr 7b87f237b3 Updated CDFJ+ with support for LDX # and LDY # fast fetchers, as well as a fast fetcher offset value. Also updates to the CDF Debugger. (#877) 2022-02-22 08:56:47 +01:00
Thomas Jentzsch d4b2137462 fixed patching ZP-RAM code (fixes #874) 2022-02-17 11:56:53 +01:00
Thomas Jentzsch a71a67455b enhanced launcher context menu with direct Game properties dialog link 2022-02-16 21:54:20 +01:00
Thomas Jentzsch d9bb0c3ee6 added ARM chip type auto detection (resolves #873) 2022-02-15 12:33:46 +01:00
Stephen Anthony cf1bca29ad Fix minor warnings. 2022-02-08 20:26:21 -03:30
Thomas Jentzsch f0d375bb77 fixed ARM timers (#fixes 872) 2022-02-08 22:35:59 +01:00
Thomas Jentzsch 11fb04aef2 added display name to display logging 2022-02-06 10:19:15 +01:00
Thomas Jentzsch b3195762a3 added PlusROM change tracking 2022-02-05 08:51:48 +01:00
Thomas Jentzsch b8a1793f23 added PlusROM info to debugger (resolves #844)
added PlusROM user info to System log
2022-02-04 20:12:59 +01:00
Stephen Anthony 07d94887ee Fix compile failure in BSPF_UNIX (ie, Linux). 2022-02-02 09:57:54 -03:30
Thomas Jentzsch 06b5d78496 added option for automatic pause/continue of emulation depending on focus (resolves #870) 2022-02-02 11:42:39 +01:00
Stephen Anthony fc41fbc02f libretro: Use standard C++17 code instead of Windows-specific code. 2022-02-01 16:14:03 -03:30
Thomas Jentzsch 0084942f18 Libretro: Some code cleanup
Libretro: Renamed "Paddle" into "Analog"
2022-02-01 09:58:04 +01:00
Keith Bowes 3a6ce6ced1 [libretro] Update libretro.h (#869) 2022-02-01 09:24:15 +01:00
Stephen Anthony 6ecdadcf7b libretro: Fix minor compile warning. 2022-01-31 18:12:00 -03:30
Thomas Jentzsch 1d49959db1 Libretro: added analog paddle sensitivity
Libretro: added console switches mappings for 2nd (joypad) controller
2022-01-31 09:02:44 +01:00
Thomas Jentzsch d6986852df added light gun position scaling (now it works with a mouse) 2022-01-30 23:42:19 +01:00
Thomas Jentzsch b422f7f782 updated Libretro VS project file 2022-01-30 19:26:31 +01:00
Thomas Jentzsch c767485700 trying to fix Libretro build failure 2022-01-30 11:38:03 +01:00
Thomas Jentzsch 5f55c86f50 added analog paddle mapping for Libretro
added input descriptions for Libretro
2022-01-30 11:12:51 +01:00
Thomas Jentzsch de1a97c94e added light gun to input description list 2022-01-29 18:30:40 +01:00
Thomas Jentzsch 830a34d745 second attempt of implementing light gun support for Libretro 2022-01-29 12:15:46 +01:00
Thomas Jentzsch ce3fdec7c1 first attempt of implementing light gun support for Libretro 2022-01-29 11:37:00 +01:00
eds-collabora 9158d4346a Reorder "Driving" within the event mapping widget (#867) 2022-01-24 09:19:38 +01:00
eds-collabora 5b2a365d2a Fixes for driving mode changes (#866)
- Use a float divisor to reduce the high resolution counter to a gray
  code. This gives a more stable rate of change for the gray code when
  using a sensitivity other than 1.
- Slightly remap the axis space, so that the positive and negative
  ranges are the same. The new range is [64,-1] [1, 64]. We don't need
  zero, because of the analog dead zone.
- Reorder the Event enum as suggested for on PR860.
2022-01-21 08:38:30 +01:00
Thomas Jentzsch 97e55f8a63 fixed the fix 2022-01-20 13:02:41 +01:00
Thomas Jentzsch 069768e18c fixed #864 (SC-RAM reads from write ports) 2022-01-20 12:21:53 +01:00
eds-collabora a6f9c33ded Driving mode enhancements (#860)
The driving controller is closer to a paddle controller than a
joystick, but doesn't have hard stops.

This patch adds:
- A dedicated set of event bindings for driving.
- The option to use an analogue steering input from a regular joystick
  axis, and a separate higher resolution counter to assist with this.
2022-01-19 15:23:14 +01:00
Stephen Anthony 05449510fb Fixed code signing issues in latest Xcode for Mac. 2022-01-07 20:46:25 -03:30
Stephen Anthony e710da1e0c Fix 'nib' warning in latest version of Xcode for Mac.
I'm not sure this is the best way to do it, but I don't really know Obj-C.
2022-01-07 20:20:23 -03:30
Stephen Anthony 4628f711b8 Update copyright to 2022. Happy New Year! 2021-12-31 16:07:17 -03:30
Stephen Anthony cdf62286ec Yet more formatting issues I forgot in the last commit. 2021-12-30 11:40:42 -03:30
Stephen Anthony b072a5d9f8 Minor formatting changes I forgot in a previous commit. 2021-12-30 11:38:34 -03:30
Christopher Obbard 40284f3b63 joystick: Add menuMode mappings before emulationMode mappings (#847)
For some controllers, the initial default (i.e. when the controller
is first attached) mappings seem to not work in emulation mode, but
work just fine in menu mode. The emulation mode mappings are shown
in the UI, but do not work until the second time the emulator is
started.

From debugging, even in emulation mode the joyMap is returning
menu bindings when in-game. Fix this bug by adding the emulation
mode mappings before the menu mode mappings.

Fixes: 857369aad5 ("fix attempt for #692")
Signed-off-by: Christopher Obbard <chris.obbard@collabora.com>
2021-12-30 11:12:48 -03:30
Thomas Jentzsch 227702c6bc Merge branch 'master' of https://github.com/stella-emu/stella 2021-12-21 11:25:35 +01:00
Thomas Jentzsch b08c277995 fixed and enhanced audio frequency display in debugger 2021-12-21 11:25:17 +01:00
Stephen Anthony 59f46aea97 Disable warnings for sqlite in Visual Studio. 2021-12-19 22:02:35 -03:30
Thomas Jentzsch 7c3dd3f2aa fixed virtual folders (fixes #855) 2021-12-19 09:05:10 +01:00
Stephen Anthony 0c9a0f2216 More cleanups to VS project. 2021-12-18 18:45:28 -03:30
Stephen Anthony c6c9cc957e Some cleanups to Visual Studio project for warnings.
Disable all warnings from httplib.h, since we don't control that code.
Fix a few warnings recommended by VS, and disable the rest.
2021-12-18 18:26:10 -03:30
Stephen Anthony d901b987aa Fix minor warnings from clang-13. 2021-12-18 14:15:58 -03:30
Thomas Jentzsch fb605dde5c removed two unused variables (fixes #856) 2021-12-18 09:44:53 +01:00
Thomas Jentzsch bf1a383504 updated docs (incl. R77)
enhanced launcher code for R77
2021-12-17 15:40:34 +01:00
Thomas Jentzsch a11639fbbe added a few minor enhancements to the BrowserDialog 2021-12-17 10:38:32 +01:00
Thomas Jentzsch a59126aa30 aligned button sizes in launcher 2021-12-17 10:28:34 +01:00
Christian Speckner 525c812073 Fix crash by shrinking "What's new?" 2021-12-16 21:04:51 +00:00
Thomas Jentzsch 1d55abbe5e fixed Launcher filtering of ZIPs not containing any valid ROMs 2021-12-16 09:51:11 +01:00
Christian Speckner d0892bdcce Typo. 2021-12-15 19:18:29 +00:00
Stephen Anthony 20082fbec8 Updated Xcode project, and various fixes for Xcode and MacOS 12. 2021-12-15 13:32:57 -03:30
Christian Speckner bebb1aca28 What's new for R77 2021-12-15 16:09:18 +00:00
Thomas Jentzsch db4630127b finally added a help button to the launcher 2021-12-15 16:28:21 +01:00
Thomas Jentzsch a061f8af10 trying to fix menu problems with analog controllers 2021-12-15 12:56:29 +00:00
Thomas Jentzsch 9ed02758fc trying to fix menu problems with analog controllers 2021-12-15 12:26:00 +01:00
Thomas Jentzsch 2b36a827ac fixed minor compiler warning 2021-12-14 23:21:26 +01:00
Stephen Anthony 124ee44d39 Fix minor compile warnings. 2021-12-14 18:47:11 -03:30
Thomas Jentzsch f1c8f7b2b6 enhanced folder navigation in launcher 2021-12-14 22:31:09 +01:00
Thomas Jentzsch 15c50bf4b5 added the (usual) missing files :| 2021-12-13 15:39:40 +01:00
Thomas Jentzsch 369a5dfc16 refactored file navigation bar into own class
enhanced BrowserDialog
2021-12-13 15:38:59 +01:00
Thomas Jentzsch 764f6bc1b9 fixed virtual folder handling when "romdir" is a virtual folder 2021-12-12 09:45:49 +01:00
Thomas Jentzsch e2576c1f99 minor refactoring 2021-12-12 09:23:13 +01:00
Thomas Jentzsch 27507fc4a4 Fixed double backspace action in launcher 2021-12-12 09:09:45 +01:00
Stephen Anthony 21dace2015 Fix minor compile warning from clang. 2021-12-11 20:02:04 -03:30
Thomas Jentzsch 4871650e65 Redo 3b0d25983 2021-12-11 23:34:43 +01:00
Thomas Jentzsch 1a6a79fb2e Revert "k"
This reverts commit 158536722b.
2021-12-11 23:31:10 +01:00
Thomas Jentzsch 158536722b k 2021-12-11 23:14:04 +01:00
Thomas Jentzsch 73b79cae7d limit message display frames to 120 (fixes #852) 2021-12-11 23:13:35 +01:00
Thomas Jentzsch 81eba12884 added launcher directory history 2021-12-11 16:45:24 +01:00
Stephen Anthony 47e3bd5ffe Remove Icon.o from Linux build. 2021-12-07 12:54:47 -03:30
Thomas Jentzsch cda621f217 removed Icon.cxx 2021-12-07 16:14:58 +01:00
Thomas Jentzsch 49693b2d12 makefile updated 2021-12-07 15:40:04 +01:00
Thomas Jentzsch 945f7effc7 refactored LauncherDialog
fixed shortcuts in Launcher while in Filter field
2021-12-07 15:39:24 +01:00
Thomas Jentzsch 3e034ff854 minor cosmetic to changes of LauncherDialog & ProgressDialog 2021-12-06 11:13:45 +01:00
Thomas Jentzsch 13235e298b revamped LauncherDialog
added option to disable bottom buttons
2021-12-05 18:08:38 +01:00
Thomas Jentzsch 0a6560b47f added "remove all" options for favorites 2021-12-03 20:57:34 +01:00
Thomas Jentzsch 59f8b8c16d fixed Libretro compile error 2021-12-03 20:27:35 +01:00
Thomas Jentzsch e7b89da825 added option to disable favorites 2021-12-03 19:49:18 +01:00
Thomas Jentzsch b819b6102a fixed the quit bug in issue #850 2021-12-03 17:28:48 +01:00
Thomas Jentzsch c94c525816 fixed '~' handling in ZIP files (fixes #849) 2021-12-03 16:45:58 +01:00
Thomas Jentzsch 6d5a3c9d22 Revert "fixed"
This reverts commit 7056d2df10.
2021-12-03 16:45:09 +01:00
Thomas Jentzsch 7056d2df10 fixed 2021-12-03 16:39:53 +01:00
Thomas Jentzsch 5b6bc5e707 added home button
fixed virtual directories missing issue (see #848)
2021-12-03 14:06:35 +01:00
Thomas Jentzsch d7f5148429 added favorite directories 2021-12-02 23:27:02 +01:00
Thomas Jentzsch a3368b92f3 fixed selecting of last ROM when list is reloaded 2021-12-01 20:06:30 +01:00
Thomas Jentzsch f0b3d1c0ba minor update to PF debug colors 2021-12-01 11:33:18 +01:00
Thomas Jentzsch 2458df8db9 added score mode glitch emulation TIA option (resolves #587) 2021-11-30 23:07:59 +01:00
Christian Speckner 3dab241fee Fix build on gcc 10. 2021-11-30 21:31:41 +00:00
Thomas Jentzsch 598938a249 enhanced launcher context menu display 2021-11-30 16:24:21 +01:00
Thomas Jentzsch b1ef197f89 slightly enhanced launcher context menu 2021-11-30 11:13:46 +01:00
Stephen Anthony 11dbf63db7 Fix minor compile warnings. 2021-11-29 17:21:29 -03:30
Thomas Jentzsch ddffa287eb added removing of deleted ROMs from virtual lists 2021-11-29 18:23:58 +01:00
Stephen Anthony 639fb2a8b4 Update Xcode for new classes. 2021-11-29 13:40:02 -03:30
Stephen Anthony b588457045 Fix minor compile warnings/errors. 2021-11-29 13:27:56 -03:30
Thomas Jentzsch 66bd354e3e fixed unwanted website openings 2021-11-29 11:40:51 +01:00
Thomas Jentzsch 414a505b71 updated doc 2021-11-29 11:34:48 +01:00
Thomas Jentzsch ff8a48f1b2 add option for removing recent/popular files
tried to fix the Linux compile problem
renamed the (internal) Settings keys used to store the favorites
further updated doc
2021-11-29 09:27:41 +01:00
Thomas Jentzsch 849923968d added tracking of user favorites, recently played and most popular games
added virtual directories for selecting tracked games
extended launcher context menu and shortcuts
2021-11-28 17:33:54 +01:00
Thomas Jentzsch ecf7afea70 fix long press navigation bug (fixes #845) 2021-11-28 11:58:17 +01:00
Stephen Anthony e4bb59a760 Some small optimizations. 2021-11-25 17:38:58 -03:30
Thomas Jentzsch c8102fdce9 fixed uppercase search in launcher 2021-11-25 18:58:06 +01:00
Thomas Jentzsch 218452dc8d added option to show/hide file extensions
updated doc
2021-11-25 11:20:56 +01:00
Thomas Jentzsch 0b66321bfc added icons to file lists and removed special directory name formatting 2021-11-24 23:27:42 +01:00
Thomas Jentzsch 905135f3ce added option for toggling autofire (resolves #843) 2021-11-23 10:11:56 +01:00
Thomas Jentzsch ff5735a3f0 enhanced global keys handling for fullscreen mode
reordered events for Event Mappings dialog
2021-11-21 11:02:11 +01:00
Thomas Jentzsch 0f20464445 fixed #841 (setting of phosphor properties) 2021-11-17 19:43:50 +01:00
Stephen Anthony 6b894c803a Final commit for 6.6. 2021-11-16 10:20:41 -03:30
Stephen Anthony c2e6392564 Updated release date to Tuesday, Nov. 16. 2021-11-15 13:00:18 -03:30
Thomas Jentzsch 3930b7e5ca fixed #837 (empty path crashes BrowserDialog) 2021-11-14 15:08:58 +01:00
Stephen Anthony 7b6adb986e Getting ready for 6.6 release. 2021-11-10 14:07:13 -03:30
Stephen Anthony 77b8af771c Update Xcode project; fix Mac build. 2021-11-10 13:12:38 -03:30
Thomas Jentzsch 22646e2307 enhanced effects info for PNG snapshots 2021-11-06 13:17:52 +01:00
Thomas Jentzsch 19f0ef5c10 refactored scanline definition 2021-11-04 10:36:12 +01:00
Thomas Jentzsch f21add69a4 forgot to save before committing :) 2021-11-04 09:24:50 +01:00
Thomas Jentzsch 8aa358c2cf updated WhatsNewDialog and Changes.txt
changed developer mode hotkey
2021-11-04 09:23:53 +01:00
Thomas Jentzsch 2555844cdc added switching to bilinear scaling if QIS makes no sense
added 5th scanline mask (aperture grille)
aligned brightness of all scanline masks
updated doc for scanline masks
2021-11-02 11:49:44 +01:00
Thomas Jentzsch abe0d9cf8a added different mask pattern for scanline emulation 2021-11-01 17:55:45 +01:00
Thomas Jentzsch ec6e9394ec disabled random startup bank for CartWD 2021-11-01 08:07:13 +01:00
Thomas Jentzsch f934b9e05e added the usual missing new files 2021-10-30 15:09:33 +02:00
Thomas Jentzsch 9b5f2782df added hotkey for toggling Developer Settings sets 2021-10-30 14:56:03 +02:00