Commit Graph

1640 Commits

Author SHA1 Message Date
stephena 1a6ba81816 Final updates for 2.7.2 release. Let's see what I broke this time ...
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1663 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-26 21:25:43 +00:00
stephena edcbb7c1a7 Fixed major bug in ROM Audit functionality; files were being renamed
without any extensions.

Bumped version number to 2.7.2.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1662 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-26 21:16:06 +00:00
stephena a1aac4c11a A few minor syntax and API fixes.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1661 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-26 21:08:07 +00:00
stephena 16b065d941 Bumped version number.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1660 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-26 15:05:25 +00:00
stephena b51c9f97f8 One last documentation change for the 2.7.1 release.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1659 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-24 21:53:19 +00:00
stephena 241afb6715 Added pattern matching textbox to the ROM launcher. This works in
addition to the previously added FilterOptions (that code filtered
by filename extension, while this further filters by an actual pattern).
This is by request of several people in the AtariAge forums).


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1658 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-24 21:44:49 +00:00
stephena dec6efccdd Pass sound reference directly into the TIA class, eliminating the use
of pointers.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1657 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-24 18:17:34 +00:00
stephena 771108ad3b Determining whether we're in NTSC or PAL mode wasn't working for
detection of gl_aspectn vs. gl_aspectp.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1656 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-24 18:11:47 +00:00
stephena 5f595b60de Added '-gl_aspectn' and 'gl_aspectp' commandline arguments (and
associated UI items) to set the aspect ratio to use in NTSC and PAL
modes.  This replaces the '-gl_aspect' setting.

Hold-select/reset/button0 now work from the UI.

Grabmouse can now be set in the UI.

Changed status of the fix for ATI/OpenGL/sound from fixed to workaround.
Sound will work for the first ROM, but not for subsequent ones.  This
improves on the previous behaviour, where sound didn't work at all.

Bumped version to 2.7.1.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1655 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-24 17:32:29 +00:00
stephena 9d1020b79f Playing around with the sound start/stop logic a little, since it seems
that the fix for ATI cards only works for the first ROM.  I may mark this
down as a driver bug and be done with it (at least until I can find some
hardware to test it myself).

Upped the GL aspect ratio setting to a maximum of 120, due to a request
for aspect ratios greater than 100.  Still have to bugfix it, though;
it might cause some problems with the video modes.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1654 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-22 00:49:32 +00:00
stephena 9575440922 Updated OSX project files for recent TIA restructuring.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1653 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-21 17:02:31 +00:00
stephena 2480fff117 I just found out that for at least one person, starting audio before
video when creating a console fixes the sound not working issue in
OpenGL mode on ATI hardware in Windows.  It doesn't seem to break anything
else, so I'm going to leave it as the default, but the new commandline
argument '-audiofirst' can be used to reverse that logic, if necessary.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1652 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-21 15:32:15 +00:00
stephena 9aac9c579b Updated docs for eepromdir functionality.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1651 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-21 12:11:08 +00:00
stephena dea17160d5 The location of EEPROM files (actually, the parent directory) can now
be changed with the '-eepromdir' commandline argument as well as within
the 'Config Files' UI.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1650 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-21 12:03:17 +00:00
stephena 812c1bc941 Updated Win32 project files for recent TIA restructuring.
Fixed crash in displaying snapshot images.  Strange that I didn't spot that one in Linux.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1649 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-20 21:58:50 +00:00
stephena 831f4ac132 Relax restrictions on opening windows larger than the desktop when
WINDOWED_SUPPORT is defined.  This restriction really only applies
to hardware/systems where the desktop resolution is the absolute
limit on window size (and any larger could cause a crash).


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1648 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-20 21:01:28 +00:00
stephena 50e495b637 Updated various files for the 2.7.1 release, which will be next Monday.
I'm leaving it until then to make sure I catch any remaining minor bugs.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1647 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-20 18:29:06 +00:00
stephena 8ff96f0f9b When filtering filenames in the ROM browser, always ignore case.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1646 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-20 18:01:56 +00:00
stephena f07352623a Just attempting to figure out why initializing sound before video works
with OpenGL ATI cards in Win32, but the other way around doesn't.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1645 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-20 16:41:15 +00:00
stephena c1557037a5 Removed help for 'Emulation.HmoveBlanks' property, since it no longer
exists.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1644 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-20 16:33:06 +00:00
stephena 828dfe4661 Removed 'Emulation.HmoveBlanks' property from the codebase. The TIA
class was already ignoring it, so there's no need to keep it anywhere
else.  This property was used if one wanted to disable HMOVE blanking
in cases where it should be present.  However, since we're striving for
absolute accuracy in the TIA emulation, it really shouldn't be optional.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1643 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-20 16:21:29 +00:00
stephena f55a483f29 Fixed following bugs reported on AtariAge 'Stella 2.7 released' thread:
1)  Sound not saved from 'Audio Settings' dialog when launched from
    the ROM launcher.

2)  Sound not working in OpenGL mode in Windows when using ATI video
    card drivers.  Seems to be related to ordering of initialization
    of sound vs. video (sound needs to be started first).


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1642 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-19 21:19:59 +00:00
stephena 893c88fc4e Oops, looks like I lost something in the last merge.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1641 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-19 16:57:54 +00:00
stephena a9cb1308b2 K, now that release 2.7 is out of the way, I can move on again.
First pass at cleaning up the TIA class, in anticipation of the new
TIA infrastructure with improved HMOVE emulation.  This code has been
in need of a cleanup for some time now; there are commented TODO's
and FIXME's that are up to 10 years old!

Moved all static constants and tables into a separate TIATables class,
making the main TIA class much shorter and easier to understand.

TIA no longer uses or honours the 'Allow HMOVE blanks' ROM property;
further work will remove this from the codebase entirely.

Removed MediaSource abstraction and have the codebase use the TIA
directly.  It was probably a good idea to have this abstraction when
Stella was first written (in anticipation of multiple TIA
implementations), but seeing how that hasn't happened for approx.
13 years, I don't see it ever happening :)  Besides, we're paying a
price for that abstraction (certain functions can't be inline'd) for
no real reason.  Perhaps in the future, the M6502/M6502Low/M6502Hi
will experience a similar contraction.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1640 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-19 16:52:32 +00:00
stephena 64594bb252 OK, this is the final commit before the 2.7 release. I can say that for
a fact, since the other builds (other than OSX) have already been
uploaded.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1639 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-19 13:57:00 +00:00
stephena d8e262ddaf One final (minor) change for the Win32 Mingw compile. Luckily, it doesn't affect the other builds.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1637 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-17 15:14:46 +00:00
stephena c771f6caa2 Made the 'default' button in "Config Files" dialog generate path names
with the '~' character.

Bumped release date to Jan. 19 (Monday).  I'm sure I'll find something
else wrong in the next day or so, and I really don't want to have to do
a quick 2.7.1 release because of rushing.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1636 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-16 21:46:31 +00:00
stephena ab4d878e33 OK, the final commit before the next release (famous last words).
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1635 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-16 20:00:35 +00:00
stephena 35f5657db5 Made sure './' works as well (previously, only '.' worked).
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1634 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-16 19:37:29 +00:00
stephena 08b59c240a Well, it looks like I'll get 2.7 released tomorrow after all.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1633 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-16 19:10:06 +00:00
stephena 80b43a607e More fixes to the Win32 filesystem code.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1632 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-16 18:25:51 +00:00
stephena fabae5f02f Various path and filenames can now be stored with the '~' character; it
will be expanded to your home directory (whatever that may mean for your
OS) when necessary.

A few more fixes for the Win32 filesystem code.

Bumped version number back a little; we're still not ready.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1631 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-16 16:38:06 +00:00
stephena 473b640c75 More fixes for the filesystem handling in Windows. The characters '~\'
are now expanded the Windows 'My Documents' folder, similar to how '~/'
is expanded to $HOME in Linux/UNIX.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1630 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-16 15:13:46 +00:00
stephena 8d3c4fa642 I may as well forget trying to release for tomorrow; it's just not going
to happen.

Fixes to Filesystem handling, particularly for Win32.  The '~' symbol
is now recognized as 'My Documents' in Windows.

The '~' directory is now the default used if the one specified is
incorrect.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1629 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-16 14:57:53 +00:00
stephena 4981ce2158 I hope this is the last commit.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1628 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-16 12:09:19 +00:00
stephena 8817652bf5 Version updates for OSX release.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1627 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-16 11:28:48 +00:00
stephena 5a9ee8f7fe Damn, will these last minute changes never end?
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1626 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-15 23:21:44 +00:00
stephena 3be5878f15 Just picked up a compile error in Mandriva 2007.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1625 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-15 23:07:29 +00:00
stephena 8941475b2f Final properties update for the next release.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1624 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-15 22:45:13 +00:00
stephena f834f0dd06 And yet more updates; I've submitted two fixes for this section of code,
and I still missed this one :)


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1623 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-15 21:04:47 +00:00
stephena e170e097d1 Yet more documentation updates.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1622 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-15 19:05:27 +00:00
stephena 7d2c169204 Fixed all remaining dialogs that wouldn't quite fit in 320x240 'small'
mode.

More documentation updates for the impending release.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1621 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-15 18:45:23 +00:00
stephena a416a9c1dd Updated Changelog, preparing for the next major release.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1620 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-15 01:31:26 +00:00
stephena 6635b89a86 Oops, forgot this one.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1619 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-14 20:31:41 +00:00
stephena e745cd4343 Partially updated codebase to consider 320x240 as the absolute smallest
screen size that can be used; Stella will fail with an assert if this
isn't the case.  While in this 'small screen' mode, the maximum TIA
image is 1x, and the debugger isn't allowed at all.  Fonts will also
be made much smaller.  Still TODO is convert some dialogs that aren't quite
small enough (although they're all within 5-10 pixels of the correct size).

Fixed FrameBuffer so that requesting a video mode that isn't possible
will now fail gracefully (essentially, return a 'false' instead of
going ahead and creating it anyway).

Fixed error in debugger functions for difficulty switches; they were
reversed.

Added debugger pseudo-registers to documentation and debugger 'help'
command.

Fixed drawing of fonts in 24-bit software rendering (although I have
no hardware to test it on).


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1618 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-14 20:31:07 +00:00
stephena afe8477d36 More documentation updates, and removal of some dead code (FIXME/TODO
messages).


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1617 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-13 20:26:02 +00:00
stephena 8019e877ca Huge updates to the documentation, particularly to the debugger portion.
Many changes have been made to Stella since that document was first
written, and quite a few things are now documented for the first time.
This means the next release will (feature-wise) look a lot bigger than
it really is :)


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1616 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-13 14:45:34 +00:00
stephena bd278bc5bb Some cleanups to the TIA class. Made the various peek/poke addresses
use descriptive enum'ed names instead of raw numbers.  This has no effect
on the emulator, but certainly makes it easier on me to read it.

Fixed issue with paddle emulation in Activision Casino ROM.  In fact,
the paddle emulation feels better in other paddle games too.

We'll soon be ready for a new release.  I'm itching to start the TIA
rewrite, years after I said it would be done ...


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1615 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-13 01:18:25 +00:00
stephena b8320c2785 Added the following pseudo-registers to the debugger:
_fcount  : current frame count
  _cclocks : frame color clocks
  _vsync   : whether vsync is currently on (0 or 1)
  _vblank  : whether vblank is currently on (0 or 1)

Fixed issue with breakpoints starting the debugger causing a crash.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1614 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-12 15:11:55 +00:00
stephena 7800ae585d Added code to actually perform bounds checking on the TIA display
properties, and changed the lower bound on Display.Height (210).

Cleaned up some redundant TIA code.

Fixed crashes in RomInfoWidget caused by viewing images larger than the
allocated surface (now the remainder is simply not displayed).

Updated properties database for several ROMs (related to maximum height).


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1613 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-12 01:07:29 +00:00