Commit Graph

1095 Commits

Author SHA1 Message Date
stephena 927a8cfd68 Possibly fix a bug where 'Alt-x' key combos aren't being passed to the
underlying Debugger widgets.  This is needed for some keyboard layouts
where normal characters are input using Alt key combinations.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1108 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-05-29 22:31:20 +00:00
stephena e1da0e1d4c Added repeat functionality to joystick axis and button events when sending
UI events, similar to multiple key events.  Still TODO is add support for
joystick hats, and make sure these changes actually work in the GP2X port.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1107 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-05-25 22:23:39 +00:00
stephena 7c4cb48c2e Fixed joystick axis bug in UI events whereby zeroing the axis was being
treated as an 'axis down' event.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1106 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-05-25 19:03:57 +00:00
stephena e327a773c4 Fixed issue with hiding messages, taking snapshots, and switching
rendering modes.  At times messages were shown when they weren't supposed
to be, and vice versa.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1105 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-05-24 17:37:33 +00:00
stephena 419a255cfb While in ROM launcher browse mode, change the current 'Note' label and
string to 'Dir', indicating the current directory.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1104 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-05-18 12:20:06 +00:00
stephena 6b9329adf1 Cleaned up a few FIXME's, and enabled joysticks to use the new UI event
mappings (not fully tested yet, since I don't have access to a joystick
right now).


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1103 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-05-15 16:21:27 +00:00
stephena 893716abcd Finally, we have CVS access back!!
Finalized remapping of GUI/menu events, and added an interface to change
these mappings from 'Input Settings'.

Fixed bug with taking snapshots having a previously overlaid message
being part of the image.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1102 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-05-15 12:24:09 +00:00
stephena ebf39cb52d More work on the remapping of menu/UI events infrastructure.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1101 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-05-05 18:00:51 +00:00
stephena e49e1f17e4 Huge GUI-related changes. The GUI in launcher/options/command modes
is now fully navigable via the keyboard be means of 'tab-like'
functionality.  This means that eventually systems without a keyboard
will also be able to navigate the interface without resorting to the
buggy joymouse code (which is soon to be removed).

Laid the infrastructure for remapping GUI events, whereby (for example)
a widget checks for Event::UISelect for 'doing its thing', vs. looking
at the Enter/Return key.  So widgets now respond to events, and events
can (eventually) be remapped to *any* device.

Currently, these UI events are as follows:
  UIUp, UIDown, UILeft, UIRight, UIHome, UIEnd, UIPgUp, UIPgDown,
  UIPrevDir, UINavNext, UINavPrev, UITabNext, UITabPrev, UISelect

At present, they're hardcoded to key events only, so pressing 'Return'
will send a UISelect, cursor up a UIUp, etc.  When the remapping code
is complete, *any* input will be able to send these events, and that
remapping will be distinct from emulation mode.  So, for example,
cursor up in GUI mode might generate a UIUp event, but in emulation
mode might generate a left joystick up event.

Modified 'tab' key while in emulation mode to only enter the options
menu.  Once inside the menu, the tab key acts as navigation between
elements, and exiting the options menu requires navigating to the
'Exit menu' button.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1100 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-05-04 17:45:25 +00:00
knakos 6596cbe94b bug in vga blits: out of bounds when width=160
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1099 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-04-30 11:05:23 +00:00
knakos 3c145ba8c7 follow 2.2
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1098 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-04-20 18:13:53 +00:00
knakos a3869dd772 kill backlight and fix init sequence for 2.2
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1097 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-04-20 18:12:58 +00:00
knakos 7c38e4a49b high resolution capable resource indicator
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1096 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-04-20 18:12:08 +00:00
knakos 0f87b26c10 correct init for romdir
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1095 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-04-20 18:11:25 +00:00
knakos 262d0e261f resolution reporting fix
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1094 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-04-20 18:10:56 +00:00
knakos 3716db2fce font workaround for 2.2
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1093 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-04-20 18:10:03 +00:00
knakos 8e26379e9a VGA support in mouse events and also fixed a bug in hotspot click when in menu
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1092 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-04-20 18:09:03 +00:00
knakos 8f006de311 VGA support in. also bitmap drawing in the interface.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1091 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-04-20 18:07:20 +00:00
knakos 27ccacf6f3 reflect 2.2 release
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1090 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-04-20 18:06:34 +00:00
azaballa 15c59cd8fd *** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1089 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-04-13 00:03:39 +00:00
azaballa 1bf762624d *** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1088 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-04-12 23:11:01 +00:00
azaballa 3fcb91a944 Doh... the code should be right now.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1087 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-04-12 23:07:16 +00:00
azaballa d479243207 Synced the tia and samplerate frequencies to 15700 to correct a sound error in Ms. Pacman.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1086 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-04-12 22:50:18 +00:00
stephena 13f5924721 Fixed issues with sorting ROMs in the ROM launcher. Moved to C++ STL
sorting, since it seems to be faster.  Fixed issue with directories
sometimes not being sorted correctly.

Bumped version number for next bugfix release.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1085 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-04-12 13:32:06 +00:00
stephena dc11eb4d5c Yet more package fixes.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1083 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-04-05 22:56:04 +00:00
azaballa 4b77f3e639 Updated readme to reflect version changes.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1082 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-04-05 22:41:05 +00:00
stephena ba0ba438a5 Updated package files for 2.2 release.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1081 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-04-05 22:33:41 +00:00
stephena 9dd1f10e4b Updated manual and txt files, and bumped version for upcoming release.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1080 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-04-05 16:06:59 +00:00
stephena 479a987b86 Fixed remaining debugger font issues (hopefully), and added GUI slider
for adjusting analog paddle threshold (used to eliminate jitter).


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1079 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-04-05 12:28:39 +00:00
markgrebe b6d4749146 Rechecked in non-corrupted version of Nib file.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1078 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-04-05 03:17:22 +00:00
markgrebe 27e1702671 Removed corrupted version.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1077 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-04-05 03:16:42 +00:00
markgrebe b6b2e99724 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@1076 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-04-05 02:31:26 +00:00
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