Commit graph

613 commits

Author SHA1 Message Date
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
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
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
David Lindecrantz
4da9084a72 Nicer OSX app bundle (custom icon and retina support enabled). 2015-04-27 14:53:21 +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
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
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
Michał Ziąbkowski
dc6acb0859 Simplified UPS code by using filemap. 2015-04-26 00:26:40 +02:00
Michał Ziąbkowski
3757c92074 Initial port of BPS patching. 2015-04-26 00:26:33 +02:00
Michał Ziąbkowski
2071856426 Backported possible rawinput build fix. 2015-04-25 23:22:05 +02:00
Michał Ziąbkowski
31399c3b54 Backported "Xorg keyboard polling now uses cached Display variable [Bisqwit]" from bsnes v081. 2015-04-25 23:21:59 +02:00
Michał Ziąbkowski
0d4a273a8f Ported OpenGL and Direct3D backend changes from bsnes-0.083. 2015-04-25 23:21:48 +02:00
devinacker
dc9ebc4bb0 this is a release, maybe 2015-04-25 15:59:51 -04:00
devinacker
cadb9b5483 ruby: remove no longer needed #defines 2015-04-25 14:56:56 -04:00
Alex.W.Jackson@gmail.com
f0cba0d729 Completely untested attempt to fix build on OSX
git-svn-id: http://bsnes-classic.googlecode.com/svn/trunk@41 fe182637-1eec-a322-cce2-af8e45122353
2015-04-24 23:22:50 -04:00
Alex.W.Jackson@gmail.com
f63f7e2732 libco: add inline asm for Win64; add compile-time option to use byuu's original code instead of inline version
git-svn-id: http://bsnes-classic.googlecode.com/svn/trunk@44 fe182637-1eec-a322-cce2-af8e45122353
2015-04-24 23:14:48 -04:00
Alex.W.Jackson@gmail.com
0f2f6eaa7b sa1: fix obvious typo, confirmed by byuu
git-svn-id: http://bsnes-classic.googlecode.com/svn/trunk@43 fe182637-1eec-a322-cce2-af8e45122353
2015-04-24 23:14:43 -04:00
Alex.W.Jackson@gmail.com
f7b15b9080 libco: use inline assembly instead of mprotect voodoo (except on Win64, which I lack the means to test)
git-svn-id: http://bsnes-classic.googlecode.com/svn/trunk@42 fe182637-1eec-a322-cce2-af8e45122353
2015-04-24 23:14:37 -04:00
devinacker
a7bdcaea92 add names to documentation
(initial release soon, maybe. yay)
2015-04-23 22:54:11 -04:00
devinacker
a068978300 register editing! hooray 2015-04-21 20:58:17 -04:00
Devin Acker
fc9de55586 Merge pull request #7 from mrehkopf/master
Backport most recent MSU1 behaviour
2015-04-21 13:03:40 -04:00