Commit Graph

2466 Commits

Author SHA1 Message Date
stephena 7643dccb87 Test commit from OSX.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2672 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-03-13 22:21:35 +00:00
stephena f572c8405e Updated changelog, and a test to see if commit still works.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2670 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-03-13 21:34:33 +00:00
stephena 467ac0a280 Sub2K ROMs now show only the actual data in the binary. This allows
the saved disassembly to be compiled to the exact same binary.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2669 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-03-13 21:16:14 +00:00
stephena 895fd7b263 Changed PC indicator colour on the advice of someone who is partly
colour-blind; the old (light) colour was very hard to see.  Actually,
I agree with that assessment, even though I'm not colour-blind myself.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2668 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-03-12 17:30:42 +00:00
stephena 1173b88c79 Only mark actual undefined opcodes as defined by DASM as being
undefined.  The rest are defined but illegal, which is different
(mostly because many ROMs released in the past 10 years make
extensive use of illegal opcodes).


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2667 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-03-12 17:14:00 +00:00
stephena 1ade2900e4 More fixes to debugger disassembly for DASM. The code now prints
out-of-range labels for cases where a label is in the middle of a
multi-byte instruction (Kool Aid Man), and properly indicates
mirrors of TIA read/write addresses (Meltdown).


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2666 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-03-11 19:43:19 +00:00
stephena b97d5120b9 Some debugger/disassembly work:
- Removed 'SKIP' directive, since it wasn't implemented anyway, and
    I see no way to implement it

  - Add 'aflag' setting to diassembly output, matching usage in Distella.
    This is needed for diassembly output, otherwise DASM barfs on the code.

  - Fixed several long-standing bugs in Distella disassembly wrt ROW
    directives and labeling.  Previously, the output you see in the debugger
    wasn't completely correct, since it wasn't compiling properly in DASM.

  - Illegal opcodes are now shown as .byte directives; this allows the code
    to compile in DASM.

  - Print 16 bytes per line in .byte directive in external disassembly,
    same as Distella.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2665 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-03-10 22:12:37 +00:00
stephena 3c801a7dd4 Updated properties database for BasketBall; it needed joysticks swapped.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2664 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-03-10 19:53:52 +00:00
stephena 2bde61558d Fixed "new console created" messages appearing when loading a ROM
from the launcher.  This message should only appear when *reloading*
a ROM, not creating a new one completely.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2662 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-03-07 17:41:19 +00:00
stephena 5d5719e390 Added equates used to the disassembled output. This is the same as how
DiStella works, so you don't have to include a vcs.h file.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2659 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-03-05 18:01:55 +00:00
stephena ffc99a9345 First pass at adding diassembly output from the debugger. It's already
working quite well for a single-bank ROM, but more work is required for
multi-bank.  Output is currently sent to the console, as I'm still in
the formatting phase.  Saving to a file will be easy once the format
is nailed down.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2657 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-03-04 23:35:26 +00:00
stephena 85d20516d4 Updated Visual Studio project build to support binaries for Windows XP.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2654 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-03-04 00:42:32 +00:00
stephena 7efc484d11 Bumped version #, to start work on 3.9.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2653 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-03-03 23:03:34 +00:00
stephena 5c4b6defd9 Added properties info for "Extra Terrestrials", and bumped version #
for 3.8.1 release.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2648 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-03-03 21:05:43 +00:00
stephena 68424c9222 Fixed file modtimes in OSX build script; it was using dates from when
the archive was first created (~2009).


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2645 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-03-01 20:33:14 +00:00
stephena 63a598fb7f Fixed PPC big-endian sound issues.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2644 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-03-01 14:03:12 +00:00
stephena e823ffe03f Updated changelog.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2642 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-02-28 16:03:56 +00:00
stephena 2c08ea11b1 Fixed typo in TIA class. Good catch, Thomas.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2640 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-02-28 14:39:00 +00:00
stephena b613ac7f36 Fixed missing initialization in Distella settings. It doesn't really
matter (since they're updated anyway), but it's more correct to always
set defaults.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2639 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-02-28 12:17:04 +00:00
stephena 079cc3c8f1 Fixed RSYNC bug.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2627 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-02-24 02:06:34 +00:00
stephena 0650c48977 Implemented TIA RSYNC write functionality thanks to Omegamatrix.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2626 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-02-24 01:46:14 +00:00
stephena bca6366bb2 Updated Win32 project file for VS2012 format.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2623 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-02-23 03:20:20 +00:00
stephena 07ded07acc Fixed compile warning in VS2012, and bumped version #.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2622 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2013-02-23 02:09:33 +00:00
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