Commit Graph

2493 Commits

Author SHA1 Message Date
stephena 340adfe4ab Fixed some misplaced tabs.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2621 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-02-22 00:39:16 +00:00
stephena 0d9673a4d5 Final updates for the 3.8 release.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2618 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-02-21 22:34:33 +00:00
stephena 5a65d64538 Final changes to the TIA code for the 3.8 release. I've added
TODOs and pointed out areas where improvements are likely needed,
in preparation for asking for help in the implementation.

Turned off 'resolvedata' in the debugger when disassembly ZP RAM.
It seems to be buggy in certain cases, and it's easier to just
leave it off in that mode, since (a) not many games run from ZP,
and (b) it's only at most 128 instructions.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2617 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-02-21 21:57:42 +00:00
stephena b6ec874778 Updated FA2 autodetection for Harmony ROMs (29/32K). Basically these
are detected and the ARM code discarded.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2616 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-02-20 18:16:34 +00:00
stephena 4610fd608d Fixed INTIM/TIMINT multiple reads in the debugger, which changed the
state of the registers and messed up further emulation.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2614 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-02-17 22:33:53 +00:00
stephena 6279c24b57 Renamed 'eepromdir' option to 'nvramdir', and have it default to
'BASEDIR'/nvram.  Previously it defaulted to BASEDIR, which was getting
filled with many such files.

Unfortunely, all files will have to moved manually, but it's an easy
one-time operation.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2613 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-02-17 00:19:14 +00:00
stephena c11c7724ad Added ability to specify separate directories for saving
and loading snapshot files.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2612 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-02-16 19:56:09 +00:00
stephena c31f53654c Loading from ZIP files now works in all cases, and then some.
That is, it has all the functionality of past versions, as well
as improvements to launching from the commandline (an archive
containing multiple ROMs will now open the virtual directory
in the ROM launcher.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2610 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-02-15 19:04:52 +00:00
stephena ca214fbcf0 Updated VS2010 project files for recent class changes.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2609 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-02-14 00:21:57 +00:00
stephena 29cc0df572 Loading from ZIP files now works from the ROM launcher. Still TODO
is add support for from the commandline, as well as optimizations
(automatically loading the first ROM when only one exists, or when
the name of the ZIP file itself is used).


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2608 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-02-13 23:09:31 +00:00
stephena 28fa4af875 Updated OSX project files for recent class changes.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2607 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-02-12 23:55:48 +00:00
stephena e949ccd8af Updated OSX (Intel) project files for recent class changes.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2606 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-02-12 23:48:25 +00:00
stephena 17df4efe9e More code upheaval on the quest for better ZIP handling (although
it's still partially broken).

Converted many methods to take FSNode objects instead of raw string
filenames.  This is necessary since file reading will eventually
be abstracted into the FSNode class directly.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2605 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-02-12 21:57:14 +00:00
stephena 3aa7bfd8e3 Added disclaimer for new ZipHandler code, and cleaned up some
debug code and formatting issues.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2604 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-02-12 12:28:53 +00:00
stephena b6b6835435 OK, second pass at the revised ZIP file handling. It's still broken for
opening ROMs, but at least the ROM launcher now properly descends into
ZIP 'folders'.

Removed obsolete unzip.h|c code, which hasn't been updated since 1998
and fails to compile on some systems.  Replaced it with ZipHandler class,
which is a much nicer interface (and about half the code too).


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2603 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-02-12 02:24:17 +00:00
stephena 96b3d31806 Updated VS2010 project files for recent FSNode changes.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2602 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-02-10 22:28:00 +00:00
stephena ec77f9d1b5 Add MessageBox class to GUI namespace, since it conflicts with Windows messagebox.
Eventually, this will have to be done for all GUI elements.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2601 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-02-10 22:26:06 +00:00
stephena fb56105a85 Fairly major reorganization of the FilesystemNode and ZIP file handling
code.  This is just a preliminary check-in; ZIP handling is actually
broken ATM.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2600 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-02-10 21:47:47 +00:00
stephena ecdcf6177d More work on the FilesystemNode API.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2597 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-02-03 00:13:08 +00:00
stephena 025100d812 Fairly major restructuring of the FSNode classes, removing some static methods
and making them part of the object itself.  This is in preparation for a
'ZipFilesystemNode' class, whereby ZIP archives and their contents are supported
natively by Stella.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2596 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-02-02 18:34:25 +00:00
stephena ba0ebf3ecb Updated ZLIB to latest version (1.2.7).
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2594 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-01-30 19:08:54 +00:00
stephena 130e5efb37 Updated include PNG library to latest version.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2593 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-01-30 12:13:30 +00:00
stephena 9aef5bdcae Updated changelog.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2592 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-01-29 21:16:45 +00:00
stephena 1f16369487 Fixed ZIP handling in Windows; the '/' vs. '\' curse strikes again.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2591 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-01-29 21:12:37 +00:00
stephena 7cf7e8d4c9 Updated OSX project files for snapshot/png restructuring.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2590 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-01-28 23:02:18 +00:00
stephena 4d63457a82 Updated VS project files for class rearrangement.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2589 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-01-28 20:45:56 +00:00
stephena b0db10e969 Reorganization of the PNG handling; it didn't make sense to have loading
one class and saving in another.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2588 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-01-28 20:39:50 +00:00
stephena 266f6c47c1 Updated OSX (PPC) project files for sound class changes.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2587 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-01-28 18:48:59 +00:00
stephena db46484759 Updated OSX peject file for sound class changes.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2586 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-01-28 18:43:41 +00:00
stephena a5cb67551f Final updates to the sound code (resampling seems to be working fine).
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2585 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-01-27 15:08:04 +00:00
stephena b7df9deeb6 Reverted INTIM handling to version 3.7.2, which fixes hangs in Mr. Roboto.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2584 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-01-26 21:17:38 +00:00
stephena b727c1b48d Updated ROM properties for a Kaboom clone that shouldn't be marked as
PAL60 format.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2582 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-01-05 02:22:55 +00:00
stephena 753d096f48 Updated bankswitch detection for 0840, F8 and FE schemes.
Removed various 'Image' and 'Greeting Card' ROM info from the database;
the info was incomplete, and there's no way that I'm going over 7000+
ROMS to add them all.  Eventually, I'd like the database to be for valid
ROMs only.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2581 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-01-05 01:12:25 +00:00
stephena e467441c37 Improved X07 autodetection.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2580 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-01-04 20:19:01 +00:00
stephena c4e5360a18 Updated copyright dates to 2013.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2579 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-01-04 19:49:01 +00:00
stephena e6044426ec Updated sound system with ideas from z26 and MESS. To me at least,
the sound is now much more accurate in "Space Rocks", and there aren't
any regressions that I'm aware of.

Removed 'clipvol' setting, since the sound is now 16-bit and clipping
is no longer required.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2578 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-01-04 19:13:30 +00:00
stephena 41fedc4b2f Fixes for the desktop file, as submitted by Michael Sterrett of Gentoo.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2577 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-01-03 14:19:53 +00:00
stephena f003bd31bd Changed disassemble and debug checks from run-time to compile-time
for Thumb ARM emulation.  On my (quite fast) system, this results in 4%
less CPU usage, so it should be much better on slower systems.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2576 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-12-26 21:16:34 +00:00
stephena 6e7685af70 Bumped version # for final release.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2574 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-12-22 20:30:45 +00:00
stephena ca0f20fdff Updated log functionality slightly; you no longer have to supply
a new line as part of the message.

Updates for impending 3.7.5 release.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2572 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-12-22 20:17:33 +00:00
stephena 2aca70e19e Fixed PAL autodetection regression.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2571 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-12-17 22:04:20 +00:00
stephena 0616691bc5 Fixed a PNG load crash, and added more PNG text chunks when saving snapshots.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2570 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-11-11 23:32:25 +00:00
stephena 13d36f0860 Updated version # for next release.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2568 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-10-31 21:02:10 +00:00
stephena 2b27e23276 Fixed regression with missing VSYNC in certain ROMs, and bumped
version # for next release.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2566 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-10-30 22:21:09 +00:00
stephena 19098e1f43 Bumped version for 3.7.3 release.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2564 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-10-26 18:27:16 +00:00
stephena 940a0bf066 Fixed more sound issues wrt irregular scanline counts. Even
Quadrun sounds better now :)

Preparing for the 3.7.3 release.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2562 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-10-25 20:39:55 +00:00
stephena 029ea006f6 Changed in scanlines per frame are now actually done every frame, and every
8 frames.  This is necessary for ROMs that 'abuse' the system and have
inconsistent scanline counts on every single frame.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2561 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-10-25 16:24:55 +00:00
stephena dc33420c95 Fixed off-by-one error in comparing maximum scanlines per frame.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2560 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-10-25 13:14:09 +00:00
stephena b67625bfec Fixed scanline calculation when out-of-spec ROMS don't use VSYNC at all.
In this case, the frame runs to the limits of the virtual 'TV' (342 scanlines).


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2559 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-10-25 13:07:18 +00:00
stephena 8d9fcaf774 Some minor code cleanups thanks to R. Broglia. Oh joy, are we actually
getting someone else on board for development :)


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2558 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2012-10-24 10:10:32 +00:00