to correctly set the height of the Prompt/tab area in the debugger.
The new minimum height is 27 lines in the prompt, which corresponds to an
~ 700 pixel high window. This should fix the problems OSX users were
having with the dock taking up too much space onscreen in 1024x768 mode.
Changing the height from within Stella still requires a reload of the ROM,
and now a message is printed stating this fact. The GUI code is in need
of a minor overhaul so that resizing can be done automatically, without
requiring a ROM reload and also taking font size into account. This will
be completed for a future release.
Finally, the RomWidget is now also resized when the debugger height
changes, taking the extra vertical space into account.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@853 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
'Untitled' in the Stella main window, as well as when taking snapshots.
The actual ROM filename is now used if a properties entry isn't present.
Added profile entries for Swoops! (NTSC and PAL), thanks to vdub_bobby.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@851 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
reported before I did the release:
Added 'dirtyrects' commandline argument and also to the 'Video Settings'
dialog box. This determines whether to use SDL_UpdateRect() or
SDL_UpdateRects() in software rendering mode. Apparently, this has
to be configurable, since some Windows systems work well with one
or the other.
Fixed bug where pressing F12 (snapshot) without have a snapshot
directory defined caused a segfault.
Made ROM launcher ignore case when sorting ROMs. So lowercase names
are now embedded in the correct place, instead of being placed after
all the uppercase names.
Fixed ZIP ROM support when there are multiple items in a ZIP archive.
Stella now searches the ZIP file for the first file ending in either
'.bin' or '.a26' (not case sensitive).
Reverted window resize key combos for OSX back to 'Cmd =' and 'Cmd -'
to match the 1.4.2 release.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@849 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This happens before "$romname.stella" is loaded.
Fixed bug that caused the emulator to crash if either of the startup batch
files contained a "base" command.
Minor work on documentation (still in progress).
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@835 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
future release, this should be configurable from within the GUI.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@832 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
Disabled editing of banks when the ROM doesn't do bankswitching.
Fixed Shift-Tab key not being detected (and hence not being able to
reverse-tab through items in debugger).
Bumped version number to 2.0 and updated all documentation. Barring
anything major popping up in the next day or so, this is essentially the
2.0 release.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@831 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
registers, and they're read-only. This tab will be greatly expanded in
a future release.
Added a 'change bank' DataGridWidget to the ROM listing, and a
non-editable textwidget showing how many banks this cartridge supports
(just one for non-bankswitched ROMs).
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@830 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This will eventually be used to keep the RomWidget and prompt from
accidentally switching banks during disassembly/dump, when they hit
a hotspot.
Currently, the RomWidget is getting constructed before the Debugger has a
chance to lock the bank, so it isn't finished yet. Also, the prompt "bank"
command is temporarily broken (can read current bank, but not set it).
Thought I'd finish this tonight, but it's getting late...
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@826 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
step/trace will continue updating the TIA from the last position.
If we haven't entered 'scanline advance' mode yet, step/trace will
now do so. This was accomplished by moving all CPU updates to TIA, so
that the TIA device now throttles/controls the M6502.
There's now some code bloat in TIA, since there are three methods
updateScanline(), updateScanlinebyStep(), updateScanlinebyTrace() that
are very similar. But it works, and I'm satisfied to leave it alone
for now.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@825 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
Removed an ifdef from PromptWidget, and placed it in bspf.hxx.
Implemented showing the currently defined symbol for PC address
in CpuWidget.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@824 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
is still messed up. It's something odd the ROM is doing: I think it hits
VSYNC twice per frame... which no 2600 ROM should do, I thought...?
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@823 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
PromptWidget, so there's some code redundancy ATM. In the future,
PromptWidget should inherit from EditableWidget and automatically
gain all line editing capabilities.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@816 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
Modified InputTextDialog so that any error messages disappear once
new data is entered.
Fixed bug with ContextMenu where showing a dialog box (from the CMenu)
didn't work properly.
Removed redundant EditNumWidget class. It's functionality will be
handled by EditTextWidget eventually, when we add more comprehensive
error checking on input.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@814 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
of "-lz -lpng" when building statically (but NOT otherwise!). Means you
need "sed" installed to build a static binary on Linux, but that's not
much of a restriction (who would have make and gcc installed but not sed?)
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@810 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
although it isn't strictly needed for Stella itself (it's already
compiled in).
Added stella.spec file, which is used to generate a source RPM for
both PLF (Mandriva) and hopefully for all RPM distros as well.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@809 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
Pressing Escape exits the selection, and ignores any changes made.
Also, a mouse click must be done inside the widget for selection
to happen. Otherwise, it's treated as a cancel, and selection is
restored to original item.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@808 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
mouse' code in GUI mode is activated. This is deactivated by default,
since it could cause problems on systems that don't have joysticks
properly calibrated.
Added more descriptive names for Cartridge types in GameInfoDialog,
since I could never remember which ones were which.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@807 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
address resulted in a crash. This was caused by non-existent
error checking in DebuggerParser for this case. I've reworked the
method in question quite a bit, so I'm not sure if it's completely
bug free ...
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@806 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
now has the ability to show two columns of items, in cases where
there isn't enough vertical space to show them normally.
Completely finished the GameInfoDialog by adding 'Cartridge.Type'
for both loading and saving. With these changes, it should now
never be necessary to edit a properties file directly.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@805 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
to 'Shift left/right cursor', since Ctrl-Tab is usually an OS
reserved keystroke.
Fixed 'make install' command so it actually installs Stella. Further
testing is still required.
Fixed graphical glitch whereby focus rectangles weren't being
properly drawn around widgets with an attached scrollbar
(PromptWidget and ListWidget).
I only have 5 or 6 outstanding bugs left. After that, once the
TiaOutputWidget is complete, we'll be ready for a new release.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@804 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
So pressing 'OK' in that dialog will merge the properties into user.pro,
and doing a reload of ROM (Crtl-r) or exit/enter ROM will use the new
settings.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@803 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba