598 Commits

Author SHA1 Message Date
sinamas
659b5508b3 libgambatte: irq precedence timing re work
fixes Pinball Deluxe.
2019-03-17 18:05:06 +01:00
sinamas
588dbd8386 libgambatte: misc non-functional 2019-03-17 18:05:06 +01:00
sinamas
1d311d98c0 libgambatte: avoid GCC (8.1.0 x86[-64]) regression 2019-03-07 22:21:30 +01:00
sinamas
e644525a43 libgambatte: silence GCC warnings 2019-03-07 21:39:04 +01:00
sinamas
62e64bb655 libgambatte: avoid long line 2019-03-04 23:59:34 +01:00
sinamas
8ab5b681f9 libgambatte: misc non-functional 2019-03-04 23:51:05 +01:00
sinamas
af9e3e16a3 libgambatte: misc non-functional 2019-03-03 23:33:59 +01:00
sinamas
f1ec850332 libgambatte: misc non-functional 2019-02-27 14:51:27 +01:00
sinamas
2195c64b0e libgambatte: fix up indentation 2019-02-25 20:37:31 +01:00
sinamas
b2ecf2db55
Merge pull request #15 from jkotlinski/fix-mbc5-romswitching
Fixed MBC5 rom bank switching
2019-02-24 19:46:12 +01:00
sinamas
9b693febdb
Merge pull request #12 from Ben10do/more-sram-banks
Enable support for more than four SRAM banks
2019-02-24 19:45:39 +01:00
sinamas
d7494e0f57
Merge pull request #9 from jangler/jshat-fix
Fix SDL handling of joystick hats
2019-02-24 19:29:29 +01:00
sinamas
2b474ca1bc libgambatte: oam dma re work 2019-02-24 19:00:26 +01:00
sinamas
326db1999d libgambatte: misc non-functional 2019-02-24 19:00:11 +01:00
Johan Kotlinski
c421ae0f5f Fixed MBC5 rom bank switching 2018-05-26 22:22:21 +02:00
Ben10do
69ba252346 Enable support for more than four SRAM banks
More cases of the SRAM flag of the cartridge header are now considered, allowing 64KiB and 128KiB saves to be made (with 8 and 16 banks, respectively).

The extra space is taken advantage of by software such as LSDj.
2017-02-05 19:42:59 +00:00
Brandon Mulcahy
df356c14b6 Fix SDL handling of joystick hats
This code was broken in two places. First, the --input parsing always
skipped hats due to missing break statements in the direction switch.
Second, the handler for SDL_JoyHatEvents was iterating through the axis
map instead of the hat map.
2016-06-23 14:05:21 -04:00
sinamas
f8a810b103 Merge pull request #8 from jangler/jsnum
gambatte_sdl: fix joystick input parsing for multi-digit numbers.
2016-05-03 08:53:19 +02:00
sinamas
eece60fe56 Merge pull request #7 from bentley/memmove
Don't invoke undefined behavior by memcpy()ing backwards.
2016-05-03 08:48:49 +02:00
Brandon Mulcahy
a3e56e37c5 gambatte_sdl: fix joystick input parsing for multi-digit numbers. 2016-03-05 05:55:08 -05:00
Anthony J. Bentley
a3ba6b1afc Don't invoke undefined behavior by memcpy()ing backwards. 2015-12-20 20:39:33 -07:00
sinamas
f9fb003e1a hwtests: indicate cgb revision tested. 2015-03-23 02:19:55 +01:00
sinamas
3fb0ab165e common/resample: move include from .h to .cpp 2015-03-22 17:34:11 +01:00
sinamas
5695cd55f2 libgambatte: avoid bools in save state struct.
ensure boolean conversion on assignment.
2015-03-22 17:29:47 +01:00
sinamas
e8292b7bed Merge pull request #5 from bentley/fsfaddr
Update FSF address.
2015-03-22 17:13:45 +01:00
sinamas
46e06da8bd libgambatte: push return address after pc mod.
unsurprising that the call target is fetched prior to
pushing the return address (sufficiently so to verify
this based on wtf-factor alone, really). more surprising
that the 4 cycle delay that accompanies pc mods also
precedes it.

"woody woodpecker racing" barely avoids an oam dma bus
conflict due to this fact.
2014-12-14 11:13:14 +01:00
Anthony J. Bentley
cc336279d1 Update FSF address. 2014-11-19 03:37:12 -07:00
sinamas
639fc36e5c adjust copyright header. 2014-08-04 19:14:46 +02:00
sinamas
8d6c3a22d4 simpler. 2014-08-04 17:32:23 +02:00
sinamas
debc774e54 qualify. 2014-08-03 15:21:38 +02:00
sinamas
f4f52bb43b description of the day. 2014-08-03 15:02:20 +02:00
sinamas
4fb609ee01 test: add a textual description of jpad irq observations.
this would seem worthwile with the relevant tests lacking a
specification of expected output (for now at least).
2014-07-26 17:40:15 +02:00
sinamas
57851a757f simplify description. 2014-07-25 16:03:34 +02:00
sinamas
dd0fda0e7b change description again. probably not the last time. 2014-07-24 21:17:17 +02:00
sinamas
7c92c6dcde libgambatte: make mbc3 behave more like mbc1.
map rom bank 0 to bank 1.

fixes pokemon red/blue name entry glitch that has gone unnoticed for
years.

found by anthonyjbentley.
2014-07-24 14:00:56 +02:00
sinamas
4d0479539b libgambatte: fixup remaining old-style headers. 2014-07-24 13:35:15 +02:00
sinamas
29aa0cb538 rename test directory. 2014-07-24 13:00:59 +02:00
sinamas
bd696fc241 libgambatte: fix (and verify) strange key1 wtf.
not sure what this originated from.
2014-07-24 03:49:53 +02:00
sinamas
1afaef6cb2 rename tests to suggest init state dependency. 2014-07-24 00:15:55 +02:00
sinamas
88233221f2 Merge pull request #3 from bentley/master
Print more informative error messages when using MBC6 or MBC7.
2014-07-22 18:52:54 +02:00
sinamas
cf5241e6d0 s/simple/simplistic/. 2014-07-22 18:16:57 +02:00
sinamas
d8bb275e5e libgambatte: joypad irq findings. 2014-07-22 03:36:13 +02:00
sinamas
c1c13f9cbc reword slightly. 2014-07-20 16:47:14 +02:00
sinamas
2080057cf4 fix description. 2014-07-19 03:55:31 +02:00
sinamas
a5e195b74d testrunner: use stderr 2014-07-17 16:51:16 +02:00
sinamas
a9039eb8d2 libgambatte: audio findings 2014-07-17 04:51:52 +02:00
sinamas
52e577509b libgambatte: do not default initialize etc. 2014-07-13 12:06:52 +02:00
Anthony J. Bentley
675380edd0 Print more informative error messages when using MBC6 or MBC7. 2014-01-31 05:53:03 -07:00
sinamas
4af2ece1e0 new clang warnings 2013-12-18 15:14:51 +01:00
sinamas
0864bc6504 gambatte_qt/framework: missing include
fixes build on recent os x toolchain
2013-12-18 14:57:58 +01:00