Commit Graph

1860 Commits

Author SHA1 Message Date
stephena 2fdb7401f2 Updated debugger size to resize down to 620 pixels high (from 690).
To do this, you lose access to the TIA 'RAM' display.  For a future
release, I'm going to evaluate whether this display is really
necessary at all.

This resize is for a request on the AtariAge 2.7.3 thread about running
the debugger on an eeePC, which is 1024x600.  For now, the closest I
can get is 620.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1685 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-03-26 19:46:05 +00:00
stephena 15529746ea Updated OSX project files for KidVid class.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1684 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-03-19 15:30:30 +00:00
stephena 4133668d75 Removed KidVid from the list of controllers for now. I won't have it
ready for the next minor point release, so there's no need for users
to see it.

When using 'quick-select' mode in list widgets (notably the ROM launcher),
treat space as a valid character, instead of stopping when space is
pressed.  Make quickselect be an option for ListWidgets, and disable
it for CheckBoxWidgets (cheat listing, rom dissassembly listing, etc).


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1683 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-03-19 15:03:51 +00:00
stephena 177d205e86 Added KidVid files to VC++ project.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1682 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-03-16 13:58:48 +00:00
stephena 33a5284307 First pass at KidVid support. Note that while the code compiles, no
functionality whatsoever is available.  This is just an initial import
of the z26 code.  Still TODO is test all this stuff, and the more
difficult part; mix the audio with the sound system in Stella (which
is quite a bit different than z26.

Reduces the time in which autoframe is applied in the TIA from every 32
frames to every 8 frames.  This means the autoframe handler will detect
changes faster, and inform the sound system more accurately.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1681 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-03-16 00:23:42 +00:00
stephena 787f8598da Oops, I decided to comment out the gl_accel stuff for now, and not use
SDL_GL_ACCELERATED_VISUAL at all.  It doesn't make a difference for
Nvidia and Intel, and only seems to break things for ATI.  So better to
forget about it for now.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1680 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-03-12 16:04:08 +00:00
stephena 96f0f6a304 Added ability to disable the 'SDL_GL_ACCELERATED_VISUAL' hint when
creating the SDL window in OpenGL mode.  This defaults to being on,
and should only be disabled when necessary.  Such cases include using
ATI video hardware in Windows, where the result will be a red screen.

This isn't really the best solution, as it may cause some slowdowns
in OpenGL rendering.  But it's the best that can be done for now, until
the bug is fixed in the ATI OpenGL drivers.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1679 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-03-12 15:57:41 +00:00
stephena b12dc3a7a6 A few minor tweaks in the GL code.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1678 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-03-12 15:37:07 +00:00
stephena 548af979de Fixed long-standing bug involving SCORE mode emulation for the playfield.
It seems the Priority bit overrides SCORE mode.  This fixes a very
noticable bug in Swordquest Waterworld.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1677 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-02-21 20:56:08 +00:00
stephena 2fe6007b31 Bumped version number.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1676 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-02-16 22:54:13 +00:00
stephena b24de21ebc Just found a string parsing bug in the new 'basedir.txt' functionality
for Win32.  This is going to be a 2.7.3a release just for Windows, as I'm
not recompiling everything just for one bug in the Windows code.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1674 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-02-09 15:50:59 +00:00
stephena ada27762f5 Renamed some of the TIA tables to shorter names.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1673 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2009-02-08 21:07:06 +00:00
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