Commit Graph

900 Commits

Author SHA1 Message Date
urchlay 92646c9cd8 Updated SlackBuild version number and made it build with GL by default.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@860 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2005-10-23 23:47:21 +00:00
urchlay 1cff8a79af Added stella.SlackBuild script to build binary Slackware packages.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@859 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2005-10-23 23:15:33 +00:00
stephena 8247e85e30 Updated RPM spec file with latest changes from PLF. I'm determined to
keep it all in one file, and not have to maintain separate SPEC files
for each RPM distro.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@858 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2005-10-23 22:56:13 +00:00
stephena af302fa28e Added InnoSetup script which can create a self-extracting archive and
installer for the Win32 port.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@857 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2005-10-23 18:42:08 +00:00
urchlay 8dcf950087 Symbol file loading can now handle UNIX (\n), DOS/Windows (\r\n), or
Mac Classic (\r) line terminators, on all platforms.

Loading a symbol file now makes the ROM widget re-disassemble, so you can
actually see the symbols...


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@856 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2005-10-23 15:54:55 +00:00
stephena 8ef299f67e Fixed problems with 'keymap' and 'joymap' lists when new events are added
to Stella.  The total number of possible events is now prepended to these
lists, and this number is checked when reloading Stella.  So if the number
of events in Stella changes, the defaults are used for key and joy mappings.
Note that under certain circumstances this algorithm can still be fooled.
Specifically, if we add a new event and remove another, the total count
will remain the same, but the list should be invalidated.  With the
current code, this invalidation won't happen.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@855 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2005-10-23 14:51:51 +00:00
stephena 2b8cf12774 Added icon file for the Win32 build. This means that an icon will be
compiled into Stella, and Stella will be shown with an icon in Windows
Explorer, etc.

Modified Makefile to create a Win32 binary package from the commandline.
You can do 'make win32dist DISTNAME=stella-release', and a package
named 'stella-release' will be created.  Still todo is get zip support
working, so it can be zipped directly from the Makefile.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@854 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2005-10-22 20:33:57 +00:00
stephena b3610f44a5 Fixed 'debugheight' argument and associated 'height' debugger command
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
2005-10-22 15:43:17 +00:00
stephena c8599f2bc0 First pass at making default debugger area smaller. It still doesn't
work correctly though.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@852 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2005-10-20 19:01:58 +00:00
stephena 2b88f87049 Fixed bug whereby ROMs that didn't have a properties entry were named
'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
2005-10-19 00:59:51 +00:00
stephena 064eda4e58 Some obvious fixes.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@850 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2005-10-18 19:04:56 +00:00
stephena 42b4366ee3 Some fixes for bugs mentioned on AtariAge. I only wish these had been
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
2005-10-18 18:49:46 +00:00
stephena d428b117e4 Final updates for the 2.0 release.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@847 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2005-10-16 21:16:24 +00:00
urchlay 2d31579de7 Added cheat code entry to list of keystrokes.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@846 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2005-10-16 20:27:24 +00:00
urchlay ebce420d91 Added cheat code documentation.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@845 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2005-10-16 20:24:43 +00:00
urchlay 42c6d8e9b3 Added mention of Armin's name to stella.html, for his help with 3E
bankswitch support.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@844 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2005-10-16 20:00:22 +00:00
urchlay f09c1b39e7 Debugger documentation updated for release.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@843 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2005-10-16 19:53:35 +00:00
knakos 00b702cdc0 Massive update of the wince port. Works almost correctly on smartphones, pocket pcs need some testing.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@842 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2005-10-16 18:36:13 +00:00
stephena 330c27224c Fixed huge bug where 'Display' properties (width, height, xstart, ystart)
were being incorrectly saved as 'Cartridge' properties.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@841 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2005-10-15 22:30:29 +00:00
markgrebe fabab97205 Removed OpenGL filter switch from Mac menu
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@840 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2005-10-15 19:02:15 +00:00
urchlay d990105876 Added documentation for the ROM Widget
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@839 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2005-10-15 18:51:16 +00:00
markgrebe 9c6ce5e345 Updated version number in project file for release
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@838 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2005-10-15 18:44:11 +00:00
stephena 14b9ab6bfd Some last minute updates to the documentation.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@837 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2005-10-15 17:40:39 +00:00
urchlay 4d79a9833c Use native path separator for autoexec.stella, instead of hard-coded /
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@836 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2005-10-15 17:35:16 +00:00
urchlay 37724f1b00 Added support for executing "autoexec.stella" batch file on debugger start.
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
2005-10-15 16:38:17 +00:00
stephena 066331d082 Updated VC.net project file for 2.0 release.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@834 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2005-10-15 16:06:33 +00:00
markgrebe 7b92378c37 Updated Xcode project file after addition of AudioWidget
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@833 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2005-10-15 04:05:49 +00:00
stephena a3b00308c0 Fixed lag in mouse/paddle emulation when grabmouse is enabled. In a
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
2005-10-14 14:07:24 +00:00
stephena c92414107f Updating the PC in CpuWidget area now moves the PC indicator in ROM area.
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
2005-10-14 13:50:00 +00:00
stephena e3d8eef7ac Added 'Audio' tab to debugger. Currently, it only consists of the AUD
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
2005-10-13 18:53:07 +00:00
stephena 54050ead3d Made sure bankswitching is enabled when a new Cartridge is created.
Brian, you can ignore my last email on this.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@829 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2005-10-13 02:05:36 +00:00
urchlay 069ccc4d24 Removed stray debugging output
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@828 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2005-10-13 01:13:20 +00:00
urchlay 4233fa3ae4 RomWidget now saves cart bankswitch state before disassembly and
restores it afterwards. Also, fixed the debugger "bank" command.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@827 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2005-10-13 00:59:30 +00:00
urchlay dbf97c41c6 Work in progress: bank-lock support for (most of the) cartridge types.
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
2005-10-12 03:32:28 +00:00
stephena ceec3433f4 Fixed TIA partial scanline updates when stepping/tracing. Now a
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
2005-10-11 19:38:10 +00:00
stephena 568713ee45 Fixed 'delete last word' in PromptWidget.
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
2005-10-11 17:14:35 +00:00
urchlay c0f1ab9cc7 Frame greying seems to be working correctly now, except for Ms. Pac-Man
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
2005-10-11 03:22:43 +00:00
stephena eeb5f66848 More documentation updates.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@822 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2005-10-10 17:31:14 +00:00
markgrebe a30cc80f51 Updated Xcode project file
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@821 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2005-10-10 03:20:10 +00:00
stephena 2633bd00db Updated VC.Net project file.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@820 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2005-10-09 23:12:49 +00:00
stephena 4a8c980b9b Yet more updates to documentation.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@819 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2005-10-09 22:08:31 +00:00
stephena 2c5cc1b566 Updates to documentation and internal About/Help dialogs.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@818 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2005-10-09 21:55:53 +00:00
stephena 446c2cdd7d Made sure ListWidget can take advantage of the new line editing
functions in EditableWidget.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@817 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2005-10-09 20:49:57 +00:00
stephena 7ec2daa9f1 Added some bash shortcuts to EditableWidget. These are the same as in
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
2005-10-09 20:41:56 +00:00
stephena 5ef87c8065 Added fixes for WinCE port from Kostas Nakos. There may still be some
things missing though.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@815 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2005-10-09 17:31:47 +00:00
stephena b7d13671cd Implemented "Save ROM" functionality in context menu of RomWidget.
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
2005-10-06 17:28:55 +00:00
markgrebe 225049893a Oops. Forgot I need to change some compile settings. Reverting to gcc 3.3 instead of gcc 4.0, since C++ on 4.0 will not work with OSX 10.2, and I want to maintain compatibility for this release
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@813 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2005-10-05 03:35:22 +00:00
markgrebe b43cff5de8 Updating Xcode project file for recent changes.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@812 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2005-10-05 03:25:37 +00:00
stephena 225acee6ba Fixed bug in EditTextWidget whereby cursor wasn't being placed when
clicking the mouse.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@811 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2005-10-04 22:46:52 +00:00
urchlay 655bf38f4f Work around linker weirdness in static Linux builds: have to swap the order
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
2005-10-03 13:40:48 +00:00