Commit Graph

1063 Commits

Author SHA1 Message Date
markgrebe 4276b013c7 Changes for Menu Enabling/Disabling and sending events instead of keypress from the Menu code.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1075 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-04-05 02:18:58 +00:00
markgrebe 667959a6e5 Update to Project file for 2.2 release.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1074 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-04-05 02:18:20 +00:00
stephena 25cab9fbe1 Fixed bug in setting snapshot naming type from the GUI.
Updated some properties entries according to the info from AtariAge.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1073 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-04-04 23:15:43 +00:00
stephena 059afc0d8e Fixed long standing bug with comparitive searches of RAM in the debugger.
Since it didn't really work, it makes me wonder exactly how many people
are using these features (since they certainly aren't reporting the
bugs).


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1072 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-29 13:53:00 +00:00
markgrebe cf8b09d3d2 First attempt at menu enabling/disabling, still need to check that I have the settings correct.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1071 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-29 04:45:10 +00:00
markgrebe 1a18b354c2 Added Outlet labels to menu items in preperation for functions which will enable/disable them in the different modes (emulation, launcher, etc.)
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1070 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-29 04:02:47 +00:00
stephena 46a44d93e9 Added paddle threshold/non-jitter code to Stelladaptor paddle handling.
This code basically comes from z26, and is used to eliminate rapid
left/right movements which result in visual jitter.

Added 'pthresh' commandline option to set this threshold, which defaults
to 600.  I haven't decided if I should add a GUI option for this yet.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1069 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-27 21:06:44 +00:00
stephena 11f3395f2d Added state change notification to OSystemMACOSX. Eventually, this will be
used for (de)selecting certain menu items when in different modes.  But
somebody else will have to do that part, since I don't have enough experience
in OSX :)


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1068 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-27 16:00:37 +00:00
stephena 5a7df4c4cb Added state and pause change notification methods to OSystem, so that
OSystem-derived classes can override these methods and deal with the
changes (much more useful than having the OSystemXXX classes constantly
poll the eventstate, etc.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1067 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-27 12:52:19 +00:00
stephena 34f5abb314 Some code restructuring right across the board. I also reverted much
of the earlier palette changes, since it turned into a can of worms
I don't want to open.  I think we'll be ready for a new release soon.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1066 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-25 00:34:17 +00:00
stephena f89d7d71e3 Some palette/framebuffer updates, and some work on making pause state
be in only one class (vs. spread over three like it is now).  I'm
sure the code is broken on every platform but Linux; I'll get to it.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1065 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-24 19:59:52 +00:00
stephena 8fa78c60c3 Fixed some font issues in the debugger and cheatcode dialogs.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1064 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-23 16:16:33 +00:00
stephena 8dbaa8e729 Minor fix for OSX compilation.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1063 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-22 21:13:36 +00:00
stephena 4eb94a3a2b Only save the cheatlist file (stella.cht) when something has changed.
During development, sometimes Stella would crash, and for some reason
take the cheatfile contents with it.  Now, at least, this should
occur very rarely, since cheats won't be changed most of the time.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1062 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-22 15:12:02 +00:00
stephena baedc94f5e Removed some debugging code I forgot in the last commit.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1061 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-20 13:23:13 +00:00
stephena 0158d5ca95 Fixed 'Go Up' issue in Windows. Hopefully this doesn't break the Linux
code.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1060 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-19 23:11:31 +00:00
stephena 8cff84b4d2 Yet more fixes for the ROM launcher and browser. Make sure the directory
is redrawn, even if it's empty in rom browse mode.  Disable the 'Go Up'
buttons when there's no parent directory (wasn't absolutely necessary,
but it gives some nice visual feedback).


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1059 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-19 22:06:20 +00:00
stephena 893644c703 Removed all references to stella.pro locations from configure and Makefile
scripts, since the properties are now built in, and will never need a
global storage directory.

Reworked the ROM launcher again, by moving the 'Reload' button to the
Launcher options dialog (by popular request from the GP2X forums).  The
'Go Up' button is now always present on the main launcher interface, but
is disabled when not in 'rom browse' mode.

Added a button to VideoDialog for the recently added 'tiadefaults'
functionality.  It defaults to off, which is the current behaviour in
Stella.  (De)selecting this item will require a ROM reload.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1058 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-19 20:57:55 +00:00
stephena de5af204cf Oops, some dead code I forgot in the last commit.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1057 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-19 18:18:32 +00:00
stephena 79c815afc6 Reworked overlaid messages in the framebuffer; you can now select the
region of the screen in a 9x9 grid (top/middle/bottom by left/center/right),
as well as the color of the message text.

Updated some strings on the ROM launcher, since it doesn't make sense
to 'Play' a directory.

Disabled display of 'Note' while in rom browse mode in the ROM launcher.
It ends up taking too much CPU time to parse all the ROMs in a directory
each time it changes, so there are now two options: (1) don't browse the
filesystem, and precompute the folder contents/see all the ROM info
or (2) browse the filesystem, allowing selection of folders, etc, but
not seeing ROM names and notes as defined in the properties file.  For
performance reasons, it's going to have to be an either/or thing.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1056 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-19 18:17:48 +00:00
stephena 0da30905ee Added commandline option (-tiadefaults) to ignore tweaked values for
TIA positioning, and instead use the defaults.  It seems some people
would rather see the image exactly as it was produced on the 2600,
blank space and all.  It defaults to off, which is the current
behaviour.  Eventually I'll add a GUI option to toggle this.

Fixed issue with built-in properties as suggested by Kostas.

Fixed bug in Settings class where certain settings weren't being
recognized from the commandline.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1055 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-19 00:46:04 +00:00
markgrebe 72d65e0350 Added binary .icns file.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1054 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-18 18:03:30 +00:00
markgrebe 74bb3ae9aa Removed .icns file, and will replace with binary file as this one was accidently added as a text file.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1053 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-18 18:02:47 +00:00
stephena e65d84ca3f Yet more FrameBuffer fixes. If I keep at this, the framebuffer overhaul
due in the next release will be already done :)


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1052 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-18 00:00:30 +00:00
stephena b958c82bc1 A few fixes for the recent framebuffer shuffle; this is what I get for
messing with it.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1051 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-17 23:06:28 +00:00
stephena a6ad33c40b Removed all reference to 'user.pro', in favour of the previous (to v/2.0)
functionality.  The new scheme is as follows:
 -  Per-user properties are stored in stella.pro, which is located in
    system-specific directories (homedir for UNIX/POSIX systems, currentdir
    for Win32 systems).
 -  Completely removed concept of a global properties file, since that
    functionality is now included in Stella directly.
 -  Retained the ability to use an alternative properties file, in which
    case the per-user one isn't used at all, and any entries in it override
    the built-in defaults.

Removed all reference to 'system' vs. 'user' config files, for much the
same reasons as above.  As above, config files are stored in
user-specific places depending on platform.  There is no longer a
system-wide config file.  This made sense when Stella didn't have built-in
defaults and relied on such a file, but that's no longer the case.

Sorry for any confusion this causes, but it was causing even more confusion
for users.  And now we can distribute Stella has a single binary which
doesn't depend on any external files (but will still use them if they're
present).


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1050 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-17 19:44:19 +00:00
stephena dfd7faf454 Fixed crash when exiting from the debugger while in OpenGL mode.
Temporarily changed colour of hightlighted text from pure green to
pure blue for the GP2X port.  The next major release (2.2) will have
a GUI palette selector for this.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1049 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-16 16:10:47 +00:00
azaballa a8f5530162 Reverted the Readme in light of a fix coming down the pipe.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1048 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-15 23:37:20 +00:00
stephena 7606af4b3a Fixed bug/crash with attempting to create a Console if the ROM image
dimensions are larger than the current screen.  In the process, this
restructuring will allow messages to be shown in states other than
emulation mode.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1047 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-15 23:14:01 +00:00
azaballa fcc001964e Enabled rombrowser by default for the GP2X.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1046 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-15 21:39:48 +00:00
azaballa ba06245f7a Updated readme to reflect GP2Xs current limitation on running PAL ROMs.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1045 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-15 08:58:09 +00:00
azaballa a74b9346d1 Corrected the known bug report.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1044 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-13 06:10:45 +00:00
markgrebe 5670606a54 Changed project script to copy correct file after stella.html was renamed to index.html.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1043 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-12 20:48:37 +00:00
markgrebe 0958596b61 Update version strings for release of a Beta version of Universal Binary version to a few testers.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1042 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-12 03:15:23 +00:00
markgrebe b45bcbe750 Fixed issue with copying help files into Deployment directory.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1041 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-12 03:13:37 +00:00
markgrebe de380d267c Changed Bundle Identifier back to 2.1, we don't need a new Preferences version for 2.1.1.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1040 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-12 03:10:29 +00:00
stephena c7863e1f56 Cleaned up some text formatting, and removed references to stella.pro
for installation (it should no longer be included with release packages).


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1039 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-11 21:34:37 +00:00
stephena 7c644f92b8 Fixed crash when adding one-shot RAM based cheats.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1038 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-11 21:22:47 +00:00
stephena ff639c7b4f Added cheatcode stuff to OSX port.
Cleaned up some errors in unzip code.

Removed some OSX stuff that didn't need to be in CVS.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1037 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-11 19:56:36 +00:00
markgrebe 5cf71c5afe Updated Mac Application Icon, and added document icon, both contributed by a user.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1036 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-11 17:00:52 +00:00
stephena 7fe5bc113d Update VC.net project file.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1035 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-11 01:22:25 +00:00
markgrebe 2bc37efa2a Fixed typos in Mac conditional compile code. myRelPrevButton was myRel_PrevButton.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1034 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-10 01:20:04 +00:00
markgrebe 14b289d327 Ooops. Forgot to check in the project file last night after finishing the Xcode 2.2 changes.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1033 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-10 01:14:47 +00:00
stephena f6c8c52684 Made GameList use quicksort instead of selection sort, resulting in approx.
12-15X speedup on large folders.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1032 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-10 00:29:46 +00:00
stephena 0578b45112 More work on the ROM browse feature. It can now be dynamically (re)set
from within the Launcher options.  The previous 'Reload' button now
serves a dual role.  While in browse mode, the button is renamed as
'Go Up' and serves as a previous directory command.  While not in browse
mode, it's renamed as 'Reload' and reloads the current file-to-propname
mapping.

Also added 'rombrowse' commandline argument (true/false) to select either
browse mode (true) or not (false).


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1031 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-09 17:04:01 +00:00
markgrebe 6bfabf0e15 New file created by Xcode 2.2 Project Upgrade.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1030 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-09 03:34:02 +00:00
markgrebe bb72ce44f1 Checked in project which builds a Universal Binary build of libpng. libpng is not distributed with the Mac, and the Fink versions, etc, are not yet Universal Binary, so this subproject was added to build the version of the library we are currently using.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1029 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-09 03:27:02 +00:00
markgrebe 477dc10fd9 Added new Xcode 2.2 Project File. This enables Universal Binary builds, and will be the project file used going forward.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1028 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-09 03:22:17 +00:00
markgrebe 78fbce6545 Correct old version strings which were still showing 1.4, as reported by a user.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1027 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-09 03:17:07 +00:00
markgrebe 379a420a7a Fix array overflow that was occuring in loadConfig(). This showed up in the new Xcode 2.2 build, but it only crashed in Development mode, not Deployment, most likely due to the optimization.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1026 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-03-09 03:16:30 +00:00