Commit Graph

46 Commits

Author SHA1 Message Date
sinamas
f3a6c902ff preoffset mem pointers. get rid of unused memory.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@119 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2008-01-31 11:36:04 +00:00
sinamas
d7e9f01a3f various oamdma accuracy. oamdma bus conflicts with cpu, ppu, cgbdma. rewritten memory read/write methods. accurate timing of ppu sprite mapping reads. fix recent cgb sprite cycles sorting slip up.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@118 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2008-01-31 07:43:54 +00:00
sinamas
695fd65c9d 0xFEA0-0xFEFF not writable when OAM isn't. unusable ioram bits fixes. dmg ioram startup state fixes.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@115 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2008-01-10 04:47:59 +00:00
sinamas
fd8836c6ae cgb dma from various areas results in 0xFF being written.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@114 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2008-01-09 01:08:46 +00:00
sinamas
8b1a6d8e7d wx affects sprite m3 cycles. cache m3 cycles, related refactoring. readjust cgb dma cycles to previously changed m3 timing. clean up goofy lyc calculation.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@113 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2008-01-08 05:02:29 +00:00
sinamas
0efb5148f3 int width deps. Gambatte namespace
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@112 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2007-12-25 19:32:18 +00:00
sinamas
0aa93707ce more type width dependency fixes
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@111 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2007-11-28 16:57:26 +00:00
sinamas
546de53beb less int > 16-bits assumptions
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@110 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2007-11-27 05:01:13 +00:00
sinamas
9ee4396f64 fix broken volume on/off event notification
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@106 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2007-11-18 13:10:36 +00:00
sinamas
a2c291b48f do sprite sorting and cycle calculations pr line as needed instead of all at once
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@105 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2007-11-17 23:31:39 +00:00
sinamas
e899db1bf5 Skip potential high frequency events when they don't matter.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@104 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2007-11-16 22:15:46 +00:00
sinamas
6ae619f2b3 slightly faster sprite mapping
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@102 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2007-11-10 05:22:12 +00:00
sinamas
40524c502c less fixed-width type dependencies. don't assume unsigned int > 16 bits
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@101 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2007-11-10 05:19:42 +00:00
sinamas
4a295491c7 avoid signed conversion warning
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@95 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2007-10-25 13:24:08 +00:00
sinamas
635d90090e Add support for DMG palette customization.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@93 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2007-10-25 08:04:24 +00:00
sinamas
5453bf8d02 Always shift full lfsr. Trigger increments lfsr counter by 8.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@87 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2007-10-06 20:47:27 +00:00
sinamas
4a5f0e22f0 check for resampling ratio < 0
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@83 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2007-10-06 15:24:56 +00:00
sinamas
63d7aab087 fix initial endtime value
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@82 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2007-10-06 15:22:53 +00:00
sinamas
b962f1cdff remove unnecessary include
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@80 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2007-10-05 14:50:12 +00:00
sinamas
dd6dc9d2ec Update sound core according to blargg's findings. Improve resampling quality and performance. Fix overlooked "add hl,sp" flag calculation.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@79 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2007-10-05 14:11:28 +00:00
sinamas
ace94a6c1a document HF2 better
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@69 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2007-09-15 08:38:00 +00:00
sinamas
4968e85afc Fix adc/sbc and add_hl_rr hfc calc, sp_plus_n cf/hcf calc and daa thanks to blargg.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@68 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2007-09-15 07:34:31 +00:00
sinamas
449ef8064b get rid of some valgrind warnings
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@64 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2007-09-05 17:48:00 +00:00
sinamas
0b6aa4b73c remove unused doubleSpeed parameter from m3ExtraCycles call
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@63 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2007-09-05 16:22:50 +00:00
sinamas
21239417e7 add -Wextra to default compile flags
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@62 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2007-09-05 16:22:06 +00:00
sinamas
b3bafec378 make sure to use std:: despite sloppy compilers allowing omission. thanks to blargg for the reminder.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@61 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2007-09-05 16:08:46 +00:00
sinamas
06cf7a007c resync to scxreader.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@57 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2007-09-03 10:31:33 +00:00
sinamas
f45325f760 Several PPU reads timings depend on wx.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@56 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2007-09-02 23:10:47 +00:00
sinamas
13e50c34eb fix ch4 frequency
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@52 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2007-08-31 10:25:24 +00:00
sinamas
05e5423dc7 Add zip support. Thanks to Nach.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@50 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2007-08-30 12:26:25 +00:00
sinamas
b3d6ca5ea1 Realry fix 64-bit segfault?
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@49 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2007-08-30 09:04:12 +00:00
sinamas
7a3ac35a66 fix 64-bit compile and segfault
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@48 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2007-08-30 08:28:52 +00:00
sinamas
7409939b67 Only accept valid filter indexes
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@43 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2007-08-28 22:16:17 +00:00
sinamas
3fe2335902 Support external CPPFLAGS and sdl-config
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@42 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2007-08-28 14:14:00 +00:00
sinamas
8e126d5e69 don't overflow in converion to rgb16
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@35 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2007-08-28 05:35:20 +00:00
sinamas
59c329e61a Remove more ancient commented cruft.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@22 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2007-08-26 11:21:26 +00:00
sinamas
5acda0955b Remove ancient commented cruft.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@21 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2007-08-26 11:19:07 +00:00
sinamas
8ede3686c5 Move COPYING file to root directory. We only need one.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@15 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2007-08-26 10:05:47 +00:00
sinamas
da74f640c3 Revert sound volume change.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@14 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2007-08-24 05:17:30 +00:00
sinamas
37a4014abb Increase sound volume.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@13 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2007-08-24 05:11:08 +00:00
sinamas
6d38c2db1d Remove potentially undefined memcpy.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@12 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2007-08-24 05:05:38 +00:00
sinamas
79a82fc0a2 Add copyright notice.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@8 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2007-08-22 04:26:53 +00:00
sinamas
7adae22660 Add copyright notice.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@7 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2007-08-22 04:19:57 +00:00
sinamas
f2f4fb6d4b Add license.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@5 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2007-08-22 01:38:15 +00:00
sinamas
d725671488 Remove garbage files.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@4 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2007-08-22 01:31:51 +00:00
sinamas
8a034c0ee1 Initial commit.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@1 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2007-08-22 01:23:50 +00:00