Commit Graph

1229 Commits

Author SHA1 Message Date
stephena 340b0770b2 Added 'fastscbios' commandline boolean argument, which affects how fast
the vertical bars are drawn in the SuperCharger BIOS roms.  When this is
set to true, each bar is drawn as fast as possible, to speed up loading
of SC BIOS.  Requested by various people on AtariAge.

Still TODO is add a GUI checkbox for this (figure out exactly where in
the settings this item belongs).


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1142 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-11-08 00:09:53 +00:00
stephena a4eea07b85 Added updated configure system from Debian package.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1141 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-11-06 16:27:46 +00:00
stephena 0c5beed367 Fixed another long-standing GUI crash in software mode when switching
to the debugger (incorrect width for DataGridOpsWidget).

Added 'autoslot' commandline argument.  When set, pressing the save state
button (by default F9) will save state to the current slot, then
automatically switch to the next higher slot.  I still need to add this to
the GUI settings somewhere.  This was a request from N. Strum of AtariAge.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1140 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-11-06 00:52:04 +00:00
stephena ba82080839 Turned ppblend into a ROM property named 'Display.PPBlend', which means
that blending is now per-ROM.

Added slider widget to GameProperties dialog to change the phosphor
blend amount.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1139 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-11-04 19:38:25 +00:00
stephena 1fd458c9e9 Oops, this code will only work in SDL 1.2.11, and I haven't added logic
to test for that version yet.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1138 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-11-03 16:55:44 +00:00
stephena 121f75314b Scaler support is now selectable from configure, and defaults to off
(no more editing the configure script).  It's still not working, though.

Added more options to the AudioDialog settings, allowing to set output
and TIA frequency, and volume clipping.  These are the same options that
were always available on the commandline; they're now exposed to the GUI
as well.

Fixed segfault when launching Stella without a stellarc file.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1137 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-11-03 16:50:19 +00:00
stephena c7a073c6a2 Some configure work:
- removed TEXTURES_ARE_DIRTY logic, and just recreate the GL textures
    when a screenmode changes
  - enable checking for machine type and if nasm is available
  - logic to enable scaler mode only when in OpenGL mode (still not complete
    and defaults to off)

First pass at adding scaler code to OpenGL.  Still much work TODO,
but the C version is working correctly (asm is causing crashes,
haven't figured out why).  GL quad coordinates aren't properly
set yet, so the image always appears in the upper left corner, and
is not scaled to the window size.  CPU usage is also quite high,
but I'm on a 1GHz laptop with i950 GL, so that may explain it.

Fixed long-standing bug in software rendering, where switching to a
lower-res screen while a message is being displayed would cause a
segfault.

Large refactoring of mainSDL.  Specifically, OSystem now owns all
the subsystems except for Settings, taking responsibility for creating
and destroying them.

Properties fixes for 'Tomarc the Barbarian' and 'Gyruss'.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1136 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-10-22 18:58:46 +00:00
stephena e3b36b202c More work on the new scaler infrastructure, and a fix for incorrectly
positioned GUI elements in emulation mode (I was a little too eager with
code pruning).


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1135 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-10-16 01:09:00 +00:00
stephena 8925bf8b36 Fixed long-standing crash when switching zoom/scaler levels in the software
framebuffer.  Fixed getScaler() logic to only use scalers that are actually
available in a particular mode.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1134 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-10-14 22:17:27 +00:00
stephena db3ed5372d Added preliminary framework for using advanced scalers. Right now,
functionality is exactly the same as before; Alt-Equals goes to the
next valid scaler, and Alt-Minus goes to the previous one.

What were previously zoomed modes are now treated as scalers, named
'Zoom1x', 'Zoom2x', etc.  Various scalexx and hqxx modes will also be made
available.

For now, and probably forever, these advanced scaling modes will only
be available for OpenGL, since if you don't have a card that can handle
GL well, the scalers will probably be too much anyway.  Also, the advanced
scaling will not be available in UI mode, only OpenGL emulation mode.

The UI (Launcher, Debugger) and emulation modes are now scaled separately,
specified with the new settings 'scale_ui' and 'scale_tia'.  The 'zoom'
setting has been removed.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1133 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-10-14 20:08:29 +00:00
azaballa bffb697b34 Updated settings to default to /mnt/sd/ for ssdir and romdir system internals. Updated Readme to reflect latest button mapping and instructions.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1132 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-09-18 01:32:46 +00:00
azaballa 0bcfb0d280 Brought GP2X FSNode class up to date with the latest POSIX class. Removed MACOSX ifdefs.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1131 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-09-18 00:44:43 +00:00
azaballa f71c873c13 Added GP2X specific optimization flags. Just trying to squeeze everything I can out of the little guy. Also corrected a minor typo in the GP2X cross-compile check case.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1130 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-09-18 00:08:40 +00:00
azaballa a9bd44e66a Updated GP2X button mapping to reflect change in core code. Button mapping is now mode specific, menu or emulation mode. More updates to come soon. Sorry it took so long. ;-)
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1129 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-09-17 21:44:22 +00:00
stephena 6205ff2b69 Updated some UNIX/Linux build related items.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1128 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-09-08 14:35:21 +00:00
stephena 8a740e1605 Some updates for Win32 compilation. There are still some warnings being
generated by VC++ that I have to look into.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1127 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-09-08 00:44:19 +00:00
stephena 9ec836ea33 Fixed bug whereby properties loaded from the external file weren't being
used.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1126 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-09-06 21:51:15 +00:00
stephena a4107c8974 Added properties info for Andrew Davies early notBoulderDash demo.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1125 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-09-06 12:18:10 +00:00
bwmott 294df2414d The 6507's B flag appears to be tied to high so there's no way to
clear the flag.  This has been verified using a real 2600 by writing
a program which clears the B flag and then displaying the contents
of the status register.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1124 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-09-04 00:11:38 +00:00
bwmott ca78e39ca8 Added a flag to the 6502 code to track if the last memory access was a
read or not.  Also modified the TIA code so that if the last access
wasn't a read then it does not do a WSYNC operation.  This allows the
emubug.bin ROM to execute and report "2600" instead of "EMU".


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1123 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-08-31 02:31:29 +00:00
stephena ce28361930 A few more properties updates for Lady Bug ROM.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1122 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-08-29 16:09:34 +00:00
stephena 79b7372a83 Added properties info for 'Lady Bug' homebrew ROM. I still need to check
if this ROM supports stereo sound.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1121 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-08-29 14:04:06 +00:00
bwmott f5de7eff10 Modified the startup banks for the F4 and F4SC bankswitching methods
so that they start in bank 0 instead of bank 7.  Some homebrews have
been developed assuming bank 0 is the default.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1120 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-08-27 02:38:50 +00:00
bwmott 3df41044d8 Modified the handling of RESBL writes so that the ball output is not
delayed (i.e., new copy of the ball starts immediately if it is enabled)


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1119 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-08-12 02:42:09 +00:00
stephena 6d139cea9d Added some missing ifdefs so we can properly compile without ATARIVOX
support.  Changed the configure script to not build AtariVox support by
default, since it's still a work in progress (and requires extra code
that isn't in CVS yet).


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1118 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-08-11 12:50:22 +00:00
bwmott bf1399919f Modified code to #ifdef ATARIVOX_SUPPORT sections of code which are used
for the AtariVox support but not needed otherwise.  Also changed a forward
declaration of a struct which was declared as a class.  I'm currently
building without AtariVox support, however, it should work as before if
ATARIVOX_SUPPORT is defined.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1117 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-08-09 02:38:03 +00:00
bwmott 1888152955 Fix a bug related to the priority of P1 and M1 over the playfield on the
left side of the screen when score mode is enabled.  This was pointed out
by Darrell Spice, Jr. during his work on Medieval Mayhem.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1116 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-08-09 02:19:49 +00:00
stephena e55f4258b8 More pruning of the rsynth codebase.
Added stubs for 4A50 bankswitching scheme.  Autodetection of this cartridge
isn't working, and the actual class doesn't do anything!  But it's a start.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1115 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-06-12 14:12:52 +00:00
stephena 66861f2f95 Forgot to include the rsynth module.mk file in the last commit.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1114 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-06-12 00:11:12 +00:00
urchlay 228e7c1a5d It Talks!
...though not well (sounds like it's chewing gum, plus there are nasty
delays in gameplay).


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1113 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-06-11 22:43:55 +00:00
stephena 758a4ed3ff Some massive pruning of the rsynth codebase. Hopefully I haven't removed
anything that was necessary.

Changed AtariVox code to be a compile-time option, and integrated rsynth
code into the 'Stella build' style, with a module.mk file.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1112 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-06-11 21:49:10 +00:00
urchlay 815a111b25 Forgive the gigantic commit; I'm importing "rsynth". It's not really such
a big library, and it's not commonly installed anywhere, and it's GPL.

Actually, a good chunk of rsynth can be removed (all the stuff related
to perl modules and text-to-speech, which we won't need for Stella). I'll
prune it when I figure out exactly what I can keep...


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1111 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-06-11 07:13:29 +00:00
stephena 8c7469c0ce Added default axis events in UI mode.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1110 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-06-10 13:27:23 +00:00
urchlay 21ebade382 Added call to "ctags" to Makefile. Shouldn't cause any problems for
people who don't have ctags installed.

WIP debugger equate restructuring.

WIP AtariVox emulation. Not very far along yet, but at the moment,
we're able to read the speech data output by vox_test.bin and spit out
the phoneme values on stderr.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1109 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2006-06-09 02:45:11 +00:00
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