Commit Graph

2323 Commits

Author SHA1 Message Date
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 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 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
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 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
thrust26 5600be0ce4 add some more DEBUGGER_SUPPORT defines 2020-03-29 18:36:26 +02:00
thrust26 4fabd94dd3 fix savedis output 2020-03-29 17:24:16 +02:00
thrust26 09fb69f397 add detection of audio data in DiStella (see #596) 2020-03-29 10:51:16 +02:00
thrust26 d61c68c05a refactored access flags used for disassembly 2020-03-27 09:03:06 +01:00
thrust26 3fa6ede03c use defined type for disassembly flags 2020-03-26 23:26:18 +01:00
thrust26 474ba22e5e Merge branch 'master' of https://github.com/stella-emu/stella 2020-03-26 22:23:06 +01:00
thrust26 d01aa94161 add detection of color data in DiStella (see #596) 2020-03-26 22:22:52 +01:00
Stephen Anthony b6717a4b9a Fix some minor warnings from Clang. 2020-03-26 12:30:33 -02:30
thrust26 193e8a1a46 display write destination address in debugger (implements #74) 2020-03-26 13:48:46 +01:00
thrust26 6741cb4ef9 split X and Y center of paddles
add definition of paddles centers via game properties
2020-03-25 19:28:39 +01:00
thrust26 48f87ffa54 fixes #595 (debugger BK color) 2020-03-25 12:00:41 +01:00
thrust26 4ad59781d8 First shot at configurable paddle input (#522) 2020-03-25 09:32:12 +01:00
thrust26 f88a932d1e fixed #537 (writes to read ports) 2020-03-24 12:02:51 +01:00
Stephen Anthony 4d248c97df (Semi) Final update for 6.1 release. I'm sure there's something we've missed. 2020-03-21 17:18:05 -02:30
Christian Speckner 6739ada4f2 R77: use QIS for scanlines w/o TV effects. 2020-03-19 22:48:36 +00:00
thrust26 b0af3891fe larger infoFont for minimal UI dialogs 2020-03-16 09:26:45 +01:00
Stephen Anthony 9ff00c3631 More fixes for DPC+ jitter issues, thanks to Spiceware. 2020-03-15 19:34:53 -02:30
Stephen Anthony bfb08cf203 Added "Stay Frosty 2" to properties database, and have it default to joysticks. 2020-03-15 19:18:14 -02:30
Stephen Anthony 1779845032 Make a few games that offer a choice of Joystick/Genesis to use Joystick by default.
Remove redundant 'Display.Format' stuff from properties, since it can now be deduced from the ROM name.
2020-03-15 15:54:31 -02:30
thrust26 ffef620e27 doc and usage() update for new launcher font sizes 2020-03-15 19:15:27 +01:00
thrust26 d3ff85cf1f add 3 large fonts (Terminus 12x24, 14x28 and 16x32)
use 12x24 font for R77 (launcher and dialogs)
improve font selection for ROM info viewer
minor fix for convbdf.c
2020-03-15 17:16:37 +01:00
thrust26 a623843d37 trying to fix compile issues 2020-03-15 08:23:54 +01:00
thrust26 2646934596 add one more intermediate font option to ROM info viewer 2020-03-14 23:29:58 +01:00
thrust26 e4c394a0ac replace launcher font value "small medium" with "small_medium" 2020-03-14 13:52:37 +01:00
thrust26 da3d183e75 replace launcher's small font with bold version
add 'small medium' font to launcher font options
doc update for variable ROM viewer widths and new launcher font size
2020-03-14 11:14:24 +01:00
Stephen Anthony a89188722e Changed 'romviewer' option to be treated as a multiplier for the zoom level of snapshots.
Old settings will still work (0 means off, 1 or 2 mean 1x and 2x zoom).  Floats are now supported too,
so we get fractional scaling.

Still TODO is update the UI to modify this setting.
2020-03-11 18:33:12 -02:30
Thomas Jentzsch 7fb41e4752 allow remapping of fire button for trackball and light gun games 2020-03-03 19:50:32 +01:00
thrust26 c98629892d add Sadistroids to properties 2020-02-29 18:46:32 +01:00
Christian Speckner d5385b9de9 Disable QIS on the R77 when scanlines and / or TV effects are enabled. 2020-02-26 10:46:43 +00:00
thrust26 3b252a7b6e allow paddle detection for games which also support joysticks 2020-02-23 10:03:39 +01:00
thrust26 de7284c1a0 define R77 paddle mapping for front ports AND OTA adapter
use "Grab Mouse" to switch mouse cursor in light gun games
2020-02-22 19:03:21 +01:00
thrust26 3951fbf0ee attempt to fix #575 2020-02-13 20:25:54 +01:00
Stephen Anthony 9d0d1c4cf2 Apply changes to DefProps based on latest 'const' vs. 'constexpr' refactoring. 2020-02-09 16:46:19 -03:30
Stephen Anthony af120a3eaf Wrap std::stoi inside BSPF::stringToInt, and handle its exceptions. 2020-02-07 21:00:06 -03:30
thrust26 ae43b33c7b fix Exit ROM from debugger (fixes #513) 2020-02-06 22:54:35 +01:00
thrust26 aa18ce6bcd disable user palette option if no file exists (resolves #572) 2020-02-06 20:44:17 +01:00
thrust26 7a7969ae8a fix stoi exception for Display_PPBlend 2020-02-06 20:12:37 +01:00
Stephen Anthony 6120142c97 Make search for format in ROM filename case-insensitive. 2020-02-05 18:37:08 -03:30
Thomas Jentzsch d0772ecc86 fix CartMDM serializing 2020-02-04 16:02:36 +01:00
thrust26 030f4140c7 very minor doc fix 2020-02-02 20:37:57 +01:00
Stephen Anthony aefaf6c650 Added '_' separator for regex when detecting display mode in filename. 2020-02-02 14:26:20 -03:30
Stephen Anthony fb347a7b3e Fix warning in Visual Studio.
Fix formatting to match other classes.
2020-01-31 23:47:27 -03:30
Stephen Anthony 990176d41d Update properties for recent stella.pro change. 2020-01-31 17:56:23 -03:30
thrust26 4bbfcba5b8 add phosphor to Dragonfire properties. 2020-01-31 22:22:57 +01:00
Stephen Anthony 149582abd9 Minor cleanup; exclude some debugger-only methods in non-debugger mode. 2020-01-27 13:29:15 -03:30
Stephen Anthony 5cb35031d1 Allow ROMs < 64 bytes (Stella's internal page size) to work correctly. Fixes #564. 2020-01-27 12:16:33 -03:30
Stephen Anthony 2751532a4b Fix Pick 'n' Pile properties; it misdetects as NTSC. 2020-01-25 18:19:06 -03:30
Stephen Anthony b032890cd4 Optimize state save for Audio classes; save byte instead of integer. 2020-01-25 18:02:07 -03:30
Stephen Anthony 4d6487b1bc Use regular expressions to match console type in ROM filename. 2020-01-25 17:53:32 -03:30
thrust26 ff388cfb31 make automatic TM saving load the states on enter too 2020-01-25 20:06:04 +01:00
thrust26 ffeaa61cbe adapt debugger UI to new display heights 2020-01-25 13:56:46 +01:00
thrust26 1ade839c0b adjust ystart for NTSC and PAL
adjust TIA sizes in debugger
2020-01-25 10:28:16 +01:00
thrust26 792cbb4ffa add display format auto-detection from filename (resolves #561) 2020-01-24 11:30:46 +01:00
Christian Speckner 9135c16eb6 Fix load / save in FrameManager. 2020-01-21 22:54:13 +01:00
Christian Speckner f869c9fe98 Only invalidate TIA surface when vcenter adjust has been changed. 2020-01-21 22:51:13 +01:00
Stephen Anthony 702b620041 Make debugging bankswitch selection easier. 2020-01-21 12:20:48 -03:30
thrust26 2ee0db23c4 fix exiting command menu
update docs
2020-01-20 19:02:55 +01:00
thrust26 dd3a58d4ac add hotkey to decrease current state slot 2020-01-20 12:11:26 +01:00
thrust26 5f28428ebd adapt exit popup changes for other platforms 2020-01-19 21:27:09 +01:00
thrust26 e3f1a0f49f initial commit before refactoring 2020-01-19 15:45:32 +01:00
Stephen Anthony 3fb752db15 A little too eager with code pruning. 2020-01-18 21:17:39 -03:30
thrust26 8acefcbb50 add autoslot setting to UI
update doc for autoslot and write to read port breaks
2020-01-18 11:08:00 +01:00
Stephen Anthony 4cb752980c Fixed incorrect array initialization. 2020-01-14 08:49:32 -03:30
thrust26 065df72619 Merge branch 'master' of https://github.com/stella-emu/stella 2020-01-14 11:24:00 +01:00
thrust26 a98c5c3eb4 fix #560 2020-01-14 11:23:39 +01:00
Stephen Anthony a10b38c3d7 Fix minor warning, and update state file format for recent changes. 2020-01-13 17:22:16 -03:30
thrust26 854e093b84 add v-center to FrameManager::load/save() 2020-01-13 21:39:09 +01:00
thrust26 fbfccfbec6 refactor v-size 2020-01-13 21:13:55 +01:00
Christian Speckner 1dc31af9dd Cleanup, adjustscanlines is now vsizeadjust. 2020-01-13 20:27:05 +01:00
Christian Speckner 5b99e3e998 Change adjustscanlines parameterization to -5% .. 5%, hook uo hotkey. 2020-01-13 00:06:23 +01:00
thrust26 3e9a9a7a2a reorder events
rename scanline adjust in input dialog
fix v-center input naming
2020-01-12 12:42:20 +01:00
thrust26 4580484835 reverse and limit vcenter 2020-01-11 20:28:55 +01:00
thrust26 a530bdcfb7 force sign for V-Center display 2020-01-11 15:46:53 +01:00
thrust26 096227ff54 adjust yStart 2020-01-11 09:57:45 +01:00
thrust26 eb260431b3 fix ControllerDetector.cxx paddles array size
adjust yStart
2020-01-11 09:57:18 +01:00
Stephen Anthony 6e2a254cee Add hotkey to change scanline adjustment. For now, this is only a stub. 2020-01-09 10:36:00 -03:30
Christian Speckner f7cb631ed4 Merge branch 'rework-aspect' 2020-01-07 21:15:53 +01:00
Christian Speckner fb2874732d Clear TIA image when chaning scanline count. 2020-01-07 21:15:24 +01:00
Christian Speckner c4e7088b0e Clamp height and ystart to semi-sensible values to avoid memory corruption. 2020-01-07 20:48:05 +01:00
thrust26 f746300d6b define light gun offsets using game's md5 sum 2020-01-06 20:10:35 +01:00
Christian Speckner bd9734ec66 Bug fixing spree -> scanline count works as expected. 2020-01-06 00:15:20 +01:00
Christian Speckner c16a16d7d4 Wire up new scanline count logic. 2020-01-05 23:14:44 +01:00
Christian Speckner cef81e0bb5 Settings: remove aspect in favor of scanlines adjust. 2020-01-05 00:36:10 +01:00
Stephen Anthony 5e310a3c5d Updated some ROM properties. 2020-01-01 13:05:55 -03:30
thrust26 c147588a7d fix crash when light gun game is started from command line 2020-01-01 15:27:42 +01:00
thrust26 7c938de49b improve paddle detection (Drone Wars) 2020-01-01 12:11:17 +01:00
Stephen Anthony 9ad47ae5f3 Updated copyright to 2020. Happy New Year to anyone reading this! 2019-12-31 13:48:56 -03:30
thrust26 bfbc1be35c rename light gun test ROM in properties 2019-12-31 12:41:01 +01:00
Thomas Jentzsch e3ef2ee31c replace magic number for Lightgun 2019-12-31 00:25:24 +01:00
thrust26 9a7dc74aea Merge remote-tracking branch 'remotes/origin/feature-lightgun' 2019-12-30 23:08:47 +01:00
Stephen Anthony 5762724399 Add ROM properties from Omegamatrix of AtariAge. 2019-12-30 18:32:21 -03:30
thrust26 8bf1f0c404 code cleanup
added Light Gun to docs
2019-12-30 23:00:49 +01:00
thrust26 86e01bc8b9 apply screen scaling to lightgun controller 2019-12-30 22:37:50 +01:00
thrust26 1295bd5cf6 get lightgun working preliminary 2019-12-30 17:27:28 +01:00
thrust26 24faa4955c Merge branch 'master' of https://github.com/stella-emu/stella into feature-lightgun 2019-12-30 09:48:04 +01:00
thrust26 5330dcdba6 add missing files 2019-12-30 09:47:31 +01:00
thrust26 bfb5bee208 make user aware of grab mouse limitations 2019-12-30 09:46:46 +01:00
thrust26 dbb4328ad5 initial work on lightgun 2019-12-30 09:11:46 +01:00
Stephen Anthony 54de3415ea More default initialization updates, in the process making c'tors smaller/non-existent.
I've already found a few potential bugs where instance variables weren't being initialized at all.
2019-12-29 18:36:56 -03:30
Stephen Anthony b2c70d7677 First pass at moving to default member initialization.
This fixes potential issues with forgetting to initialize in c'tors.
2019-12-28 21:14:52 -03:30
Stephen Anthony 041af0736c And yet more std::array conversions. Also a fix for overlaid UI message not being displayed. 2019-12-28 15:46:38 -03:30
Stephen Anthony 12fa260137 A few fixes I missed in the last commits. 2019-12-28 15:01:28 -03:30
Stephen Anthony 36683adec1 And yet more fixes for warnings from clang-tidy. 2019-12-28 00:45:09 -03:30
Stephen Anthony e49d401887 Activate changes from stella.pro. 2019-12-27 23:08:03 -03:30
Stephen Anthony a06c44d7a6 Switch to using size_t for all file access.
Note that we'll never actually need this, but I got tired of constantly casting all over the place.
2019-12-27 21:05:38 -03:30
Stephen Anthony 234ebb5373 Fix for warnings from Visual Studio. 2019-12-27 20:20:05 -03:30
Stephen Anthony 0c0f732e5f More conversions of C-style to std::array.
That's it for a little while; getting tired now ...
2019-12-27 19:22:09 -03:30
Stephen Anthony 74a2e4b9a9 Refactored phosphor calculations into a new PhosphorHandler class.
This class is accessible from both TIASurface and AtariNTSC, so there's no more code duplication.
Testing is required to see if this results in any slowdowns.  It shouldn't, since the relevant code is inlined ...
2019-12-26 20:26:39 -03:30
Stephen Anthony b51fd4d07a Fix crash when combomap isn't defined in config file. 2019-12-26 17:51:08 -03:30
Stephen Anthony b276a1e6a7 Huge refactoring of the palette-related code.
This has been developed ad-hoc over the years, with different subsystems (TIA, UI, phosphor, Blargg, etc).  This is an attempt to consolidate the code, and also move to C++-style arrays.
Still TODO is look into refactoring phosphor stuff out of TIASurface and AtariNTSC classes, since the code is exactly the same, and doesn't really belong in either.
This is a major change, so some testing is definitely required.
2019-12-26 17:28:55 -03:30
Stephen Anthony df4748417d A few more cleanups from clang-tidy. 2019-12-26 11:55:25 -03:30
Thomas Jentzsch 40f69bc4a8 add Draconian to properties 2019-12-26 09:53:21 +01:00
Stephen Anthony 4c8c08639a More fixes for warnings from clang-tidy.
Mostly converting C-style arrays to C++.
2019-12-25 20:40:01 -03:30
Stephen Anthony 9813173841 Activate properties from last commit. 2019-12-25 14:15:39 -03:30
Thomas Jentzsch 173560f788 Merge branch 'master' of https://github.com/stella-emu/stella 2019-12-25 17:49:46 +01:00
Thomas Jentzsch 0c0c311e84 update properties for HES dual games. 2019-12-25 17:49:18 +01:00
Stephen Anthony 5d59be800e Use logical OR instead of bitwise OR. 2019-12-25 13:07:03 -03:30
Stephen Anthony 37aff7ff69 A few items that slipped through the last commit. 2019-12-24 22:26:44 -03:30
Stephen Anthony 730b2970c8 Many more fixes for suggestions from clang-tidy. 2019-12-24 22:11:36 -03:30
Stephen Anthony 198ab08647 Replace 'atoi' with the C++11 equivalent: 'stoi'. 2019-12-24 17:58:46 -03:30
Stephen Anthony eeb8363df6 More fixes for warnings from clang-tidy.
Sorry if these are all over the place; I'm fixing them in the order that the tool finds them.
2019-12-24 17:50:27 -03:30
Stephen Anthony 8e1791b801 Handle case where a ROM doesn't have a name in its properties entry. 2019-12-24 16:52:44 -03:30
Stephen Anthony 99872a3b35 Updated ROM properties to RomHunter v16. 2019-12-23 22:32:00 -03:30
Stephen Anthony 5a283a0140 Deadcode elimination in M6502 emulation.
A minor improvement, but every little bit counts.
2019-12-22 23:33:20 -03:30
Stephen Anthony 8bbabe3c5d More cleanups from clang-tidy. 2019-12-22 22:46:27 -03:30
Stephen Anthony 1223958d91 Move all logging facilities from OSystem directly into the Logger class. 2019-12-22 17:36:06 -03:30
Thomas Jentzsch 60c9839541 add "Mickey" to properties 2019-12-22 18:39:07 +01:00
Stephen Anthony 6ec46b9836 Fix more fallout from code refactoring. 2019-12-22 10:18:03 -03:30
Stephen Anthony 67273e9df8 Eliminate superfluous 'setDirty' call. 2019-12-21 22:41:01 -03:30
Stephen Anthony fdee5ba642 Some cleanups suggested by clang-tidy. 2019-12-21 22:38:01 -03:30
Stephen Anthony 06094820b6 Remove redundant comment. 2019-12-21 19:29:30 -03:30
thrust26 b1b9e493f4 removed ARM RAM dump code again, redundant 2019-12-21 15:17:32 +01:00
thrust26 c65b9c6709 fix MessageBox height calculation
add first 0.5K RAM to ARM fatal error message
2019-12-21 11:59:07 +01:00
thrust26 99ec454fd4 add missing register 0 to ARM dump 2019-12-21 08:20:19 +01:00
Stephen Anthony 68a2ca3a24 Removed all reference to 'ystart' from built-in properties database.
Note that the info is still in 'stella.pro', until we finalize what the values should be.
Then we will update the built-in properties again.
2019-12-19 18:42:23 -03:30
thrust26 1b14ed21a9 correct silencing fix 2019-12-19 19:54:09 +01:00
Christian Speckner ef10482291 Don't try to access the palette before it has been initialized. 2019-12-19 18:39:39 +01:00
thrust26 fccee3e672 silence compiler 2019-12-19 18:34:21 +01:00
thrust26 2df61b542b Merge branch 'master' of https://github.com/stella-emu/stella 2019-12-19 18:13:50 +01:00
thrust26 b306f35d54 updated Super Soccer 2019-12-19 18:13:24 +01:00
Christian Speckner c324f1ce82 Safety belt. 2019-12-19 18:12:20 +01:00
Christian Speckner ec35026329 Ystart is sleeping with the fishes. 2019-12-19 18:01:54 +01:00
thrust26 356f06598d add hotkey for toggling interpolation (ctrl+i) 2019-12-18 20:38:52 +01:00
Stephen Anthony 8782a39ce7 Fix minor warning from clang. 2019-12-18 15:56:39 -03:30
thrust26 8a93e70cc9 reverted video dialog and settings changes 2019-12-18 19:55:58 +01:00
thrust26 7ae5b49633 small improvement on FC bankswitching 2019-12-18 19:12:04 +01:00
Christian Speckner d0054b831d Precisely align scanlines with TIA scanlines. 2019-12-17 22:51:08 +01:00
Christian Speckner c38febc2c1 Update scaling in video dialog instead of framebuffer. 2019-12-17 17:16:37 +01:00
Christian Speckner 032f0b0b7c Re-add filter setting to PNG metadata. 2019-12-17 17:16:37 +01:00
Christian Speckner 5977c8561a Connect tia.filter. 2019-12-17 17:16:37 +01:00
Stephen Anthony fd136e0d49 First pass at converting part of 'ystart' to 'vcenter'.
The logic here is somewhat convoluted.  I suggest renaming 'ystart' to 'startline',
and having it internal to TIA only.  The 'vcenter' option will then modify that value
from certain default constants (for NTSC and PAL).
2019-12-16 23:26:57 -03:30
thrust26 c2fc39f44d Reimplement y-start as "V-Center" in dialog and messages
Limit v-center range to +/-15 pixel
2019-12-16 12:41:39 +01:00
thrust26 980f5b92fa Fixed my merge chaos (sorry) 2019-12-16 09:47:56 +01:00
thrust26 8d321de90d reimplemented ystart (TODO: GameInfoDialog) 2019-12-16 09:03:42 +01:00
thrust26 ebbfc258a6 improved logging and display of auto detected controllers and bankswitching types 2019-12-15 17:19:08 +01:00
Stephen Anthony b6122f136f More fixes for issues reported by cppcheck. 2019-12-15 12:32:49 -03:30
thrust26 9aa027f4fd prepare VideoDialog for new filter mode 2019-12-14 21:48:23 +01:00
Stephen Anthony 112ed29e94 Properly handle 'Cart.StartBank' set to 'AUTO' in the ROM properties. 2019-12-13 20:21:20 -03:30
Stephen Anthony 666b13593c Revert what I thought was a minor change in properties handling.
I need to go over this a little more, since it's causing ROMs to crash.
2019-12-13 20:11:14 -03:30
Stephen Anthony d129ffc12a Use make_unique/make_shared to eliminate raw pointers. 2019-12-13 19:24:36 -03:30
Christian Speckner c4d1473f81 Get rid of smoothing in favor of scaling settings. 2019-12-13 22:46:31 +01:00
Christian Speckner a966295e9b Cleanup. 2019-12-10 23:23:46 +01:00
Christian Speckner 1c798bd567 Factor out rendering / texture juggling from surface handling. Defuct. 2019-12-10 23:23:46 +01:00
Christian Speckner 1ac4f8e362 Comments. 2019-12-08 21:02:29 +01:00
Christian Speckner 15154eafaf Work around what looks like a bug in XCode 11.2 in -O0 and -O1. 2019-12-08 21:01:08 +01:00
Stephen Anthony ff7ac2de65 Added 'Mean Santa' ROM properties to the database. 2019-12-07 20:18:05 -03:30
Stephen Anthony 8a0491f3d3 Fix coverity complaining about unrestricted use of getenv. 2019-11-29 18:06:43 -03:30
thrust26 7cc49b4ff1 updated event mapping screenshots and text
made green debug color for missile 1 a bit brighter (NTSC+PAL)
2019-11-24 08:44:24 +01:00
Stephen Anthony 025eeba38c Convert some raw arrays to std::array.
Some fixes for warnings from Coverity.
2019-11-14 20:12:45 -03:30
thrust26 8fb8c6a451 improve FC detection and bank switching 2019-11-02 19:23:38 +01:00
Stephen Anthony e0f7051e5c Fix issues with VS project, minor warning from clang, and autoformat
code.
2019-11-02 11:03:15 -02:30
thrust26 12fffa1690 add missing files 2019-11-02 13:23:23 +01:00
thrust26 ed42374644 adds FC bankswitching for Amiga's Power Play Arcade cart #1 2019-11-02 12:23:03 +01:00
Stephen Anthony 6f1b0b0783 Fix segfault on shutdown in certain cases (mostly if OSystem creation failed). 2019-10-29 12:13:51 -02:30
thrust26 0dbd505b9b updated WD bankswitching (incl. detection) 2019-10-16 22:05:33 +02:00
Stephen Anthony eb2fdd71ba Updated properties database for imminent release of a highly anticipated prototype. 2019-10-11 12:30:06 -02:30
Stephen Anthony 4cd530e048 Fix typo. 2019-10-07 18:24:03 -02:30
Stephen Anthony 9593de911a Potentially fix compile errors for a few libretro ports.
I can't test this, so I don't know for sure if it fixes anything.
2019-09-27 22:58:07 -02:30
Stephen Anthony 91148d299a Eliminate conversion to pointer when it's not necessary. 2019-09-27 22:50:24 -02:30
Stephen Anthony 700fbd9c91 Some more std::array and size_t updates. 2019-09-18 10:27:32 -02:30
Thomas Jentzsch b00a438608 replace some odd decimal numbers with hexadecimals 2019-09-17 09:38:47 +02:00
Stephen Anthony 0f0c86de41 Fixed remaining size_t vs. uInt32 issues in Windows. 2019-09-16 21:36:30 -02:30
Stephen Anthony 218969eb59 Changed uInt32 to size_t where necessary.
Finally decided to stop fighting C++, and just use size_t everywhere an
array is used.
Even though this is a 64-bit value, it seems that C++/STL expects it
when dealing with arrays, so I guess we will too.
2019-09-16 21:29:08 -02:30
Stephen Anthony 354d5aa35a Fixed gcc warnings wrt getBank virtual methods.
Converted many C-style arrays to C++ std::array.  In the process, cleaned up a lot of magic constants.

Replaced most C-style memset/memcpy operations with C++ equivalents: std::fill/std::copy.
std::copy in particular fixes a few potential bugs, since it operates on the datatype size,
and not just on raw bytes.
2019-09-16 19:46:15 -02:30
Stephen Anthony a1fa3a57ba Fixed minor warnings from clang. 2019-09-15 19:24:28 -02:30
thrust26 9a44366f85 add option to break on RAM writes to read ports 2019-09-15 17:04:25 +02:00
thrust26 4b0f255b8d more types for partial fix for issue #537 (RAM writes to read port) 2019-09-15 11:52:43 +02:00
thrust26 15426a31e0 fix for RAM writes to read port commit (offsets reversed) 2019-09-15 11:36:46 +02:00
Thomas Jentzsch f0ddb8caa8 partial fix for issue #537 (RAM writes to read port) 2019-09-12 11:08:26 +02:00
thrust26 279e54378d some fixes for last commit 2019-09-07 14:36:13 +02:00
thrust26 d7c4b1a7b9 Add considering addresses for current bank. This is important for types where the 4K ROM address space is segmented into smaller slices, so there can be more than one bank at a time.
This addresses #536.
2019-09-07 14:29:33 +02:00
Thomas Jentzsch 0048beaa89 add a quick fix for #532
fix comment for FE detection
2019-08-31 10:21:30 +02:00
Stephen Anthony 5f660383e5 Removed 'cfgdir', and have Distella config files placed with the ROM file they refer to.
Updated docs for removal of statedir, propsfile, etc.
Added 'basedir' and 'baseinappdir' to the docs.
Updated changelog for above changes.
2019-08-30 23:32:57 -02:30
Stephen Anthony 2215b2dee6 Add file/dir locations to logging. 2019-08-30 22:34:11 -02:30
Thomas Jentzsch 5042c4635f Merge branch 'master' of https://github.com/stella-emu/stella 2019-08-24 12:00:04 +02:00
Thomas Jentzsch f4a0c38e59 reworked breakpoints to use hash map (and % $1fff addresses) 2019-08-24 11:59:31 +02:00
Stephen Anthony 2540d0d803 Entering an uppercase char (ie, hold Shift) on the first character in
file listings now selects among directories; use lowercase to select among
files (fixes #160).

Refactored relevant code from ListWidget to FileListWidget, where it more
properly belongs.

Updates to docs (new info, typo's, etc).
2019-08-23 22:08:06 -02:30
Christian Speckner 09bd0f817e Take power-on state into account during autodetection. 2019-08-20 23:44:30 +02:00
Christian Speckner d105a833b6 Revert "pretty hacked and ugly fix for #501"
This reverts commit 0215cda991.
2019-08-20 23:44:19 +02:00
Thomas Jentzsch 9aecdf3873 improve breakpoint calculation, only consider low 13 bit for PC 2019-08-20 15:33:41 +02:00
Thomas Jentzsch c3f379b45d make breakpoints consider banks (fixes #512) 2019-08-19 22:12:49 +02:00
Thomas Jentzsch 0215cda991 pretty hacked and ugly fix for #501 2019-08-19 09:33:21 +02:00
Thomas Jentzsch 17f5180682 prevent simultaneous mapping of analog and digital events on the same axis (until we find a way to how to detect analog or digital input)
remove joystick events from Paddles, these can now be mapped separately
2019-08-18 22:09:48 +02:00
Thomas Jentzsch feb4a07bb2 minor updates to props 2019-08-18 21:00:13 +02:00
Thomas Jentzsch 18786cf997 updates some props 2019-08-18 20:33:26 +02:00
Thomas Jentzsch 14ad7d95cf remove unused ConsoleOn/Off events 2019-08-18 18:19:16 +02:00
Thomas Jentzsch 3498004616 update props info (part 2) 2019-08-18 12:31:03 +02:00
Thomas Jentzsch b19ac8ee24 update props info 2019-08-18 11:01:36 +02:00
Thomas Jentzsch ecbc04f287 add minor mapping code enhancements 2019-08-18 09:59:16 +02:00
Stephen Anthony ad9b0e6e75 All functionality now restored to FileListWidget (pattern matching, ROMs only, etc).
This now uses a lambda function, which is more versatile.  Eventually we may even add regular expressions.
2019-08-17 21:13:15 -02:30
Thomas Jentzsch 019f4ae247 Implement event filter in InputDialog (resolves #517) 2019-08-17 15:42:39 +02:00
Thomas Jentzsch 82c6b5544d change hat mapping display 2019-08-17 06:44:17 +02:00
Thomas Jentzsch 364137d20d minor fixes for KidVid, one can start the games with 8, 9, 0 now if right controller is KidVid 2019-08-16 20:53:18 +02:00
Thomas Jentzsch 48836e849e replace magic controller strings with enums
automatic detected controller update in GameInfoDialog & StellaSettingsDialog
2019-08-16 11:05:55 +02:00
Thomas Jentzsch d531d8e686 minor refactoring 2019-08-16 06:54:17 +02:00
Thomas Jentzsch af84fbccc5 allow changing controllers during emulation 2019-08-15 20:17:57 +02:00
Stephen Anthony 22b4f36bbc Remove redundant variable. 2019-08-15 07:59:54 -02:30
Thomas Jentzsch 9f51b8caa0 rename some variables 2019-08-15 12:20:10 +02:00