Commit graph

288 commits

Author SHA1 Message Date
David Lindecrantz
2523c64e5d Added search paths for Qt frameworks installed via Brew (plus some tweaked flags for building from Xcode). Added "Building on OS X" section to README. 2015-05-31 23:00:24 +02:00
devinacker
cc6cfefae9 some SA-1 bus read changes
(read from SA-1 bus instead of CPU bus from the disassembler, and stop
reading from a different bus than the main SA-1 since it isn't necessary
anymore)
2015-05-30 00:39:38 -04:00
Alex W. Jackson
4b2e61baad dsp: add macros to allow compiling as an non-cothreaded state machine for speed (not enabled yet; plan is to add channel_enable() support, do a few more optimizations, and then nuke alt/dsp) 2015-05-29 23:35:23 -04:00
Alex W. Jackson
5a64f078d5 Use bus_access for disassembler too; remove some dead code 2015-05-29 23:35:12 -04:00
devinacker
b4f4c58b79 update memory viewer more frequently
and update the debugger windows independently from
Interface::video_refresh, otherwise it could lead to noticeable
emulation lag every once in a while
2015-05-25 03:19:06 -04:00
devinacker
5d16bcc629 ppu: non-ambiguous function name for frame counter 2015-05-25 03:03:10 -04:00
devinacker
6f300e6889 keep a proper frame count from the PPU
that updates when the V-count rolls around instead of whenever the
frontend tells it to (unlike the other PPU counter values, this isn't
serialized since it has no effect on actual system state)
2015-05-25 01:06:43 -04:00
devinacker
5c4cfe8110 more of the above (inc. for additional debuggers) 2015-05-24 20:04:44 -04:00
Alex W. Jackson
6877c5efa0 Merge alt/cpu/debugger with cpu/debugger by renaming a few member variables; also remove some unused variables 2015-05-24 19:57:21 -04:00
devinacker
af6f8195f8 slap frame count on the end of CPU/SA-1 trace
in a really lazy way (using the existing frame count that the debug UI
uses for updates) and only for the CPU and SA-1 because the SMP and FX
don't show PPU H/V count anyway
2015-05-24 18:05:43 -04:00
devinacker
6e8c07b638 add the snazzy new sound viewer (tools menu) 2015-05-22 22:12:40 -04:00
devinacker
a3d2120b09 strip header from ROMs at the correct time 2015-05-21 09:20:40 -04:00
devinacker
1792b8233d re-enable quickload/save menus
the bug that prompted these to be removed no longer happens in Qt 4.8.6
(which is the only version officially supported by bsnes-plus) and I can
only assume such a critical issue would have been fixed a long time ago
by now, so I'm bringing this back hopefully once and for all
2015-05-20 23:11:44 -04:00
Alex W. Jackson
dbb4043084 sa1: fix MMIO mapping on SA1 bus 2015-05-19 22:54:56 -04:00
devinacker
8aa0e356da Revert "go back to masking MMI/O addresses"
This reverts commit b85fd3a9bb.
2015-05-19 22:54:11 -04:00
devinacker
b85fd3a9bb go back to masking MMI/O addresses
this was causing a segfault when starting or loading a game in
"Marvelous: Mouhitotsu no Takara-jima", wherein the SA-1 would write to
$2250 with DB == $06, making MMIOAccess::write read far out of bounds
2015-05-19 20:46:37 -04:00
devinacker
8e8169a8c4 update the readme again i guess 2015-05-17 20:01:26 -04:00
devinacker
87bb7fab8d move IPS/header handling out of snesreader
did you know that bsnes v073 actually supported IPS softpatching the
entire time? and that it was implemented in a completely different place
than UPS patching was? and that it also wasn't documented anywhere or
presented to the user at all, and that it was always carried out
regardless of whether or not the user had disabled soft patching in the
file browser? for fuck's sake, byuu
2015-05-17 19:56:05 -04:00
devinacker
31aeb3ba24 use consistent spc700 syntax with xkas-plus 2015-05-16 13:01:13 -04:00
devinacker
95a5f25a29 more of the same for sfx/sa1 debug 2015-05-16 11:11:00 -04:00
Alex.W.Jackson@gmail.com
3eec88bf82 debugger: add a flag indicating that the debugger is accessing the bus; this is used to suppress unwanted side effects of reads (e.g. cothread switches, latch-on-read registers) and to allow ROM to be modified (in place of MappedRAM::write_protect(), which is going away soon)
git-svn-id: http://bsnes-classic.googlecode.com/svn/trunk@61 fe182637-1eec-a322-cce2-af8e45122353
2015-05-16 10:52:07 -04:00
devinacker
e326ff4b07 more readme tweak 2015-05-11 22:35:58 -04:00
Devin Acker
49494ce7e2 Merge pull request #16 from neagix/master
Improvements to build instructions on Linux.
2015-05-11 22:27:49 -04:00
neagix
0f4772fd12 Improvements to build instructions on Linux.
Added packages needed for build.
2015-05-11 16:40:06 +00:00
Alex.W.Jackson@gmail.com
8450956758 ppu/counter: enable two-way time travel; use it to simplify VRAM access timing tests
git-svn-id: http://bsnes-classic.googlecode.com/svn/trunk@60 fe182637-1eec-a322-cce2-af8e45122353
2015-05-10 13:21:56 -04:00
Alex.W.Jackson@gmail.com
c1b13d1dfe libco: clang miscompiles inline asm version with -O0, so disable it
git-svn-id: http://bsnes-classic.googlecode.com/svn/trunk@59 fe182637-1eec-a322-cce2-af8e45122353
2015-05-05 19:58:45 -04:00
Alex.W.Jackson@gmail.com
4c356646eb Fixed bugs in previous commit: fieldlines() returned wrong result if called before line 128 in interlace mode, serialize() was missing a variable
git-svn-id: http://bsnes-classic.googlecode.com/svn/trunk@58 fe182637-1eec-a322-cce2-af8e45122353
2015-05-03 13:04:08 -04:00
Alex.W.Jackson@gmail.com
7f118bd484 Emulate long scanline in PAL interlace mode; fix bug in performance CPU affecting Tetris Attack
git-svn-id: http://bsnes-classic.googlecode.com/svn/trunk@57 fe182637-1eec-a322-cce2-af8e45122353
2015-05-02 20:41:33 -04:00
devinacker
5e29045c7e remove size check from memory editor 2015-05-01 09:39:09 -04:00
Alex.W.Jackson@gmail.com
fb4b769e7c Nonexistent MappedRAM's size() is now 0 and not a magic number
git-svn-id: http://bsnes-classic.googlecode.com/svn/trunk@56 fe182637-1eec-a322-cce2-af8e45122353
2015-05-01 09:34:33 -04:00
devinacker
565d30fdc1 re-add write protect check to mappedram 2015-05-01 09:34:16 -04:00
Alex.W.Jackson@gmail.com
4fec1b522c Don't map cart RAM in XML when there isn't any
git-svn-id: http://bsnes-classic.googlecode.com/svn/trunk@55 fe182637-1eec-a322-cce2-af8e45122353
2015-05-01 09:26:10 -04:00
devinacker
92a8f28535 get rid of unnecessary memory bounds checks 2015-04-30 21:42:06 -04:00
Alex.W.Jackson@gmail.com
96638715fd alt/dsp: don't let blargg disable asserts throughout the whole application
git-svn-id: http://bsnes-classic.googlecode.com/svn/trunk@54 fe182637-1eec-a322-cce2-af8e45122353
2015-04-30 21:18:20 -04:00
Alex.W.Jackson@gmail.com
cc1bc58bca nall: detect platform correctly on Cygwin; noinline -> neverinline
git-svn-id: http://bsnes-classic.googlecode.com/svn/trunk@50 fe182637-1eec-a322-cce2-af8e45122353
2015-04-29 21:20:54 -04:00
Devin Acker
10538488eb Merge pull request #12 from mziab/snesreader-vbam-fex
Backport newer File Extractor from VBA-M
2015-04-27 13:52:41 -04:00
Devin Acker
c97e1b5ecc Merge pull request #13 from mziab/snesreader-disable-rar
Really disable rar support
2015-04-27 13:35:10 -04:00
Michał Ziąbkowski
4475cdf085 Backport newer File Extractor from VBA-M. LZMA2-compressed 7zip archives work now. 2015-04-27 17:55:55 +02:00
Devin Acker
3a21affe90 Merge pull request #11 from Optiroc/master
Nicer OSX app bundle (custom icon and retina support enabled).
2015-04-27 09:13:13 -04:00
David Lindecrantz
4da9084a72 Nicer OSX app bundle (custom icon and retina support enabled). 2015-04-27 14:53:21 +02:00
Michał Ziąbkowski
1ac3748c8d Since rar support is disabled in fex, don't advertise it as supported to
avoid a nasty crash.
2015-04-27 11:52:10 +02:00
devinacker
2dc14910db remove an outdated TODO 2015-04-26 19:50:26 -04:00
Alex.W.Jackson@gmail.com
c8a0e84c4b ruby: on second thought, let's not reallocate the buffer every single frame
git-svn-id: http://bsnes-classic.googlecode.com/svn/trunk@49 fe182637-1eec-a322-cce2-af8e45122353
2015-04-26 13:36:53 -04:00
Alex.W.Jackson@gmail.com
fbe6eaebf5 And one more
git-svn-id: http://bsnes-classic.googlecode.com/svn/trunk@47 fe182637-1eec-a322-cce2-af8e45122353
2015-04-26 13:36:21 -04:00
Alex.W.Jackson@gmail.com
4032390046 More Clang stuff I missed
git-svn-id: http://bsnes-classic.googlecode.com/svn/trunk@46 fe182637-1eec-a322-cce2-af8e45122353
2015-04-26 13:36:17 -04:00
Alex.W.Jackson@gmail.com
88da612d6a Various fixes for Clang, some of which were genuine bugs as well
git-svn-id: http://bsnes-classic.googlecode.com/svn/trunk@45 fe182637-1eec-a322-cce2-af8e45122353
2015-04-26 13:36:11 -04:00
Devin Acker
964bc729de Merge pull request #9 from mziab/ruby-driver-backports
Ruby driver backports
2015-04-25 19:13:32 -04:00
Devin Acker
d8ca2fc02b Merge pull request #8 from mziab/backport-bps-support
Backport bps support
2015-04-25 19:09:04 -04:00
Michał Ziąbkowski
4666795574 Split out patching to helper funcs and changed logic. Now tries to apply UPS, if BPS patching failed. Message now displays patch name if one was applied. 2015-04-26 00:40:02 +02:00
Michał Ziąbkowski
0829382583 Updated gui descriptions to reflect changes. 2015-04-26 00:26:40 +02:00