Commit Graph

1648 Commits

Author SHA1 Message Date
stephena 378549a715 Final updates for the 2.7.3 release.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1672 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-02-07 21:50:05 +00:00
stephena b2c6f6fbfd Pre-process 24-bit pixel colour info for software rendering in UI
and normal TIA modes.  Phosphor TIA mode is still done the old way,
since I'd have to create a 192KB lookup table otherwise.

Hopefully this will speed up 24-bit rendering in most cases, but I still
can't confirm as I'm testing in VirtualBox, which itself is emulating
24-bit colour mode.  In the last commit, I mentioned I could possibly
speed things up a little.  This is it (and likely as far as I can go).


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1671 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-02-06 23:53:34 +00:00
stephena 968853c646 Fixed issue with 24-bit colour mode. This isn't as fast as 16/32 mode,
and will likely never be (24-bit mode is really a hack).  I can
possibly speed it up a little more, but probably not *much* more.

This has been broken for quite some time, and it's only now I've
realized that 24-bit mode can be emulated in a virtualized XP
install in VirtualBox.  But I suspect it's been broken for years.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1670 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-02-05 23:22:54 +00:00
stephena e143a2a330 Rearranged info in TIA stats message a little, to take up less space but
still include all relevant information.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1669 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-02-01 22:17:09 +00:00
stephena 05c04fadb7 Added suggestions from AtariAge '2.7.2' thread so I don't forget about them.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1668 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-02-01 14:31:44 +00:00
stephena 1a67bd9995 Added ability to override the base directory for storing all
config-related files for the Win32 port.  To use this, simply create a
file named 'basedir.txt' in the application directory (ie, where-ever
Stella was installed) containing a full pathname representing the base
directory.

This should finally satisfy those who wish to place config files
directly in the app folder, although it really isn't a good idea to do
so.  But who am I to make that decision? ...


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1667 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-30 23:31:41 +00:00
stephena 383be21071 Updated some ROM properties.
Bumped version number.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1666 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-29 00:45:29 +00:00
stephena 734dad328b Updated debian changelog for 2.7.2.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1664 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-01-26 22:34:37 +00:00
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