Christian Speckner
772b122b15
Remove -DTHUMB_SUPPORT from xcode project.
2017-12-10 00:22:50 +01:00
Christian Speckner
6500ab0613
Compile thumbulator unconditionally.
2017-12-10 00:22:18 +01:00
Christian Speckner
c6f13ed743
Trade potentially illegal use of size_t against container::size_type.
2017-12-09 20:44:27 +01:00
Christian Speckner
bff2c7a5e7
Fix a bunch of warnings in XCode / clang.
2017-12-09 20:25:18 +01:00
thrust26
c57253c9e6
aligned team to Stella website
2017-12-09 12:08:31 +01:00
thrust26
9ae7ab0ed4
Merge branch 'master' of https://github.com/stella-emu/stella
2017-12-09 10:41:55 +01:00
thrust26
a43e7f9d58
improved states interval factor calculation
...
a little code cleanup
2017-12-09 10:41:38 +01:00
Stephen Anthony
cc64ce59a1
Some more work on RewindManager:
...
- iterator now starts and last node and moves towards first (removes one 'ugly' bit of code)
- temporarily decreased size of buffer to 10 states, to make testing easier
- added debug output, so we can clearly see that the iterator is correctly walking the buffer
2017-12-08 14:46:06 -03:30
Stephen Anthony
e9a5198863
Reverted part of previous commit; rewind states now use 64-bit where appropriate.
...
Fixed some more minor errors found by clang.
2017-12-08 07:53:09 -03:30
thrust26
a1d0319042
corrected defaults for aspect ratio to 0.91 (NTSC)/1.09 (PAL)
...
see https://en.wikipedia.org/wiki/Pixel_aspect_ratio
2017-12-08 11:33:55 +01:00
Stephen Anthony
76b3ff02b3
Fixed various warnings in code.
...
- removed unused variables
- in RewindManager, convert cycles to Int32 rather than Int64; although
they are defined as 64-bit from the TIA, we only care about differences
here, and the difference will never be larger than a 32-bit can hold.
2017-12-07 21:27:31 -03:30
Stephen Anthony
21bcf8211b
Updated OSX project file for class additions.
2017-12-07 21:04:00 -03:30
thrust26
b35a9ef946
added that rewind toggle updates settings too
2017-12-06 19:49:03 +01:00
thrust26
ec4f56960b
HelpDialog and AboutDialog updated
2017-12-06 16:52:37 +01:00
Stephen Anthony
a79ccf400f
Minor updates to rewind:
...
- comments are now more in line with what actually happens when adding a state
- changed Serializer::reset() to Serializer::rewind(), to more accurately indicate what it does
2017-12-06 11:44:40 -03:30
thrust26
90be9bb607
fixed DTHUMB_SUPPORT error
2017-12-06 13:03:27 +01:00
thrust26
ec5a3cdec5
thumb.trapfatal added to developer settings dialog
...
restructured developer settings dialog
duplicated debug colors are changed automatically
updated doc and screenshots accordingly
2017-12-06 12:15:16 +01:00
thrust26
87d5886067
fixed #264
2017-12-06 11:01:33 +01:00
thrust26
3a969bfeef
DTHUMB_SUPPORT define added
2017-12-06 09:24:24 +01:00
Christian Speckner
833c4de688
Silence compiler warning.
2017-12-05 21:20:27 +01:00
Christian Speckner
2b5416eade
Don't trap write accesses to datastream pointers & friends in CDF / BUS.
2017-12-05 20:29:22 +01:00
Stephen Anthony
f18fa0fcb8
Updated libpng to latest release.
...
Fixed tabs vs. spaces in Changes.txt.
2017-12-05 11:07:55 -03:30
Stephen Anthony
1f43539f10
Changed Switches::update() to not evaluate settings on every call.
...
Basically, removed determination of whether we're in 2600 or 7800 mode
from the hot path, and moved it to a method that is called only when
it changes (currently that method doesn't seem to be called at all, since
it seems like 'console' setting cannot be changed dynamically).
2017-12-04 14:12:06 -03:30
thrust26
260a8b7bb0
minimal debugger sizes adjusted again
2017-12-04 15:59:51 +01:00
thrust26
aef15b44b4
minimal debugger and text dialog sizes increased
...
debugger doc updated and some links added
missing ellipsis added to RAM widget
2017-12-04 14:17:54 +01:00
Christian Speckner
ed25664c46
Add two "grace lines" of black when autodetecting ystart.
2017-12-04 00:25:54 +01:00
thrust26
78a3b197f4
loadconfig bug fixed
...
save commands explained in debugger doc
load/saveconfig allowed for multi-bank ROMs (with warning)
2017-12-03 17:07:47 +01:00
thrust26
039a054ad5
saverom command fixed (broke that myself)
2017-12-03 16:18:23 +01:00
thrust26
7c01418c29
fixed #239
2017-12-03 13:53:14 +01:00
thrust26
faf9294fd2
a very little fix here an there
2017-12-03 09:08:33 +01:00
thrust26
88500b46ff
reflected last doc changes in debugger help
2017-12-02 11:51:06 +01:00
thrust26
8abc49af1f
fixed effective volume for C = 0
2017-12-01 21:15:11 +01:00
thrust26
d3f29a1432
Merge branch 'master' of https://github.com/stella-emu/stella
2017-12-01 20:57:31 +01:00
thrust26
b6fa51d97b
effective volume to audio widget added
...
fixed parser return value for "$a"
2017-12-01 20:57:14 +01:00
Stephen Anthony
a4f33127ba
Added ROM properties for 'Super Cobra Arcade'.
2017-12-01 15:42:33 -03:30
thrust26
9f0c15bc32
audio widget made editable
2017-12-01 18:21:54 +01:00
thrust26
da473f4803
sorting improvement unreverted :)
2017-12-01 14:21:00 +01:00
thrust26
3a136b4284
Revert "removed leading space from directories, as this will make navigation slightly faster"
...
This reverts commit 823debcc04
.
2017-12-01 13:59:38 +01:00
thrust26
823debcc04
removed leading space from directories, as this will make navigation slightly faster
...
see #160
2017-12-01 12:06:35 +01:00
thrust26
bd52880a46
minimal Cart class refactoring
2017-12-01 12:03:19 +01:00
thrust26
d333553ec2
startup bank for E0 bankswitch type randomized
2017-12-01 10:08:10 +01:00
thrust26
7fc1c54d4c
more E7 refactoring/cleanup
2017-11-30 17:26:58 +01:00
thrust26
16bc644b00
minor doc fixes
2017-11-30 16:04:43 +01:00
Stephen Anthony
178c5b4eaf
Changed 'const' to 'constexpr' in several places.
...
Note that constexpr should be preferred, since it _guarantees_ compile-time
usage, whereas 'const' alone doesn't necessarily do that. So constexpr
is guaranteed to be more efficient.
2017-11-30 10:36:31 -03:30
thrust26
a636e6859d
documentation and output of 'dump' command improved
2017-11-30 13:50:56 +01:00
thrust26
d639cdb4c9
multi bank ROM disassembly allowed (with a warning)
2017-11-30 11:46:20 +01:00
thrust26
1d5333969b
startup bank for 3F getting randomized
2017-11-30 11:36:21 +01:00
thrust26
3fddc7fcc3
minor merge update
2017-11-30 09:12:35 +01:00
Stephen Anthony
f7f9a8a3df
Re-generate DefProps.hxx from stella.pro changes.
2017-11-29 21:07:39 -03:30
Christian Speckner
53a2d59e02
Add a bunch of missing overrides.
2017-11-30 01:22:41 +01:00
Christian Speckner
2b285060fe
Remove dead code.
2017-11-30 01:14:22 +01:00
thrust26
51cdc21fa3
spelling fix
2017-11-29 21:00:30 +01:00
thrust26
2a4db8e11e
startup bank randomization info added to widgets
2017-11-29 20:48:19 +01:00
thrust26
30cb1fe14d
RewindManager fix for ROM startup rewind
...
-bankrandom support for E7(8K) added
2017-11-28 23:20:06 +01:00
thrust26
a239d94df9
E78K signature fix
2017-11-28 22:25:09 +01:00
thrust26
247cac9233
Minor spelling fixes
2017-11-28 22:08:16 +01:00
thrust26
b3e92842e5
some more refactoring
2017-11-28 22:00:42 +01:00
thrust26
8d42af251e
some magic numbers replaced
...
(and fixed a bug regarding offset into myCodeAccessBase)
2017-11-28 16:38:01 +01:00
thrust26
b0a373285b
fixed irritating variable name
2017-11-28 14:19:04 +01:00
thrust26
5760167f31
E78K added to doc
...
missing files added
2017-11-27 22:51:41 +01:00
thrust26
053b79fc3e
E7 bankswitching classes refactored
...
E78K bankswitching added
2017-11-27 22:49:53 +01:00
thrust26
4085469dbc
VERY minor copy&paste error fix
2017-11-27 11:51:25 +01:00
Christian Speckner
35ae38572c
Clear FB before running autodetection.
2017-11-26 23:24:05 +01:00
Christian Speckner
1c10f55bb0
Mute audio while autodetection runs.
2017-11-26 23:10:43 +01:00
thrust26
9ed688613c
maximum framerate in Video Dialog set to 900
2017-11-26 20:01:55 +01:00
thrust26
12a41adb1e
Merge branch 'master' of https://github.com/stella-emu/stella
2017-11-26 19:50:44 +01:00
thrust26
4ca56b03ce
fixed #259
2017-11-26 19:50:27 +01:00
Stephen Anthony
e9619914e4
Added missing header files to VS project file.
2017-11-26 14:36:17 -03:30
Stephen Anthony
5bf4fa5d5f
Updated OSX project file for recent class additions.
2017-11-26 13:12:37 -03:30
thrust26
c1fc60a4e0
missing files added
...
first changes to debugger docs
2017-11-26 13:42:56 +01:00
thrust26
0b542b699e
Debug Color settings moved into Developer Settings dialog
2017-11-26 11:09:24 +01:00
thrust26
e09876af61
'*' vertically centered
2017-11-25 20:17:51 +01:00
thrust26
5445dc6019
Fixes for setting rewind mode
2017-11-25 18:14:32 +01:00
thrust26
7eeec2964c
missing ellipsis added
2017-11-25 15:54:29 +01:00
thrust26
cc55724d49
Revert "changed saved game properties (Control + s) path to defaultSaveDir()"
...
This reverts commit ae0a3c1ba5
.
According to documentation, the contents should overwrite stella.pro.
2017-11-25 12:36:11 +01:00
thrust26
df0a3720db
fix to developer settings dialog parameters
2017-11-25 12:33:38 +01:00
thrust26
ae0a3c1ba5
changed saved game properties (Control + s) path to defaultSaveDir()
...
Question: Should those files overwrite Stella.pro automatically?
2017-11-25 11:18:05 +01:00
thrust26
7c46f031f3
further Developer settings dialog improvements
2017-11-25 11:12:17 +01:00
thrust26
e6b36356a3
some improvements for RadioButtonGroup
2017-11-24 22:37:07 +01:00
thrust26
15318c749a
two sets for developer related settings added
...
reverted previous changes, "colorloss", " stats" and "grabmouse are permanent again (for the current set)
2017-11-24 20:48:27 +01:00
thrust26
8fd33ed103
Merge branch 'master' of https://github.com/stella-emu/stella
2017-11-24 20:38:47 +01:00
thrust26
08f29ca808
two sets for developer related options defined
...
reverted some changes previous changes ("colorloss", "stats" and "grabmouse" are persisted again)
2017-11-24 20:38:21 +01:00
Stephen Anthony
9ada07a733
Minor fixups for last commits.
2017-11-24 13:24:19 -03:30
Markus Uhr
bfd12d7ddc
Fix tick suffix in snapshot file name.
2017-11-24 13:12:06 -03:30
Markus Uhr
ed3b61fdb1
Improve 'dump' command.
...
Add third parameter to indicate that the dump should be appended to
a file instead of printed on screen. Also, allow to dump CPU state
and input registers.
The third argument is a flags value (0x01: dump memory, 0x02: dump
CPU state, 0x04: dump input registers).
2017-11-24 13:12:06 -03:30
Markus Uhr
0ecb4f5ae7
Add an 'exec'-prefix to snapshot name when saving from a script.
...
Allow the user to specify an additional 'prefix' string in the exec command
that will be prepended the ticks-part of the snapshot name when saving a
snapshot from script.
2017-11-24 13:12:06 -03:30
Markus Uhr
7010400235
Add new debugger command 'stepwhile'.
...
This command steps through the code instruction-by-instruction (just like the
'step' command) while the <condition> argument evaluates to true. This is a
(pretty slow) workaround for breakpoints and the 'run' command which seems
broken from debugging scripts.
2017-11-24 13:12:06 -03:30
Markus Uhr
e6b5d792b7
Reset command: also reset controller state.
2017-11-24 13:12:06 -03:30
Markus Uhr
2f787fbb91
Exec command: search script first in current directory.
2017-11-24 13:12:06 -03:30
Markus Uhr
ff4603d81f
Bugfix: redraw TiaOutputWidget on savesnap when executing in a script.
2017-11-24 13:12:06 -03:30
Markus Uhr
5b207618c8
Add debugger commands to manipulate controller state.
2017-11-24 13:12:06 -03:30
thrust26
1a7dff416a
missing files added to project
...
RadioButtonGroup added
2017-11-24 14:25:34 +01:00
thrust26
5d0bc45a09
refactored RadioButtonWidget into own class
2017-11-24 12:33:22 +01:00
thrust26
44d6cf15a0
RadioButtonWidget added
...
disabled CheckboxWidget still shows status
2017-11-24 11:23:45 +01:00
thrust26
63f8605977
made "tia.zoom" hotkeys toggle settings temporary only
2017-11-23 23:40:37 +01:00
thrust26
d6680a681f
made "color loss", "stats" and "grab mouse" hotkey toggles temporary only
...
added messages for "grab mouse" toggle
updates doc for "grab mouse" toggle
2017-11-23 22:13:37 +01:00
thrust26
b7794c6e64
minor fix and some cleanup to Developer Dialog
2017-11-23 12:00:18 +01:00
thrust26
e18474a5e9
frame stats added to Developer Setting ("dev.stats" now)
2017-11-23 11:35:28 +01:00
thrust26
72710aa323
manual color-loss toggling fixed
2017-11-23 10:46:22 +01:00
thrust26
cddf4f2f2a
3rd attempt to get Challenge HES right. :)
2017-11-23 08:32:28 +01:00
thrust26
ac96f18508
updated note for Challenge (NES)
2017-11-23 08:23:32 +01:00
thrust26
66a2372512
removed special startup bank for "Challenge (HES) (PAL).bin" (2 in 1 ROM)
2017-11-22 22:26:22 +01:00
thrust26
984ae0156e
preparation for RewindManager parameters
2017-11-22 20:07:55 +01:00
thrust26
89defd6487
more debugger disassembly formatting
2017-11-21 17:37:54 +01:00
thrust26
956f284a51
Debugger UI tab refactored (font size selection and debugger size)
...
debugger disassembly reformatted
2017-11-21 16:30:33 +01:00
thrust26
cc45822816
missing ellipsis char to some fonts added
2017-11-21 11:45:28 +01:00
thrust26
7a65a4445b
replaced "..." with ellipsis char
2017-11-21 11:01:32 +01:00
thrust26
8379b0af1a
better debugger disassembly space utilization
...
changed developer dialog/debugger UI label
2017-11-21 10:57:50 +01:00
thrust26
2efeb6cdb7
fix for temporary macro labels ('...$')
2017-11-21 09:25:12 +01:00
Stephen Anthony
4228093638
Final header changes, and bumped version #.
2017-11-20 21:39:06 -03:30
Stephen Anthony
e0de7613e5
Final header changes for 'src/gui'.
2017-11-20 21:33:44 -03:30
Stephen Anthony
be6250b29b
More header fixes (this time in 'src/gui').
2017-11-20 15:58:32 -03:30
Stephen Anthony
5b6fabcf3c
Header file fixes for remaining files in 'emucore'.
2017-11-20 15:27:05 -03:30
thrust26
34dce48414
Update help for trap.../breakif and savestateif
2017-11-20 18:54:10 +01:00
thrust26
da69311de5
savestateifs with identical conditions toggle each other (like breakif and trapif)
2017-11-20 16:18:20 +01:00
thrust26
c996460bbe
identical breakifs conditions toggle each other
...
renamed command in TIA display context menu "Toggle..."
added messages for TIA display context menu
2017-11-20 16:13:48 +01:00
thrust26
01d3a29f66
conditional savestates in debugger added
2017-11-19 18:52:27 +01:00
Stephen Anthony
b098f29e9d
Re-create DefProps.hxx from stella.pro.
...
Hmm, it seems I can do this from the Git bash terminal in Windows; cool.
2017-11-19 11:20:55 -03:30
thrust26
9f9b1df2c7
properties for 'Bumper Bash' updated
2017-11-19 15:04:14 +01:00
Christian Speckner
2f8ddb2f7a
Fix build on clang.
2017-11-18 19:57:22 +01:00
thrust26
73a8938abf
fixes for developer settings
2017-11-18 18:22:10 +01:00
thrust26
b564c1c85a
"Drive unused pin..." option removed from debugger
...
code cleanup for RAM/CPU randomization
2017-11-18 16:59:17 +01:00
thrust26
ceb58b8b71
PAL color loss and tv.jitter option removed from Video Settings, only one option (dev.) left
2017-11-18 16:36:15 +01:00
thrust26
cdd4b4bf39
UA added to randomized startup bank types
2017-11-18 14:53:27 +01:00
thrust26
a14fa6a3ea
- missing checks for developer settings added
...
- "dev.console" selection move to developer settings
- random startup bank implemented for some (tested!) bank switchings
- Options dialog button added in debugger
2017-11-18 13:14:27 +01:00
Stephen Anthony
40c831e6e6
Updated OSX project file for recent class additions.
2017-11-17 23:31:49 -03:30
Stephen Anthony
042b6bc2fa
Added missing class to VS project file.
2017-11-17 17:37:17 -03:30
Stephen Anthony
522018d636
More header file reorg/optimization.
2017-11-17 13:30:17 -03:30
thrust26
2dde406bb9
some minor cleanup and preparation for more options
2017-11-17 17:26:42 +01:00
thrust26
78f2211f1f
Debugger UI settings moved form UI to Developer Settings dialog
2017-11-17 17:02:24 +01:00
Stephen Anthony
fbedb3beda
Fixed minor formatting issues, and adapt for header reorganization.
...
Also removed reference to header file on Thomas' local system :)
2017-11-17 11:41:52 -03:30
thrust26
340c974503
fixed project settings
2017-11-17 14:15:11 +01:00
thrust26
6408a2df40
Developer dialog added,
...
- some options are duplicated with ".dev" prefix
- other renamed with ".dev" prefix
2017-11-17 14:04:40 +01:00
thrust26
41810298a7
Merge branch 'master' of https://github.com/stella-emu/stella
2017-11-17 14:02:27 +01:00
thrust26
b5c9842716
DeveloperDialog added
...
- developer only options now have "dev." prefix
- options relevant for players and developers are duplicated ("dev." prefix)
2017-11-17 14:02:10 +01:00
Stephen Anthony
c2946e58d6
Header fixes take 4; 'debugger/gui' classes.
...
Note that this one adds a new file, and I haven't yet updated the
Windows and OSX builds (so they won't compile for now).
2017-11-17 09:03:03 -03:30
Stephen Anthony
39f839021e
Header fixes take 3: cheat, common, debugger directories done.
2017-11-16 14:29:34 -03:30
Stephen Anthony
4610cae973
Merge branch 'master' of github.com:stella-emu/stella
2017-11-16 13:31:54 -03:30
Stephen Anthony
a7f1764411
Second pass at optimizing header files, to eliminate cascaded compiles.
2017-11-16 13:31:20 -03:30
thrust26
64c6e97db3
RewindManager::getUnitString() refactored
2017-11-16 14:49:41 +01:00
thrust26
524548a08a
attempt to remove warnings
2017-11-15 23:41:15 +01:00
thrust26
838b277c0a
myNTSC removed, defined by number of scanlines now
2017-11-15 11:03:39 +01:00
Stephen Anthony
632fffcb49
Refactor a few classes to not include so many headers.
...
Including many header files in other headers leads to a cascade of
compiles when changing one of them.
Note that this potentially makes some inline methods non-inline
(although current idea on this is that the compiler can make
much better choices for when to inline). So we may need to check
performance after this work, to make sure no regressions happen.
2017-11-14 21:52:23 -03:30
thrust26
6970389ff5
rewind states cleared and continuous rewind mode disabled when exiting ROM
...
(@sa666666 please check if that's the right way to do it)
2017-11-14 16:29:24 +01:00
thrust26
d24f962909
'Desert Falcon (PAL)' ROM properties updated, display format is PAL
2017-11-13 21:01:58 +01:00
thrust26
0dddb93fb6
rewind/unwind command output improved
2017-11-13 16:02:15 +01:00
thrust26
92a8747eb3
rewind/unwind commands enhanced with optional number of levels parameter
2017-11-13 15:07:48 +01:00
thrust26
3f77b95b3b
preliminary state compress code added (disabled)
2017-11-12 10:14:42 +01:00
Stephen Anthony
bfc7574cd7
First pass at implementing state save/replay using an iterator-based approach.
...
Saving a state and later rewinding it now works, but still TODO is unwinding
(ie, replay in the future vs. in the past).
For now, debugging info remains, and some methods are commented out. This
code is mostly for Thomas to inspect and make sure we're on the right track.
2017-11-11 22:15:28 -03:30
Stephen Anthony
c18469c2a3
Fix minor compile warnings.
...
Sync BSTypes in Stella and harmonycart, fixing a bug in the process
(entering non-uppercase extensions for '-bs' would result in an error).
2017-11-10 21:37:11 -03:30