Commit Graph

2970 Commits

Author SHA1 Message Date
Thomas Jentzsch a3b34a8bd6 just a few minor changes 2021-10-17 10:59:11 +02:00
Thomas Jentzsch c7205f1665 reactivated direct peeks for PlusROMs 2021-10-16 22:55:08 +02:00
Stephen Anthony 299024bb58 VS project no longer supports WinXP builds (take 2) 2021-10-16 17:21:31 -02:30
Thomas Jentzsch 6657f9de64 renamed bank locked into hotspots locked 2021-10-16 17:30:39 +02:00
Thomas Jentzsch f5a29714a6 added bank locking in debugger to PlusROM (maybe we should rename it into hotspot locking?) 2021-10-16 17:18:10 +02:00
Thomas Jentzsch 6e49d1fe12 disable audio sample saving when TimeMachine is disabled (fixes #835) 2021-10-15 12:10:00 +02:00
Christian Speckner d1c76d9c58 More accurate error message. 2021-10-11 17:59:36 +02:00
Christian Speckner 1f94a79b1c Fix segfault on invalid PlusROM URL. 2021-10-11 17:46:47 +02:00
Thomas Jentzsch 649352991a reverted some previous, superfluous changes 2021-10-10 15:52:13 +02:00
Stephen Anthony eeecf28acc Fix minor compile warning from clang. 2021-10-10 10:34:04 -02:30
Thomas Jentzsch b65aef7719 Merge branch 'master' of https://github.com/stella-emu/stella 2021-10-10 12:06:20 +02:00
Thomas Jentzsch d049326c8d added message display for PlusROMs (TODO: update screenshots)
renamed message display setting
extended PlusROM support to ARM carts (TODO: test)
2021-10-10 12:06:01 +02:00
Thomas Jentzsch 7c670bbfc3 saving changes for the merge 2021-10-10 08:44:31 +02:00
Stephen Anthony 5d64f0a9c3 Remove C-style 'srand()' and use our already existing 'Random' class.
This also fixes a warning of NULL vs. nullptr.
2021-10-09 20:22:59 -02:30
Christian Speckner 6bb055a159 Fix callback usage. 2021-10-10 00:08:44 +02:00
Thomas Jentzsch 2921bc29de initial commit 2021-10-09 23:28:28 +02:00
Thomas Jentzsch f239f140a9 fixed and enhanced PlusROM hotspot handling 2021-10-04 10:13:16 +02:00
Thomas Jentzsch a2eb62402f added frame drop logging 2021-10-04 10:11:24 +02:00
Thomas Jentzsch 7c2721ef2e moved PlusROM id generation outside GUI code 2021-10-02 08:42:05 +02:00
Stephen Anthony ff4bb3cd77 Fixed minor warnings with clang 13. 2021-10-01 13:57:46 -02:30
Thomas Jentzsch 208e7e3075 added PlusROM detection display
simplified PlusROM id generation logic
shortened QuadTari.name()
2021-10-01 17:00:10 +02:00
Thomas Jentzsch 793b554f53 enhanced PlusROM, now reads id and nick from Settings
added PlusROM id generation to PlusRomsSetupDialog
2021-10-01 12:24:53 +02:00
Thomas Jentzsch 7c8f426a1b added missing write method to QuadTari (fixes #832, SaveKey not working in QT) 2021-09-28 21:43:46 +02:00
Thomas Jentzsch 72f5f17011 added regex for PAL-M in filename (->NTSC) 2021-09-27 22:08:53 +02:00
Thomas Jentzsch 6a9f1075d2 fixed #830 (Debugger window messed up) 2021-09-25 19:07:17 +02:00
Thomas Jentzsch 187979a2ae added E7 support for 12K ROMs 2021-09-24 23:38:15 +02:00
Thomas Jentzsch 9cf4bccea5 renamed E7 cart classes 2021-09-24 22:43:11 +02:00
Thomas Jentzsch 71dbf0baa3 merged E7 bankswitching classes 2021-09-24 22:22:48 +02:00
Thomas Jentzsch 04ab86c0ac tweaked TIA randomization a bit 2021-09-21 18:43:55 +02:00
Thomas Jentzsch 747a13a0e3 added SCABS info for FE bankswitching (fixes #753) 2021-09-20 16:43:02 +02:00
Thomas Jentzsch 88b98adc7d added 256 in 1 Megatronix test ROM and properties 2021-09-20 16:32:25 +02:00
Thomas Jentzsch c88c97dd8a added missing persisting of several settings when using hotkeys 2021-09-20 09:26:57 +02:00
lodefmode 03e10caef5
Misc fixes (#828)
* - Street demo was missing audio.

* - pause playback at end of file to avoid annoying audio buzz

* - Fixed intermittent failure to forward step.
2021-09-19 14:23:30 -02:30
Thomas Jentzsch 79eb8656f6 fixed TV type autodetection failing when randomizing TIA 2021-09-19 18:20:30 +02:00
Thomas Jentzsch 051d21bebb improved TIA randomization 2021-09-19 17:39:17 +02:00
Thomas Jentzsch 07d772dbd1 fixed enhanced multicarts handling
added, mixed type X in 1 test ROM
2021-09-19 12:52:36 +02:00
Thomas Jentzsch f6428e684b
Merge pull request #827 from lodefmode/master
OSD tidy + better demos
2021-09-19 10:54:11 +02:00
Thomas Jentzsch 18874dac5f enhanced UA bankswitching detection
enhanced multicarts, now support all bankswitching types
added X in 1 test ROMs
updated doc
2021-09-19 10:08:02 +02:00
Lo Def e3cb93d083 - Level bars now aligned with sprite positions to lessen flicker 2021-09-19 00:22:45 -04:00
lodefmode 93dee95718
Merge branch 'stella-emu:master' into master 2021-09-18 22:43:38 -04:00
Lo Def f501d2d00b Merge branch 'master' of github-lodefmode:lodefmode/stella 2021-09-18 15:51:35 -04:00
Lo Def 0c7538e3b6 - square off last image line before drawing OSD text 2021-09-18 15:50:13 -04:00
Thomas Jentzsch 6fc715137b changed random TIA default in player settings
updated doc
2021-09-18 21:47:22 +02:00
Thomas Jentzsch d1810231e6 changed paddle center properties default
added paddle center properties to most games
2021-09-18 12:18:07 +02:00
Thomas Jentzsch 62b112cd60 fixed VS compiler warnings (yes, sometimes VS is more strict than anything else :) 2021-09-15 20:23:57 +02:00
Stephen Anthony 2858cdb7ec Fix compilation in Linux (missing entry in module.mk).
Fix compilation warnings in a few places.
Use float instead of floats and doubles in Paddles class (otherwise we get warnings).  Thomas, can you check that this doesn't affect functionality?
2021-09-15 15:14:31 -02:30
Thomas Jentzsch 4d78865ab2 finalized new paddle settings 2021-09-15 18:02:10 +02:00
Thomas Jentzsch fb41c41470 Merge remote-tracking branch 'remotes/origin/master' into feature/paddle_options 2021-09-15 17:59:09 +02:00
Lo Def 716c14ecfc Fixed background color shifting when consecutives frames encoded. 2021-09-12 15:55:47 -04:00
Lo Def 7abe402ba9 Merge branch 'master' of github-lodefmode:lodefmode/stella 2021-09-12 14:59:14 -04:00
Lo Def cdb03cbc83 MovieCart: Fixed random pixels between OSD + bars 2021-09-12 14:58:35 -04:00
lodefmode ca730a4d97
Merge branch 'stella-emu:master' into master 2021-09-12 11:34:18 -04:00
Lo Def 6c9ed28b83 MovieCart: Fixed delayed right side kernel 2021-09-12 11:30:24 -04:00
Lo Def 51d856f9a5 - blank out left/right sides
based on kernel modifications by Thomas Jentzch
  work in progress, stray pixel remaining
2021-09-12 05:30:20 -04:00
Thomas Jentzsch 4ace2c6eea renamed Menu class into OptionsMenu 2021-09-10 22:16:19 +02:00
Thomas Jentzsch 8da2766264 added TIA randomization (see #126), TODO: doc 2021-09-10 09:36:31 +02:00
Thomas Jentzsch bba449b830 added preliminary dead zone code for analog events
changed some wording
2021-09-09 18:11:38 +02:00
Thomas Jentzsch a40bcda609 forget to save before committing :) 2021-09-09 17:15:50 +02:00
Thomas Jentzsch 48a123a294 fixed properties for Telepathy (after breaking them) 2021-09-09 17:11:19 +02:00
Thomas Jentzsch 8e1c45a408 refactored dead zone and mouse sensitivity setting management 2021-09-09 16:40:06 +02:00
Thomas Jentzsch 81c45bee0c one more controller spelling fix 2021-09-09 13:57:12 +02:00
Thomas Jentzsch b83b8b8f65 fixed some controller spellings 2021-09-09 11:47:26 +02:00
Thomas Jentzsch fc86c899ff fixed properties for Mind Maze (no MindLink controller used) 2021-09-09 11:20:38 +02:00
Thomas Jentzsch 2b3bb70052 fixed MindLink controller (resolves #821) 2021-09-09 10:21:26 +02:00
Thomas Jentzsch 91caf521c1 added right port paddles for Decathlon (NTSC) 2021-09-08 18:23:03 +02:00
Thomas Jentzsch c3cf1c1f91 added Kid Vid detection 2021-09-08 08:27:06 +02:00
Lo Def 2a646c5564 Support background color changes
- pf/background used to change background color once per line
   resulting in higher visual quality.
2021-09-08 01:59:37 -04:00
Thomas Jentzsch 0f39ddd85e added new paddle options (TODO: deadzone and testing with real controllers, remove test code) 2021-09-07 11:39:33 +02:00
Thomas Jentzsch d809a4983d some work on PlusROMs support 2021-09-07 11:38:30 +02:00
Stephen Anthony 3e8486d4de libretro: Re-enable rewind support (fixes #820). 2021-09-06 20:24:52 -02:30
Thomas Jentzsch 905645a9f5 added _inTim and timInt pseudo registers (resolves #168) 2021-09-05 19:20:30 +02:00
Thomas Jentzsch 2af502a618 cleaned the PlusROM setup code a bit 2021-09-02 09:07:14 +02:00
Thomas Jentzsch 6b6c568a3d added some doc for the PlusROM functionality 2021-09-02 08:36:40 +02:00
Thomas Jentzsch b77d605cd1 made PlusROM nick input dialog working
added settings for nick and id
TODO: doc
2021-09-01 14:06:09 +02:00
Thomas Jentzsch 3dab800c5e added missing class 2021-08-31 21:26:17 +02:00
Thomas Jentzsch 6c6cd52e42 does NOT compile! 2021-08-31 17:04:27 +02:00
Stephen Anthony b94a6ca63c Wrap calls to httplib inside a define. This allows to build without such support.
- Linux has this enabled by default, R77 disabled by default
- Still TODO is get it working for Windows and Mac
2021-08-30 19:30:45 -02:30
Christian Speckner 67707bfdde Pluscart networking. 2021-08-30 22:54:08 +02:00
Stephen Anthony dd842cce30 Fix minor compiler warning, and bump version number for state file. 2021-08-28 17:40:24 -02:30
Stephen Anthony 10dc5d6d8b Fix minor compiler warning. 2021-08-28 17:19:31 -02:30
Stephen Anthony c2951b3b4d Merge branch 'feature/lodefmode-moviecart' 2021-08-28 17:17:32 -02:30
Stephen Anthony 5887c13a67 Added preliminary support for 'MVC' bankswitching scheme by Rob Bairos. 2021-08-28 17:16:45 -02:30
Thomas Jentzsch f666ef52df updated Player and Missile serializing for previous commit 2021-08-28 14:14:37 +02:00
Thomas Jentzsch 7aa40d4c73 added different debug colors for player/missile copies (resolves #713) 2021-08-28 10:54:49 +02:00
Stephen Anthony 4716079954 Merge branch 'master' into feature/lodefmode-moviecart 2021-08-26 19:42:43 -02:30
Stephen Anthony eba34b5320 Fix minor compiler warnings in g++ and clang. 2021-08-26 19:17:18 -02:30
Thomas Jentzsch f67bcec1b6 reformatted the ARM fatal error popup a little bit 2021-08-25 23:15:52 +02:00
Thomas Jentzsch 355658bf2e changed Air Raid properties to NTSC-50 format (fixes #812) 2021-08-23 19:53:07 +02:00
Thomas Jentzsch 7ade95c03b trying to fix #808 2021-07-11 08:47:45 +02:00
Thomas Jentzsch c73261b716 intermediate Thumb cycle count commit 2021-07-08 15:46:41 +02:00
Thomas Jentzsch f8c52ec24b another fix for MAMCR
further improved merged I-S cycles
2021-07-02 17:40:30 +02:00
Thomas Jentzsch c3220e0532 added emulation of merged I-S cycles
improved ARM timers
fixed MAMCR register emulation
2021-07-01 15:40:49 +02:00
Thomas Jentzsch 43a813958a extended single cycle access to everything except Flash 2021-06-29 17:44:08 +02:00
Stephen Anthony 15c40bb197 Fix minor warnings in g++10. 2021-06-27 12:25:21 -02:30
Thomas Jentzsch 06c6c1ccaa fixed a bug in branch cycle counting (now the test value is less than 0.1% off) 2021-06-27 13:04:35 +02:00
Thomas Jentzsch 6175176a6a added more chips types for ARM cycle count
added missing cycle counts for push and pop
added music update cycles to ARM cycle count for CDFJ
fixed stmia cycle counts
2021-06-27 09:44:42 +02:00
Stephen Anthony 135ee8748d Fix minor warnings from g++10.3. 2021-06-25 15:40:06 -02:30
Thomas Jentzsch 478d13e165 fixed #805 (ROMs detect QuadTari as Genesis) 2021-06-25 11:24:34 +02:00
Thomas Jentzsch acbfad3e56 added that digital audio considers console timing
added a 10% factor to ARM cycle count when digital audio is enabled
2021-06-25 09:18:26 +02:00
Thomas Jentzsch 0bbf9ce945 trying to fix Libretro builds 2021-06-24 16:56:17 +02:00
Thomas Jentzsch 42f44b3bdb further enhanced ARM cycle counts 2021-06-24 16:21:00 +02:00
Thomas Jentzsch 22f9db40b9 slightly improved cart type detection 2021-06-22 19:23:28 +02:00
Thomas Jentzsch 84b3f0280e fixed extra cycle in ARM cycle counts 2021-06-16 19:59:31 +02:00
Thomas Jentzsch b1e9572186 fixed ARM branch cycles (not taken = 1)
added cycle change tracking
2021-06-16 12:39:58 +02:00
Thomas Jentzsch b07c74d5e5 Improved cycle counting for MUL instruction
Made ARM Timers functional
2021-06-15 18:55:32 +02:00
Thomas Jentzsch f87aafb3e9 switched ARM cycle counting to "real" cycles 2021-06-15 17:31:08 +02:00
Thomas Jentzsch 1e1ba7a851 added missing file 2021-06-14 17:21:04 +02:00
Thomas Jentzsch f9d7f66125 added UI elements for ARM cycles to debugger widgets
refactored ARM cart classes a bit
2021-06-14 16:24:42 +02:00
Thomas Jentzsch 0c511805c7 added command line options to include (coarse) ARM cycles into system cycles 2021-06-13 12:18:44 +02:00
Thomas Jentzsch c02fc531aa renamed everything "keypad" into "keyboard" 2021-06-12 17:20:33 +02:00
Lo Def d0768b0aae Fixed stepping forward faster than stepping back 2021-06-11 10:13:39 -02:30
Lo Def 0b11658f9e Keep vblank lines consistently at 36 each field. 2021-06-11 10:13:39 -02:30
Thomas Jentzsch 950096c671 added last but one ARM stats to debug widgets 2021-06-09 09:32:14 +02:00
Stephen Anthony 252a93281b First pass at state load/save for MVC scheme. 2021-06-08 20:48:12 -02:30
Lo Def 76b76e5c9b Remove partial top and bottom line for square area 2021-06-05 16:33:19 -02:30
Stephen Anthony ae527a7f5e Revert to old way of handling framebuffer surfaces.
Still TODO is fix crash when FileListWidget is used (BrowserDialog).
2021-05-28 22:12:12 -02:30
Thomas Jentzsch ac26a6f361 disabled random start bank for 3E+ carts (fixes #800) 2021-05-20 19:19:29 +02:00
Thomas Jentzsch 783a1a5ac2 added GUID hash to controller name
renamed Joystick Database into Controller Database
2021-05-16 21:17:40 +02:00
Thomas Jentzsch c0eb914981 implemented adding *all* SA to the database again when one SA is added (fixes #754) 2021-05-16 11:25:03 +02:00
Thomas Jentzsch 16c0dd07b6 trying to fix #793 2021-05-15 20:45:05 +02:00
Thomas Jentzsch 738aeeb5cd converted combo map saving into json format (resolves #793) 2021-05-15 11:55:10 +02:00
Thomas Jentzsch cabc56b155 fixed autosave 2021-05-13 23:13:06 +02:00
Thomas Jentzsch 16a3a977dd enhanced save command, saves to user directory by default
added "autosave" command
2021-05-13 17:26:22 +02:00
Thomas Jentzsch 20aa94f4fc improved/fixed some event renaming (sorry) 2021-05-12 23:31:29 +02:00
Thomas Jentzsch 69740f25f8 made port naming (left/right) consistent (see #796) 2021-05-11 22:51:40 +02:00
Thomas Jentzsch b8807232b8 Refactored PromptWidget a bit 2021-05-09 19:21:15 +02:00
Thomas Jentzsch 4ebf3f2203 added game properties for two Simone Serra games 2021-05-08 10:36:56 +02:00
Thomas Jentzsch 4ce6c978d3 added URL properties for prototypes 2021-05-06 13:23:54 +02:00
Thomas Jentzsch fbbb86f964 added option to log breaks and traps instead of interrupting emulation (resolves #741) 2021-05-06 10:29:45 +02:00
Thomas Jentzsch a86c63fa86 merged new URL properties 2021-05-04 16:00:13 +02:00
Thomas Jentzsch d0ce5d4cf2 added links for many homebrews 2021-05-04 15:01:49 +02:00
Stephen Anthony 4334965b63 Fix libretro build. 2021-05-03 20:59:35 -02:30
Stephen Anthony bc877443c1 Move detection of MVC file out of FSNode class. There are several reasons for this:
- It more properly belongs in the class actually opening the ROM, since FSNode can represent more than just ROM files.
 - Some ports don't have proper FSNode support, so MVC would break there.
 - In general, it makes FSNode::read more general, able to read partial files.
2021-05-03 20:35:11 -02:30
thrust26 eb873afc8b merged emulation and UI event mapping tabs 2021-04-30 19:10:52 +02:00
thrust26 7873bddee5 enhanced links in HelpDialog
fixed link color for Dark theme
2021-04-25 21:08:06 +02:00
Lo Def e5287ae125 Merge remote-tracking branch 'upstream/feature/lodefmode-moviecart' into feature/lodefmode-moviecart 2021-04-25 00:07:50 -04:00
Lo Def 08441d980a (MovieCart) Avoid unnecessary shuffling of color data during encoding
and decoding, as new kernel does not require it.
2021-04-24 23:46:46 -04:00
thrust26 e463ef2fb4 redesigned RomInfoWidget link display
enhanced AboutDialog with more links
2021-04-24 11:53:26 +02:00
Stephen Anthony ea6ead0afe Fix crash in debugger. Much more work still required here. 2021-04-23 18:00:44 -02:30
Stephen Anthony 79d241de86 A few more formatting cleanups. 2021-04-22 20:08:14 -02:30
Stephen Anthony eed96c6065 More updates to MovieCart to match Stella style. 2021-04-22 16:07:09 -02:30
Stephen Anthony f963657c21 (MovieCart) Implemented left_line/right_line kernel adaptations by Thomas Jentzsch 2021-04-22 15:30:44 -02:30
thrust26 ab005bd0c7 added functional links to RomInfoWidget
added links to Robot City and Aardvark ROMs
2021-04-22 14:43:56 +02:00
thrust26 f641457083 enhanced StaticTextWidget to display links
adapted AboutDialog accordingly
2021-04-22 11:43:08 +02:00
Stephen Anthony 9f12d5c16c Some cleanups for moviecart code.
- Compiles in Linux now, and without any warnings or errors
 - Converted some code to use that already in Stella
 - Formatting cleanups to match Stella style
2021-04-21 22:13:38 -02:30
Stephen Anthony 8873ffd0b7 Merge branch 'feature-moviecart' of git://github.com/lodefmode/stella into feature/lodefmode-moviecart 2021-04-21 19:47:14 -02:30
thrust26 d1a01391b0 implemented cartridge links in GameInfoDialog (see #788) 2021-04-21 16:14:30 +02:00
thrust26 aa997a0cd5 enhanced the debugger exit fix 2021-04-21 15:03:29 +02:00
thrust26 d83f415192 cleaned up debugger exiting code (fixes #516) 2021-04-21 14:12:13 +02:00
thrust26 a8a549bdd2 moved and renamed help action in InputDialog 2021-04-20 08:38:22 +02:00
thrust26 2f6a536e72 added help key to HelpDialog 2021-04-20 08:35:02 +02:00
thrust26 dff3a2a874 Merge branch 'master' of https://github.com/stella-emu/stella 2021-04-17 18:40:24 +02:00
thrust26 802480d94e updated doc and snapshots for help button 2021-04-17 18:34:35 +02:00
Stephen Anthony 3f19a3b0ac Fix non-ASCII character in ROM properties. 2021-04-17 13:23:25 -02:30
Stephen Anthony e788305810 Fix missing comma in EventHandler class. 2021-04-17 13:20:48 -02:30
thrust26 a91aea1b22 added help hotkey in UI mode (F1)
added missing anchors
2021-04-17 16:55:40 +02:00
thrust26 29ec5c5e66 updated props for coming Aardvark ROM release 2021-04-17 09:59:21 +02:00
thrust26 6bd4987b22 fixed palette and custom BLARGG settings saving (see #787) 2021-04-12 22:38:41 +02:00
Stephen Anthony 836137c7fc Fix minor warning in clang. 2021-04-06 13:15:49 -02:30
thrust26 f3e1e559cf fixed HiDPI mode
(note to myself: sometimes initialization is bad)
2021-04-06 16:53:44 +02:00
thrust26 e0585212b8 adapt desktop size and maximum TIA zoom level to display used 2021-04-06 15:56:01 +02:00
Lo Def 438bd2f5be (MovieCart) combined subfolder of classes into CartMVC 2021-04-05 23:39:26 -04:00
Christian Speckner 08cd88c084 Fix update order, change genesis to pull pin to ground. 2021-04-05 17:54:12 +02:00
Christian Speckner 8aa14d8c75 Properly model analog input. 2021-04-05 15:46:30 +02:00
Rob Bairos 44e15ff86f (MovieCart) Limit reading of image data to single frame
when its likely an MVC file. This avoids reading of GB of data.
2021-04-05 09:27:51 -04:00
Rob Bairos a92a33b4da MovieCart
Streaming image and audio content created by presenting dynamic
1K of data on the bus, with On Screen Display. Volume, Brightness
and Shuttle controlled by joystick and console switches.
Original implementation: github.com/lodefmode/moviecart
2021-04-05 09:27:20 -04:00
Christian Speckner eab030937b PaddleReader goes AnalogReadout. 2021-04-05 14:16:29 +02:00
Christian Speckner 0ea4515bbf Use a more realistic resistance in dump mode. 2021-04-04 00:36:20 +02:00
Christian Speckner 31260facef Typo. 2021-04-02 00:18:52 +02:00
Christian Speckner a5cb517280 Adjust paddle parameters, improve keyboard controller emulation, emulate cap discharge, 2021-04-02 00:15:13 +02:00
thrust26 fbf2271e73 improved QuadTari fix 2021-03-02 19:01:50 +01:00
thrust26 75527ca670 fixed QuadTari handling for controller types != joysticks 2021-03-02 14:01:57 +01:00
thrust26 e5d623f688 removed two non-implemented methods 2021-02-27 10:37:31 +01:00
thrust26 71aeb846f2 did some code cleanup 2021-02-21 21:56:53 +01:00
thrust26 756b6ff207 added ARM stats to BUS and DPC+ debug widgets 2021-02-10 16:07:28 +01:00
thrust26 47e9269cf2 fix Libretro build 2021-02-09 22:44:59 +01:00
thrust26 3c188fbb9a added some ARM stats to CDF debug widget 2021-02-09 19:47:50 +01:00
thrust26 e7e0a0c57d minor QuadTari timing fix 2021-02-07 22:33:05 +01:00
thrust26 d3f250a516 fixed QuadTari multiplexing timing (fixes #766) 2021-02-06 10:27:17 +01:00
thrust26 54f33da48d enhanced QuadTari detection pattern 2021-02-04 15:25:55 +01:00
thrust26 6e6a1f4b43 fixed broken driving controller support (see #760) 2021-02-02 15:44:28 +01:00
thrust26 a7bde4603e derived Genesis and Booster from Joystick controller class 2021-01-30 11:25:51 +01:00
thrust26 0a0b014c13 Merge branch 'master' of https://github.com/stella-emu/stella 2021-01-25 09:25:50 +01:00
thrust26 b0611a7f60 fixed #756 (CDFJ rom size always 512KB) 2021-01-25 09:25:36 +01:00
Stephen Anthony 823ceb79c0 Added patches from Debian build (too bad I didn't see these about 6 hours ago).
Bumped version number, to start work on 6.6.
2021-01-24 15:57:29 -03:30
Stephen Anthony 982e7d18a6 Merge branch 'feature/fix-surfaces' 2021-01-23 13:10:40 -03:30
Stephen Anthony f28784112a libretro: Don't reload non-existent surfaces. 2021-01-23 13:08:16 -03:30
Stephen Anthony 95c8203f8d Fix final issue with snapshots not loading in RomInfoWidget. 2021-01-23 12:57:51 -03:30
thrust26 a5504a88a3 updated Changes.txt & WhatsNewDialog 2021-01-20 13:47:41 +01:00
Christian Speckner 3a54adeca2 Merge remote-tracking branch 'origin/master' into feature/fix-surfaces 2021-01-19 20:44:58 +01:00
thrust26 fb73d90cf9 refactored Paddles class 2021-01-19 10:23:41 +01:00
Stephen Anthony 9f74a780ed Fix crash when FrameBuffer message surfaces haven't been created.
The next task is to move all FrameBuffer message-related functionality into its own class.
2021-01-16 15:27:18 -03:30
thrust26 d9c8750d01 renamed pause dimming setting 2021-01-14 09:40:02 +01:00
thrust26 27118f3ed0 added option to disable emulation shading in pause mode via command line (resolves #755) 2021-01-14 09:32:39 +01:00
Stephen Anthony 6187d3b542 Attempt to fix continuous creation of dialog surfaces without cleanup, causing crashes on R77.
Remove cache of surfaces from FrameBuffer, into each dialog that owns it.
Make surfaces be unique_ptr instead of shared_ptr, so we can be sure cleanup occurs.
2021-01-13 16:24:09 -03:30
thrust26 b2acd8b266 added missing re-rendering 2021-01-12 11:23:16 +01:00
Stephen Anthony 21438a82cc Yearly update to copyright for 2021. 2021-01-05 18:42:43 -03:30
Christian Speckner 29a48ee63d Merge remote-tracking branch 'origin/master' into feature/full-on-sqlite 2021-01-03 22:46:26 +01:00
Christian Speckner 8204d0fb6e Move highscores to DB. 2021-01-03 22:41:59 +01:00
thrust26 3171114a47 updated doc for new SQLite database 2021-01-03 18:24:18 +01:00
Stephen Anthony 9b24e1a413 Rename method in OSystem to more accurately describe its current functionality. 2021-01-02 20:24:05 -03:30
Christian Speckner e373429ba2 Refactoring, remove sqlite from libretro build. 2021-01-03 00:16:29 +01:00
Christian Speckner b101fcc7ce Cleanup, fix leftovers. 2021-01-02 17:29:11 +01:00
Christian Speckner 419a23183f Rename SettingsDb -> StellaDb . 2021-01-02 17:12:15 +01:00
Christian Speckner 2e25d20554 Change DB name to stella, add migration for old stellarc file. 2021-01-02 15:45:35 +01:00
Christian Speckner eb33623749 Move error handling to SqliteDatabase, performance tuning. 2021-01-02 14:17:33 +01:00
Christian Speckner 37abfb3dfe JSON serialized storage of properties table. 2021-01-01 21:31:07 +01:00
thrust26 ec8beeac63 fixed spelling of 'M Network' 2021-01-01 09:43:23 +01:00
Christian Speckner e8330f5600 Reimplement export / load of per-ROM properties. 2020-12-31 00:02:24 +01:00
Christian Speckner 5758baaac6 Remove leftover. 2020-12-30 22:38:48 +01:00
Christian Speckner 5c70a3d3ec Move properties to sqlite. 2020-12-30 22:37:41 +01:00
Stephen Anthony c4b93c346d Merge branch 'master' into feature/full-on-sqlite 2020-12-27 20:21:51 -03:30
Stephen Anthony 9d292185c0 Fix ZIP files in Windows not finding last path correctly. 2020-12-25 17:44:23 -03:30
thrust26 9d16adcced Merge remote-tracking branch 'remotes/origin/feature/dbg-save-as-dialog' 2020-12-25 09:39:41 +01:00
thrust26 1ca00c7a0b enhanced and cleaned up OS specific path code
improved mouse double click marking
added file list resizing in browser dialog
2020-12-25 09:15:58 +01:00
Stephen Anthony 5c7ae3a147 Fix overzealous TV detection in ROM filenames. Fixes #747. 2020-12-24 11:51:53 -03:30
thrust26 fee6139efe Merge remote-tracking branch 'remotes/origin/master' into feature/dbg-save-as-dialog 2020-12-24 12:35:02 +01:00
thrust26 db10aea7c7 refactored directory names, removed default load dir
updated docs
2020-12-24 12:24:23 +01:00
thrust26 18cc04c9ca added "userdir" settings which can be used to overwrite default save (and load) directories 2020-12-24 11:48:15 +01:00
Stephen Anthony e14da1344a Eliminate duplicate copies of lastPathComponent function. 2020-12-23 22:21:46 -03:30
thrust26 a0812dc10f added file browser to GameInfoDialog export
code cleanup
updated docs
2020-12-23 23:07:00 +01:00
thrust26 59311aa589 Merge remote-tracking branch 'remotes/origin/master' into feature/dbg-save-as-dialog 2020-12-23 17:12:07 +01:00
Stephen Anthony e322ece7b4 Few more fixes for suggestions from cppcheck. 2020-12-22 19:29:49 -03:30
Stephen Anthony 5332758281 Merge branch 'master' into feature/full-on-sqlite 2020-12-21 22:45:44 -03:30
thrust26 f396ae421c limited redraw debug output to DEBUG_BUILD 2020-12-21 09:14:42 +01:00
Stephen Anthony ac09bcd032 Move duplicated 'trim' function to BSPF.
Remove unused methods from Settings.
2020-12-20 20:05:41 -03:30
Stephen Anthony 39b42bca55 Merge branch 'master' into feature/full-on-sqlite 2020-12-20 19:03:15 -03:30
Stephen Anthony 11241b9871 More conversion to brace syntax. 2020-12-20 18:14:28 -03:30
Stephen Anthony 60c991e171 Fix segfault when exceptions are thrown on errors.
That was exactly the point of exceptions; to NOT crash the app!
2020-12-20 13:39:28 -03:30
Stephen Anthony e837e1f94c Disabled PlusROM for now, until we find more time to work on it. 2020-12-19 18:35:16 -03:30
Stephen Anthony 2f5166e81e Various fixes for suggestions from cppcheck. 2020-12-18 19:25:27 -03:30
thrust26 e76fed006b minor enhancement of input global keys 2020-12-18 22:34:36 +01:00
thrust26 dbdc984e77 fixed specific mouse axes for paddles (fixes #746)
added specific mouse axes properties for SWOOPS
2020-12-18 16:17:03 +01:00
thrust26 b8117caefd removed JOYSTICK_SUPPORT checks to align with header file 2020-12-18 08:13:55 +01:00
Stephen Anthony 14bd210005 libretro: Fix compile errors (PlusROM and some minor joystick stuff). 2020-12-17 23:58:35 -03:30
Stephen Anthony 37c61fe93e Added beginning infrastructure for PlusROM support.
For now, none of the network functionality is present; PlusROM's are correctly detected, though.
2020-12-17 23:27:22 -03:30
thrust26 c9cd7cb4ef fixed global hotkey logic and warning 2020-12-17 17:39:28 +01:00
thrust26 d7bb07fc55 added hotkeys for Input Devices & Ports settings
added hotkeys for Game Properties/Controller settings
added new global hotkey group for new hotkeys
add a few more tooltips
updated doc
2020-12-17 16:37:51 +01:00
Stephen Anthony 00d241c67b Some fixes for suggestions from clang-tidy. 2020-12-16 16:24:46 -03:30
Stephen Anthony 162b13f3d1 Completely remove 'cfgfile' functionality, since the SQL backend uses the same name on all ports. 2020-12-16 00:28:41 -03:30
Christian Speckner 4318d01216 Sqlite is the only choice now. 2020-12-15 23:55:24 +01:00
thrust26 ccc185de54 moved new EventMode::kEditMode to end of list to fix mapping conversion 2020-12-08 11:39:22 +01:00
Stephen Anthony b49fa9583c Fix compile warnings in Xcode. 2020-12-06 23:43:11 -03:30
Stephen Anthony 82392944ad Fix clang warning. 2020-12-06 22:23:42 -03:30
thrust26 3eec0defce improved playback sound muting 2020-12-06 21:17:56 +01:00
thrust26 ee8734ce14 added sound to Time Machine playback
fixed playback speed
updated docs
2020-12-06 12:08:25 +01:00
thrust26 b990bf2f68 switched high score checksum calculations to md5
added high score properties for a few more games
updated docs
2020-12-04 13:20:13 +01:00
thrust26 6bd5311db3 refactored HighScoresDialog/Manager
added checksums to high scores
added high score properties for more games
updated docs
2020-12-03 15:07:05 +01:00
thrust26 48e3f85a9f added shading to TIA surface when emulation paused or dialog on top 2020-12-01 22:21:23 +01:00
thrust26 bff8d4141a Trying to fix build bug #736 2020-12-01 18:37:46 +01:00
thrust26 833ce27d37 defined high score properties for many ROMs
added option to limit number of chars for text input
added tooltips to High Scores dialogs and widgets
updated docs
2020-11-30 18:52:42 +01:00
thrust26 488b9cf077 Merge remote-tracking branch 'remotes/origin/master' into feature-highscores
Fixed redraw problems.
2020-11-30 09:23:45 +01:00
thrust26 5ba8795747 updated defprops 2020-11-29 23:40:59 +01:00
thrust26 71caf5e776 finished high scores definitions saving conversion to JSON 2020-11-29 22:51:33 +01:00
thrust26 56fb6b0956 Merge remote-tracking branch 'remotes/origin/master' into feature-highscores 2020-11-29 22:26:37 +01:00
Stephen Anthony ad88f26c61 Switch to C++17 structured bindings for maps in a few places, adding const as well.
This makes the code a little easier to follow.
2020-11-29 15:50:31 -03:30
thrust26 efb94f1b5f started converting high score definitions saving to JSON 2020-11-29 14:13:13 +01:00
Stephen Anthony ceabffe52b Various code cleanups. 2020-11-28 22:16:47 -03:30
Stephen Anthony c4354aeeea Remove workarounds in pre-C++17 code. 2020-11-28 20:52:13 -03:30
thrust26 c116ed8d25 Merge branch 'master' into feature-highscores 2020-11-28 20:10:17 +01:00
thrust26 cbbe6fbe99 fixed doc 2020-11-25 17:23:05 +01:00
thrust26 d292c8eb6b fixed #735 (trackball fire) 2020-11-25 17:21:57 +01:00
thrust26 9274a72d51 added path info to launcher tooltips when displaying sub directories
fixed launcher files list when filtering was canceled
added persisting 'incl. subdirectories' setting
2020-11-24 12:50:43 +01:00
thrust26 d309279852 added cancel option (button, enter, ESC) to ProgressDialog
adapted all ProgressDialog using actions to allow canceling
2020-11-23 22:02:52 +01:00
thrust26 6ec8693110 fixed small font for launcher 2020-11-22 21:58:49 +01:00
thrust26 9a68e48421 added subdirectory search to launcher
enhanced ProgressDialog
2020-11-22 12:39:17 +01:00
thrust26 fc92520fc5 fixed #732 2020-11-21 14:38:32 +01:00
thrust26 3b04034aab improved tooltips hiding
added tooltip to breakpoint/trap status
added tooltip to search/compare buttons and dialogs
added tooltips to data operation buttons
2020-11-20 10:11:40 +01:00
thrust26 39b94d74e1 Merge remote-tracking branch 'remotes/origin/feature/improve_ui_redraws' 2020-11-19 18:16:36 +01:00
thrust26 9eea11ef83 improved string wrapping (incl. '\n')
fixed potential exception in StringListWidget
2020-11-18 21:02:42 +01:00
thrust26 3433a6f013 added multi-line tooltip support 2020-11-18 20:07:25 +01:00
cd-w 248bb7b96f Fix audio changes to be compatible with CDF/CDFJ 2020-11-15 20:21:34 -03:30
cd-w 2e6ddaa3d8 Increase sample size from 2K to 512K for CDFJ+ 2020-11-15 20:21:34 -03:30
thrust26 1476b2a6bf attempt to fix 'shifting' dialogs (OptionsDialog) 2020-11-15 16:41:01 +01:00
Stephen Anthony 85d0c9227c Optimize/simplify dialog shading slightly
- move creation to c'tor
 - apply position and size with one method instead of two
2020-11-14 22:35:05 -03:30
thrust26 36a3f9843e removed special colors and drawing for Dialog in background 2020-11-14 10:03:29 +01:00
thrust26 7fb21af0b2 added a full render when event WINDOW_EXPOSED and WINDOW_RESIZED are handled
stopped screen from changing frames when 'Pause' is displayed
2020-11-13 19:53:19 +01:00
thrust26 6917873c2f improved fullscreen message in debugger mode 2020-11-13 16:12:33 +01:00
thrust26 74206a8c4d fixed UI palette update crash
fixed garbage when switching state in fullscreen modes
2020-11-13 16:00:19 +01:00
Stephen Anthony fb5df8332b Update Xcode for class addition.
Comment out code that causes a crash on Mac.
2020-11-13 10:05:11 -03:30
thrust26 264eb5ea1a fixed initial focus display 2020-11-13 14:24:52 +01:00
thrust26 7708a9a692 fixed missing render when a stacked dialog was closed in emulation 2020-11-13 11:18:25 +01:00
thrust26 d627acb408 avoid full update when window gets exposed (test) 2020-11-13 10:03:03 +01:00
thrust26 56f8af1d8f fixed forced full redraws
force full UI redraw when UI palette changes
2020-11-13 09:36:57 +01:00
thrust26 53ee7cadfd Merge branch 'feature/improve_ui_redraws' of https://github.com/stella-emu/stella into feature/improve_ui_redraws 2020-11-13 09:07:03 +01:00
thrust26 4061dee480 fixed rendering, all dialogs are always re-rendered 2020-11-13 08:58:19 +01:00
Stephen Anthony 97ee718a0c Fix compile warning. 2020-11-12 18:04:56 -03:30
thrust26 df16dcbe50 refactored UI ticks 2020-11-12 18:14:26 +01:00
thrust26 3063752f60 further minimized UI redraws when message is displayed 2020-11-12 11:50:26 +01:00
thrust26 e93e4b8fdb minimized UI redraws and renderings when message is displayed
refactored message creation
2020-11-12 10:43:04 +01:00
thrust26 9f88a116a4 activated enhanced "full" redraw logic 2020-11-11 15:37:32 +01:00
thrust26 e469730d33 added individual size to each save state (fixes #727) 2020-11-11 13:01:45 +01:00
thrust26 7d63a0dfb8 added individual size to each save state (fixes #727) 2020-11-11 13:00:44 +01:00
thrust26 8e118b055d move Widget flags into GuiObject 2020-11-11 08:56:11 +01:00
thrust26 76b6855284 added support of transparent widgets (for TimeMachineDialog) 2020-11-10 23:29:56 +01:00
thrust26 e7b7bfa3cd initial commit for #719 2020-11-10 19:53:36 +01:00
thrust26 14952430ad trying to fix CLANG warning 2020-11-10 09:03:28 +01:00
Stephen Anthony 3c5c81df0d A few more fixes for suggestions from clang static analyzer. 2020-11-09 18:20:50 -03:30
thrust26 ee0800f5ad finalized EditableWidget
updated doc
2020-11-07 10:15:51 +01:00
thrust26 6b46f85fc9 fixed problem with QWERTZ keys 2020-11-06 23:57:34 +01:00
thrust26 c3be71cd9f refactored EditableWidget to use events instead of scancodes (TODO: text, MacOS keys) 2020-11-06 18:16:21 +01:00
thrust26 b2fa192529 added undo/redo to EditableWidget 2020-11-05 22:16:58 +01:00
thrust26 c6093a8d6f added keyboard copy/paste selection in EditableWidget (addresses #105)
increased width of edit cursor
2020-11-04 12:36:18 +01:00
thrust26 ec52ea8049 added color parameters to 'Custom' palette, fixes #657 2020-10-31 19:06:58 +01:00
Stephen Anthony e92a3882e7 More fixes to SaveKey data file; make sure file is always 32KB. 2020-10-28 23:37:25 -02:30
Stephen Anthony 7cf72d7962 Remove redundant define, which was already inside the same define. 2020-10-25 11:28:35 -02:30
Stephen Anthony e5b5157751 Revert "Revert change in serial port autodetection that was causing the real serial port to not be found."
This reverts commit e8514ca145.

The previous code works better for our use case.
2020-10-24 17:02:17 -02:30
Stephen Anthony e8514ca145 Revert change in serial port autodetection that was causing the real serial port to not be found. 2020-10-24 15:21:19 -02:30
Stephen Anthony 0a0328b126 Minor updates to comments. 2020-10-23 21:45:04 -02:30
thrust26 196e8919cc fixed Atari mouse auto detection 2020-10-23 19:46:06 +02:00
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
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
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 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 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 720cad7e76 implemented WSYNC part of #165 (TODO: doc)
refined TiaInfoWidget, CpuWidget and RamWidget
2020-10-12 21:30:03 +02:00
thrust26 f4fdebb425 fix #710 2020-10-11 19:48:27 +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
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
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
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
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 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 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 fa987e63b6 added multiple controller support (joystick, driving, SaveKey, AtariVox) 2020-09-03 15:14:55 +02:00