modes while still in the emulation (without restarting the currently
running ROM). Added the 'Alt g' key to do this, but it can also be
activated from the VideoDialog menu.
Except for the 'framerate' option, all video related changes can now be
done dynamically from within Stella. They can still be specified on the
commandline, but that's no longer required (the framerate option will
be fixed shortly).
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@401 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
class is used when compiling Stella without any sound support whatsoever.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@400 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
as little space as possible.
Added ability to enable/disable sound from within the emulation. So you
no longer *have* to specify it on the commandline (but you still can, if
you want to).
Changed makefile to conditionally compile sound support. It makes the app
approx 15KB smaller, if anyone really wants to do that ...
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@399 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
(and works) as intended.
Converted many of the OpenGL functions back to similar code in the
corresponding software methods. So OpenGL mode can now draw text
and bitmaps in GUI mode. It just wasn't worth the effort to separate
the rendering so much, and all we lose by going back is accelerated
alpha-blending. Since it's just eye candy anyway, I don't really care.
This is in anticipation of merging the software and OpenGL modes. Once
that's complete, both FrameBuffer classes will be much smaller, and
we'll be able to switch between software and OpenGL modes while the
program is running. This is one of the last 'features' that is
currently only accessible from the commandline. My goal is that one
*shouldn't* have to use the commandline to change options, but the
ability will still be there if they want to.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@398 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
Integrated some changes from the ScummVM 0.7,1 codebase wrt the
scrollbar widget.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@397 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
key binding may change; I just wanted to see how it would work. You can
do some funky stuff by changing those registers :)
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@396 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
disable the various bits in the TIA (P0, P1, M0, M1, BL, PL). The code
works, but isn't yet tied to a key event.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@395 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
EventMappingDialog interface a little more user friendly by enabling
PageUp/Down and Up/Down keys to scroll the list.
Then, it's on to the MiscDialog stuff. And later, after a little more
code cleanup, some serious work ROM launcher.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@393 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
EventHandler class now contains string mappings for all possible SDL
keys, which should hopefully take care of our international users.
Added 'Map', 'Erase' and 'Cancel' buttons to the EventMappingDialog.
They still don't do much, but it will now be an easy matter to add the
hooks into EventHandler. You *are* able to scroll through the list
and see which keys are bound to which actions, though.
This approach is *much* cleaner than in previous code. Now the EventHandler
actually does the remapping; the EventMappingDialog only collects the
events and associated actions and passes them on. This is much cleaner
than before, when (for example) the FrameBuffer was doing remapping! What
the hell did the framebuffer have to do with event mapping???
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@391 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
but the hooks are there for it.
Added ScrollBar and ListWidget GUI objects. These will form the basis
of the new ROM launcher, as well as the memory lister in the debugger.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@390 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
EventHandler class. Eventually, *all* event-related stuff will move
to this class (which makes sense, considering its name).
Removed all references to joystick stuff for now. It will be re-added later.
Re-enabled snapshot support.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@389 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
Also took the opportunity to clean up the FrameBuffer classes. There
was a lot of cruddy code there ...
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@387 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
in the stella.pro file for the particular game.
Added Help Dialog, which gives a description of the most commonly
used non-remappable commands. This still has to be adapted for OSX
shortcuts.
Finished the Sound Dialog. Still TODO is remove the requirement for
restarting Stella before sound can be disabled.
All that's left now are the Miscellaneous and Event Remapping Dialogs.
The later will be the hardest, but it will also work a lot better than
in previous versions of Stella.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@386 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
Currently, some settings don't take effect until Stella restarts.
It's my goal to eventually eliminate many of these. so Stella
is truly no longer a commandline program.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@385 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
get out of sync when the user changed a settings with a hotkey.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@383 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
actually draws the Options Dialog box. No events are handled yet, but
at least it's a start.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@380 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
- Finally able to quit a game and start another within the same
program invocation (Escape quits current game, Ctrl-Q quits emulator)
- More tightly integrated SDL into the codebase. It's about time we
make use of SDL exclusively, and possibly speed up the code.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@374 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
Rearranged some things from Settings to OSystem, since many things in the
Settings class weren't actually related to settings at all.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@372 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
A major restructuring of the framebuffer code, which will eventually
result in an internal GUI and ROM browser ALA ScummVM.
The codebase is severely broken ATM. It compiles, but that's about it.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@366 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
putting all documentation in the main HTML file, since it's too time
consuming to maintain separate files that say the same thing.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@364 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
representing whether a refresh should be done immediately or in the
next frame.
Do an immediate refresh just before taking a snapshot, to make sure
any onscreen messages aren't taken as part of the snapshot.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@362 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
a 1 cycle delay associated with modifications to VBLANK. Also modified
the delay values associated with changes to NUSIZ0 & NUSIZ1 to fix
issues with Title Match.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@355 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
For OS's that don't support it, use the maximum resolution possible.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@354 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This will allow to figure out exactly how big a window can be on the current
screen. Also, it will mean I can finally change the 'gl_fsmax' option to do
what I originally meant it to do; maximize to the desktop resolution when
doing fullscreen OpenGL.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@352 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba