Commit Graph

150 Commits

Author SHA1 Message Date
bl0ckeduser
ef41a96c57 Fix header path in apu/apu.cpp 2012-02-03 17:43:32 -05:00
Brandon Wright
1aeb1c8f3e Fix warning about operation order. 2012-02-02 15:57:42 -06:00
Brandon Wright
8db1c467ac Adjust fixed-point hermite resampler. Use signed arithmetic. 2012-02-02 15:48:17 -06:00
Brandon Wright
93cf0a77b9 Revert "Revert "Change hermite resampler to use fixed-point arithmetic for speed on""
This reverts commit 986289a96c.
2012-02-02 15:47:44 -06:00
Brandon Wright
986289a96c Revert "Change hermite resampler to use fixed-point arithmetic for speed on"
This reverts commit 2411daa2e7.
2012-02-01 14:45:31 -06:00
Brandon Wright
b66f00d6f4 Change type of temporary vars to properly clip. Fixes SMT problem. 2012-02-01 09:33:04 -06:00
Brandon Wright
2411daa2e7 Change hermite resampler to use fixed-point arithmetic for speed on
slower FPU systems.
2012-01-30 15:59:19 -06:00
Brandon Wright
f6c9ea8de3 Don't call hermite twice per sample for clamping. Adjust so compiler
auto-SIMDs.
2012-01-30 13:29:01 -06:00
Brandon Wright
05bc106f55 Merge branch 'byuuapu' of github.com:snes9xgit/snes9x into byuuapu 2012-01-26 13:47:21 -06:00
Brandon Wright
804d419b39 Inline some functions to avoid vtable lookups. 2012-01-26 13:42:27 -06:00
OV2
a66f10d9e4 Convert old savestates for new smp 2012-01-20 04:24:36 +01:00
Brandon Wright
2337ab3ed0 Optimize hermite resampler slightly. The vtable lookup on read probably still hurts fine-granularity sound systems like OSS. 2011-12-14 02:47:44 -06:00
Brandon Wright
13c55b9260 Allow switching between 3 SMP cores at compile-time. 2011-10-18 13:10:06 -05:00
Brandon Wright
70159fd939 Pair opcode read with first instruction cycle. Remove opcode_cycle switching from unneeded cases. 2011-09-19 15:15:19 -05:00
Brandon Wright
b97e56d64d Group some MOV opcode cycles together. 2011-09-14 17:12:03 -05:00
Brandon Wright
6b9d6caf54 Remove extra case bracker from 2-cycle MOV opcodes. 2011-09-14 17:02:26 -05:00
Brandon Wright
d6e2f1c8e6 More pseudo-cycle modifications. 2011-09-14 16:20:14 -05:00
Brandon Wright
a50f6989ef Finish converting opcycle_misc/opcycle_rmw to pseudo-cycle. 2011-09-14 15:45:18 -05:00
Brandon Wright
a19395ee3c Start converting some opcodes to cycle-based. 2011-09-14 12:54:51 -05:00
Brandon Wright
4668ae5850 Fix save state error. 2011-09-07 11:46:52 -05:00
Brandon Wright
4fdc7af7da Set the output buffer after loading state so the first set of samples
isn't excluded.
2011-07-06 09:20:31 -05:00
Brandon Wright
baa4de3713 Save a few more mmapped registers to SPC files. Fix key-on trigger. 2011-07-05 14:05:36 -05:00
Brandon Wright
2b5a54b401 Inline ticks. This should fix speed issues. 2011-07-05 06:23:24 -05:00
Brandon Wright
63b0a6d45e Add DSP clock remainder to save state. 2011-07-04 17:33:09 -05:00
Brandon Wright
e3788c39e4 Zero clock at appropriate times. 2011-06-27 16:28:45 -05:00
Brandon Wright
91e69af029 Loosen SMP<->DSP synchronization. 2011-06-27 15:41:17 -05:00
Brandon Wright
02a3b83c87 Fix landing buffer size claim. 2011-06-27 13:20:26 -05:00
Brandon Wright
7be5976159 Remove unneeded echo buffer hacks. 2011-06-27 10:23:58 -05:00
Brandon Wright
ebc9e721f6 Add SPC dumping support. 2011-06-26 05:33:14 -05:00
Brandon Wright
2e94b98e90 Clear up CYCLE_ACCURATE confusion. Rename dsp.* to sdsp.*. 2011-06-25 03:10:42 -05:00
Brandon Wright
7963d0e66b Remove serialization.cpp. 2011-06-24 18:09:08 -05:00
Brandon Wright
39add9b47e Save states support for new APU. 2011-06-24 06:42:04 -05:00
Brandon Wright
7c468e51c0 Remove parts of DSP wrapper we don't need. 2011-06-23 06:28:34 -05:00
Brandon Wright
08f5601c5f Reduce the sync footprint slightly with less indirection. 2011-06-23 06:14:14 -05:00
Brandon Wright
ebc9b70860 Fix permissions. 2011-06-23 05:29:04 -05:00
Brandon Wright
196d1ed2c7 Remove debugging line. 2011-06-23 05:26:15 -05:00
Brandon Wright
1af39f3845 Clean things up slightly. Switch CYCLE_ACCURATE off, since things seem
to work fine without it.
2011-06-23 05:24:13 -05:00
Brandon Wright
5d5eaedd5e New SMP is tentatively "running" now. 2011-06-22 06:03:29 -05:00
Brandon Wright
10a521e39c byuu APU now being used. Nothing works yet.
Sync is broken, but the new SMP will handle ratios now.
Save states need to be redone without serializer.
No SPC dumping.
2011-06-18 05:31:44 -05:00
Brandon Wright
c9c49095ee Add byuu's SMP and DSP files to tree. 2011-06-12 01:25:22 -05:00
OV2
107b2ef921 Echo buffer always reads from apu ram 2011-05-05 18:05:05 +02:00
OV2
2644641713 Expose apu debugger status; win32: expose apu debugger, add missing type 2011-04-20 19:23:39 +02:00
zones
c9cb2724d9 Simpler echo buffer fix 2011-04-20 22:33:12 +09:00
zones
fc7a79b2bb Add ports list doc (adventure_of_link) / Add APU debugger / Fix the issue that echo breaks the boot ROM 2011-04-19 23:02:08 +09:00
OV2
c47598f3cf Update copyright in all files 2011-04-11 21:51:20 +02:00
zones
bd1c44b8e6 Change debugger's log folder to LOG_DIR. / Mac: Add frame advance, change the timing of .srm save. 2011-01-24 23:27:57 +09:00
OV2
33b1a63238 Introduce new APU timing hack
Timings.APUAllowTimeOverflow allows the SPC to cross the time limit
set by CPU.Cycles. Currently fixes Earthworm Jim 2, Ms. Pacman and
NBA Hang Time.
2010-10-17 02:49:36 +02:00
OV2
9f3b69f575 Fix Dual Orb 2 sound glitch (byuu) 2010-09-25 20:54:49 +02:00
OV2
debd16c179 Update to latest WIP 2010-09-25 18:46:06 +02:00
OV2
d1666860e0 Initial 1.52 import 2010-09-25 17:46:12 +02:00