Alex W. Jackson
1f21df71df
superfx: more multiply timing fixes; de-template-ify opcodes to greatly reduce compiled code size
2015-07-05 06:47:56 -04:00
devinacker
a06eafe962
use safer #define name for dllexport
...
(in hindsight, with bsnes and Qt both using __declspec(dllexport)
separately I have no idea how this was even compiling)
2015-06-30 21:53:42 -04:00
Alex W. Jackson
f3a1d819ea
superfx: make multiply timing match hardware tests
2015-06-25 22:26:41 -04:00
Alex W. Jackson
a2197beeac
Update libco
2015-06-25 22:26:35 -04:00
David Lindecrantz
4e6226ccd0
Added "distribution" build target
...
A small convenience for future release builds.
2015-06-03 09:43:20 +02:00
David Lindecrantz
21f0a833f4
High DPI icons for OS X. App bundle version strings using same style as within the app.
2015-06-03 09:08:13 +02:00
Devin Acker
37f9b0d81a
Merge pull request #24 from Optiroc/osx-build
...
OS X Build
2015-06-03 00:11:56 -04:00
devinacker
50f1e0894c
safer cast of menu actions when loading/saving
2015-06-03 00:10:32 -04:00
David Lindecrantz
c4560beb96
nall/dl looks inside app bundle for dylibs on OS X build
2015-06-02 13:40:10 +02:00
David Lindecrantz
50f44a2c78
Makefile changes for OS X
...
"make all" also builds plugins
"make install" on OS X builds plugins, copies them to bundle frameworks, and moves bundle to /Applications
2015-06-02 13:37:59 +02:00
Alex W. Jackson
7be2a02453
ui: replace most '#if defined(PROFILE...' with specific PPU/DSP feature checks; allows PPU and DSP components to be mixed and matched
2015-06-01 12:26:45 -04:00
devinacker
461aa0c69c
update snesreader/snesfilter makefiles likewise
2015-05-31 23:49:58 -04:00
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
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