Commit Graph

3037 Commits

Author SHA1 Message Date
stephena b0960a5fd2 Fixed what must have been a long-standing bug; typing the 'reset' command
in the debugger wasn't actually resetting the bankswitching, since it was
being locked.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3314 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-08-22 16:53:09 +00:00
stephena 07798111cb Updated OSX project file for 3E+ bankswitching scheme.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3313 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-08-21 22:16:05 +00:00
stephena 893fcfd96a Added 3E+ bankswitching scheme to VS 2015 project files.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3312 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-08-21 21:58:10 +00:00
stephena 087d382280 Added 3E+ bankswitching scheme by Thomas Jentzsch.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3311 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-08-21 21:37:06 +00:00
stephena 1ecfee71e7 Reverted new TIA sound code until it is more mature. There are other
improvements in the pipeline waiting to be done, and are being delayed
by the sound stuff.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3310 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-08-18 18:44:57 +00:00
stephena 40cfd6a475 Cleaned up usage of 'using namespace ...'. I'm currently teaching that using
that approach is a bad idea (and using Stella as example code), so it doesn't
make sense to not do something as it's being taught; the correct way.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3308 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-05-24 16:55:45 +00:00
stephena 9d1c2085e6 Forgot to fix up TIA register writes in a few locations, so it was possible
that the register held values up to 255 (when it should only contain 0-159).
Thanks to Omegamatrix for the report and fix.

On another note, I hope to get back to Stella development soon; it's been a
rough time since the last release.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3307 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-05-13 16:23:53 +00:00
stephena 81e9480100 OK, this is the first pass at adding the new TIA sound emulation
core to Stella, as outlined in a thread on AtariAge.  It's currently
not working 100% due to timing issues with the TIA class.

Expect breakage over the next few months, as this code and the TIA
code in general will be borked from time to time.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3306 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-04-03 17:15:19 +00:00
stephena c0095ca59a Last commit for bspf.hxx; cleaned up the formatting.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3305 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-04-03 01:22:13 +00:00
stephena 8dbd545433 After thinking about it a little, I wondered why we even need to wrap several
std:: functions into BSPF namespace at all.  So I removed them, and have the
calls map directly to the std:: versions.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3304 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-04-03 00:35:00 +00:00
stephena 91e3afb3bb Updated bspf.hxx for Windows build.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3303 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-04-03 00:24:24 +00:00
stephena eb56efc3d5 Convert BSPF C-style macros to C++ namespace equivalent.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3302 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-04-02 23:47:46 +00:00
stephena f431e3e3a5 A few more constexpr additions, and removal of redundant comments.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3301 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-04-02 22:52:29 +00:00
stephena abf4a4a44c I was a little too eager with the 'constexpr'; it currently doesn't work on
enum types.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3300 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-04-02 21:27:10 +00:00
stephena dd96a80e7e Updated build requirement for Windows to Visual Studio 2015. This allowa to use 'constexpr', which this patch does for a few classes.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3299 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-04-02 20:46:02 +00:00
stephena 7903c52406 Documentation updates for 4.7.2 release.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3297 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-03-25 20:51:28 +00:00
stephena 3a5cdb2d5c Moved 'swallow backtick ket in debugger' logic out of PromptWidget and
into the parent dialog box (ie, the entire debugger window), since we
don't want to allow backtick to appear anywhere in the debugger, not
just the prompt.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3295 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-03-07 15:36:09 +00:00
stephena f3fce85633 Re-added CTY scheme to the list of selectable bankswitch schemes,
and fixed some minor warnings generated from GCC 6.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3294 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-03-05 18:35:25 +00:00
stephena dd480fdb7e Updated configure script for GCC6, and in general cleaned up
some obsolete cruft.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3293 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-02-29 22:41:18 +00:00
stephena dae8205029 Cleaned up a few more warnings.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3292 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-02-27 22:18:30 +00:00
stephena 983c6361f2 Updated thumbulator code from latest in repo.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3290 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-02-27 19:58:20 +00:00
stephena b02059dc5f Updated Linux configure script to work with g++-6.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3289 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-02-26 19:38:22 +00:00
stephena b43267f0dc Oops, forgot to remove some debugging code that fails in Visual Studio.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3288 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-02-24 21:30:13 +00:00
stephena 24051e4ddf (Hopefully) fixed bug when entering/exiting the debugger, whereby the
"`" key (or equivalent) was being shown in the prompt widget.

Added method stubs for clipboard cut/copy/paste/select.  Actually
implementing them will come next.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3287 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-02-24 20:49:49 +00:00
stephena 1e56f18b7e Fixed annoying warning about left-shifting negative values.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3285 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-02-18 00:38:21 +00:00
stephena ced55a8977 Fixed minor warning in OSX build due to signed SDL2 libs.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3281 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-02-13 18:14:56 +00:00
stephena ee0369255a Added E.T. hack by 'recompile' to the ROM properties database.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3280 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-02-13 17:46:19 +00:00
stephena 1b223368e6 Updated UI to be able to change TV jitter effect and recovery time.
Updated various files for 4.7.1 release.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3279 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-02-13 01:21:28 +00:00
stephena c5e9d3618b Updated docs for evdev-joystick.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3278 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-02-12 22:03:49 +00:00
stephena 7e1e3f0b31 Changed description of tv.jitter to not mention scanlines.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3277 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-02-12 14:28:30 +00:00
stephena 79cfdb294c TV jitter recovery time can now be set through a commandline argument
(tv.jitter_recovery).  Next, this will be added to the UI.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3276 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-02-12 14:23:40 +00:00
stephena 6a91da283f Added 'evdev-joystick', a tool to modify the deadzone on 'evdev' joystick
devices under Linux.  This is needed since SDL2 doesn't currently allow
to change the deadzone, which is causing problems with the various
'daptor devices, particularly with paddles.

Removed redundant patch for SDL2 in Windows to not 'beep' when an
'Alt' key is pressed; this functionality is now upstream in SDL 2.0.4.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3275 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-02-11 17:43:51 +00:00
stephena a35c66e806 Fixed bug occurring when more than 2 controllers had the same name; information
was being saved about only two of them.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3273 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-02-06 21:06:23 +00:00
stephena 3b2f534bf7 Added 'jitter recovery' emulation from SpiceWare, in which large
scanline count differences can take multiple frames to recover.
Currently the code uses a hard-coded delay; next I'll make it a
variable, changable within the UI (and on the commandline).


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3272 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-02-01 23:43:00 +00:00
stephena 65bb073968 Got rid of another d'tor. In this case, it was redundant anyway,
since when a vector is deleted it automatically calls clear on itself.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3271 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-01-31 03:57:08 +00:00
stephena 6dd12ef088 Got rid of nasty c-strings and with it the EventHandler d'tor.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3270 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-01-31 03:42:23 +00:00
stephena 0d4e8d60f0 Increased 'Medieval Mayhem' paddle range so that # of players can
actually be selected.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3269 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-01-30 01:59:40 +00:00
stephena 14471590cf 'Racer Prototype' F8 ROM from RomHunter v/11 has a bug, in that it
crashes if started in bank 1 (the default for Stella).  So we special-case
this ROM, and have it start in bank 0.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3268 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-01-30 00:57:04 +00:00
stephena bcda343aee And so it begins again ...
Updated properties database to RomHunter v11.  I would have done this in the
last release, but nobody told me that v11 had been released.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3267 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-01-29 19:36:12 +00:00
stephena 5cf32f4b95 Of course, there's a problem with perfectly valid C++ code in Visual Studio
at the last minute ...


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3264 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-01-25 21:16:04 +00:00
stephena 86c7b229f0 Final commit for 4.7 release, updating docs and some minor last-minute
code cleanup.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3263 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-01-25 20:49:21 +00:00
stephena 647aeb62b0 Fixed TIA score mode bug, as reported on AtariAge.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3261 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-01-25 17:28:49 +00:00
stephena 211454f699 Fixed minor warning detected in Visual Studio.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3260 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-01-24 22:09:35 +00:00
stephena dbd56ca03d Converted raw pointers to unique_ptr in PNGLibrary class.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3259 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-01-24 17:42:44 +00:00
stephena 755611a5c1 In my quest to remove all d'tors, converted many more raw pointers to
unique_ptr.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3258 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-01-23 22:56:16 +00:00
stephena 5e1e8e7abf Updated Xcode project file for 'CV+' bankswitch scheme addition.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3257 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-01-23 21:36:38 +00:00
stephena a00425bb78 Update VS project file for CV+ scheme.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3256 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-01-23 18:27:34 +00:00
stephena e1e071c875 Oops, forgot to remove some debugging info from CV+ scheme.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3255 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-01-23 18:17:23 +00:00
stephena ed766b5bb2 Cleanup some whitespace issues.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3254 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-01-23 18:16:09 +00:00
stephena 143b22baec Added 'CV+' bankswitching scheme.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3253 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-01-23 17:58:00 +00:00