Commit Graph

811 Commits

Author SHA1 Message Date
feos ca3d784f9c update mGBA to upstream master 2020-01-12 11:27:38 +03:00
MrCheeze b90f72c34d Implemented the remaining N64 R4300 trap instructions besides TEQ 2019-12-16 21:22:34 -05:00
MrCheeze 3f26d14eaa added SRAM and FlashRAM memory domain support for N64 2019-09-08 23:20:35 -04:00
feos 6742978e0b update gliden to release 4.0 2019-06-16 12:20:59 +03:00
feos 3a8b3361e3 minor tweak to mgba, update its version in hawk 2019-06-10 22:02:19 +03:00
feos 1ac27e3c25 update mgba to 0.7.2
might need some fixing
2019-06-09 13:39:46 +03:00
MrWint a93916e24c Gambatte core: Add RTC divisor offset support. 2019-06-02 13:24:54 +02:00
MrWint 73f4b0bf52 libgambatte: fix setTimeMode typo 2019-05-30 20:53:17 +02:00
MrWint cb7e0b0a82 libgambatte: Remove unused RTC callback 2019-05-30 20:16:54 +02:00
MrWint 7d33d604ae cycle-based RTC 2019-05-28 22:56:39 +02:00
MrWint d4f42d9f32 Make BG layer mask work properly for CGB 2019-05-28 17:42:30 +02:00
MrWint bc2ced1b7f More consistency, restore layer masks 2019-05-28 00:26:59 +02:00
MrWint 1547d324e7 libgambatte: fix interrupt execution anatomy 2019-05-26 20:24:58 +02:00
MrWint 7e851b19f3 Gambatte core: unify DMG and CGB bios handling 2019-05-26 20:11:50 +02:00
MrWint d8c238c9fb libgambatte: timar quirk accuracy 2019-05-26 19:40:19 +02:00
MrWint ca31e9ad72 libgambatte: Non-atomic interrupt handling 2019-05-26 19:29:17 +02:00
MrWint 9d266ce281 libgambatte: hang on invalid opcode 2019-05-26 19:19:39 +02:00
MrWint ae98698758 libgambatte: Refactor Memory 2019-05-26 14:17:22 +02:00
MrWint 51e8ba3cf5 libgambatte: refactor Tima 2019-05-26 12:46:17 +02:00
MrWint 79085f9a3a libgambatte: Remove unused saveState() functions 2019-05-26 12:36:08 +02:00
MrWint b58554f62e libgambatte: Remove unused interrupter 2019-05-26 12:33:32 +02:00
MrWint af42fbb714 Reformat gambatte.cpp 2019-05-26 12:22:53 +02:00
MrWint a79febdef9 Refactor cartridge code 2019-05-26 12:06:40 +02:00
MrWint 839c8abf54 Build x64 version 2019-05-26 10:52:18 +02:00
MrWint 92204d527f avoid bools in save state struct 2019-05-26 00:41:03 +02:00
MrWint a177b81b4b Update MinKeeper 2019-05-26 00:18:07 +02:00
MrWint 7b518d0cf7 Update InterruptRequester 2019-05-26 00:13:34 +02:00
MrWint 6036aefd13 Delete unused files 2019-05-26 00:02:49 +02:00
MrWint 2e4f68b29f more idiomatic types 2019-05-25 23:58:44 +02:00
MrWint 3d3de54485 video: formatting 2019-05-25 23:43:05 +02:00
MrWint 6bda071d5f rename MemEventId to IntEventId 2019-05-25 22:53:41 +02:00
MrWint 8247df4be5 pass intreq by ref 2019-05-25 22:37:59 +02:00
MrWint 40167579bb use ptrdiff_t to represent pitch 2019-05-25 22:28:23 +02:00
MrWint 6020542182 CPU refactoring 2019-05-25 22:11:58 +02:00
MrWint a6aeef840a Update PPU 2019-05-25 21:01:50 +02:00
MrWint b99b5a05d6 Update sound 2019-05-25 20:27:44 +02:00
MrWint 1dc9d0e123 allow mapping rom bank0 in more cases 2019-05-25 19:35:42 +02:00
MrWint 85ad140a2c ppu: less magical lcdc constants 2019-05-25 19:29:59 +02:00
MrWint 567756d6cc formatting/readability 2019-05-25 19:18:15 +02:00
MrWint 98076d286d return more informative load result 2019-05-25 18:58:49 +02:00
MrWint a3ee854022 more ideomatic use of sizeof 2019-05-25 18:27:08 +02:00
sornerol bfa8f20cf9 Set state.spu.ch1.master = true (Fixes #1539)
This fixes #1539. Prior to 2.2.2, state.spu.ch1.master was set to false when using a BIOS. Starting with 2.2.2, the Game Boy BIOS is required. Setting this to true causes a buzzing sound while the Nintendo logo drops during BIOS.
2019-05-13 13:45:27 -05:00
feos c3c262db12 N64:
- close #1478
- update gliden
- wire up halo removal
2019-03-10 16:15:55 +03:00
feos 104e40d8b5 update gliden64 2019-01-29 13:47:40 +03:00
zeromus cc532a2988 update nlua.dll with one built with optimization 2019-01-09 16:21:00 -05:00
feos 40d0ddb1c2 update gliden 2018-12-23 18:33:06 +03:00
feos be218685c5 update gliden (partially fixes bomberman) 2018-12-08 13:41:11 +03:00
alyosha-tas 14b5d03180 Gambatte: savestate GB rgb palettes
fixes #1337
2018-11-22 10:11:35 -06:00
feos ddbc4de8f6 update ffmpeg to ffmpeg-20181118-529debc-win64-static 2018-11-18 21:06:59 +03:00
zeromus 25ff1f9539 libgambatte CDL - dont log anything while the bios runs (fixes #1349) 2018-11-12 17:52:41 -05:00
zeromus 1961d8b8d0 fix mupen dll not to have 100 frame hack crash; change c# side to more visibly hang (the frame counter stops, so the condition can be detected) 2018-11-07 19:59:03 -05:00
zeromus 2eade372fd try a new technique to just unstick the frontend when the n64 emulation thread dies 2018-11-07 15:37:37 -05:00
zeromus 482a3ab8f6 trap more cases where n64 emulation can halt when running buggy code and shunt through my don't-halt-after-all logic. these are now all associated with error messages; it would be nice if someone knew a way to get those error messages out to c#. then again, that might make buggy code become hopelessly slow due to error spew
re #1214
2018-11-03 14:04:34 -04:00
zeromus d4aceb2aa1 handle `DebugMessage(M64MSG_ERROR` uniformly by using my new approach of kicking it to a vsync so the frontend can recover. In one particular case (trying to read from an unmapped memory range) this can result in emulation proceeding instead of just hanging the frontend, although the results from that point may be questionable. 2018-11-02 16:28:20 -04:00
zeromus dac6c0a062 does the n64 jit have a concept of crashing, or does it just go in an infinite and possibly infinitely recursing loop? I dunno, but I changed at least one infinite loop to a kind of administrative 'end frame' so at least it doesn't hang the emulator. If it has a way of crashing or halting, we should use that instead, but I couldn't figure it out.txt
fixes #1362
2018-11-01 23:03:09 -04:00
feos 6af9b6aaa5 update gliden64 and wire up fxaa 2018-09-15 12:09:52 +03:00
feos c0650c7860 mgba: update build - zero bios state bug fixed
update submodule to latest bizhawk-0.6
2018-09-10 23:02:54 +03:00
nattthebear c3df4a59f3 update upstream mgba to latest 0.6. fixes saveastate issue (#1307)
People confirmed that it fixes the thing it attempts to fix.
2018-09-04 21:27:18 +03:00
zeromus e3736bdaa7 oops, i forgot to implement shock_Destroy. 2018-08-26 23:05:09 -05:00
feos a15b31a46b update mgba once again, fix #1195 2018-06-24 17:14:03 +03:00
feos b6acb998e1 actually update mgba 2018-06-23 15:22:23 +03:00
feos 28de5cc84c update mgba to latest 0.6 branch (past 0.6.3 release) 2018-06-23 00:15:19 +03:00
feos 9ddeaed84c update gliden64 2018-06-22 23:47:24 +03:00
bsmiles32 637bb90b54 [N64] Update RSP-HLE plugin to latest version. (#1213)
* [N64] Update RSP-HLE plugin to latest version.

* Updated RSP-HLE dll binary
2018-06-16 16:57:07 -04:00
Asnivor e0b417a9b5 ZXHawk: Interrupt bool missing from savestate 2018-06-13 18:07:07 +01:00
nattthebear e5516b45fb Update tracelogger format in libbsnes 2018-05-23 17:07:44 -04:00
nattthebear ebd6408315 add h, v regs to snes regs list 2018-05-18 17:35:28 -04:00
alyosha-tas 258fef46d7 Gambatte: Fix states 2018-05-15 08:25:27 -04:00
alyosha-tas 38b84fce09 Gambatte: Recommit Halt changes (now with Gifvex's improvements too) 2018-05-12 12:21:15 -04:00
alyosha-tas 98ed9e7c42
Merge pull request #1172 from gifvex/gambatte-lua
Gambatte x lua and fix #1159
2018-05-12 12:06:41 -04:00
alyosha-tas c49c585029 Revert "Gambatte: Fix halt behaviour"
This reverts commit efc35a5a0d.
2018-05-12 12:05:09 -04:00
alyosha-tas efc35a5a0d Gambatte: Fix halt behaviour
Fixes #1187
2018-05-12 11:25:51 -04:00
nattthebear e4275ec777 update 7z.dll to a newer one to fix some security stuff 2018-05-03 17:16:10 -04:00
nattthebear 8e007490b5 use 0xff as the gba default saveram filler, just like mgba standalone. Fixes #1144 2018-04-12 17:38:59 -04:00
gifvex f968cbdd73 Gambatte: implement TotalExecutedCycles 2018-04-02 18:19:10 -04:00
nattthebear 13a3ae1a32 support palette settings in mgba, fixes #1042 (probably) 2018-02-21 19:20:10 -05:00
nattthebear cbd524c5c7 update mgba to latest 0.6 2018-02-21 18:08:45 -05:00
nattthebear bd23975201 Hackadoodle to change the initial value of the DIV register? This is probably a bad idea 2018-02-20 18:30:27 -05:00
feos 3ed707b703 build new gliden64 2018-02-13 21:46:39 +03:00
nattthebear f185f71026 I'm not sure where to start with this one... It wasn't hooked up to the frontend at all; the C# side enum doesn't have this flag. It can already be done with a different option in the frontend ("VBA Vivid".) It was stored in savestates, despite having no effect on emulation. Even with some other hypothetical front end, it could only be set at initial load time, despite the fact that our existing palette manipulation can be edited at any time, of course... 2018-02-03 14:35:38 -05:00
alyosha-tas 2cc092270d Gambatte: Palette selection for GB mode 2018-02-02 18:42:09 -05:00
zeromus 5b17e5b958 looks like i never got around to using the 64bit luaperks, so luasockets wasnt built-in as promised ever since we went 64bit. fixes #1077 2018-01-15 17:20:24 -06:00
alyosha-tas e5ded9b139 Gambatte: Merge improvements from gifvex(mcmaeve)
Restores Bios support and loading GB games into GBC
Accuracy imrpovements
2018-01-15 07:45:15 -05:00
alyosha-tas 59bb3e1fc8 Gambatte: Revert behaviour of ROM loading so that GB games will not load in GBC mode 2017-12-29 21:15:01 -05:00
alyosha-tas 63ef676251 GameBoy:
-Remove BIOS support from Gambatte
-Fix GBHawk audio desync
-Fix controllers
2017-11-20 12:14:13 -05:00
nattthebear 213c8189e8 update mgba 2017-11-14 19:46:40 -05:00
nattthebear fe85175619 Fix Issue #1048: Flags on memory domain in picodrive 2017-11-13 21:12:27 -05:00
zeromus f71b3a2e75 update gliden64, maybe. fixes #1053, maybe, i dont know, try it and see what happens 2017-11-13 12:33:39 -06:00
adelikat 635c1cdd05 Merge branch 'domainedmemoryhooks' of https://github.com/TASVideos/BizHawk into domainedmemoryhooks 2017-10-29 12:40:52 -05:00
zeromus e64d00bf7d psx - fix bug where saving the state cleared the memcard dirty flags. not 100% sure we'll keep this logic, need to revisit it on the date of the great automatic-flushing-deprecation.
fixes #1031
2017-10-25 12:22:58 -04:00
nattthebear 148cadda72 Fix issue #1009: sameboy: stack pointer saved in init state 2017-09-29 18:07:50 -04:00
zeromus 561abcca51 add some 64bit libdarm.dll that I just made 2017-09-14 19:44:26 -05:00
pjgat09 1ff0cc1e0c N64: Tracelog now includes delay slot execution. Fixes #789 2017-09-14 16:04:53 -04:00
zeromus b34c9a5dd8 straighten out building of glide64mk2 dll. fixes #1003 2017-09-12 00:49:14 -05:00
Tastyfish 200ab8f8d8 GB Printer support for Gambatte, output color improvements 2017-08-29 18:16:02 -04:00
nattthebear 148e40b504 Fix stack overflow in printer callback 2017-08-29 18:16:02 -04:00
nattthebear 0c3e18efb1 Could you use these things to print like, boobs? 2017-08-29 18:16:02 -04:00
nattthebear d990226a26 human build bot has completed! 2017-08-24 21:10:32 -04:00
nattthebear c001a1add5 saturnus - Port fix from Mednafen Team to fix super tempo 2017-08-20 20:42:07 -04:00
alyosha-tas ffb8069fe5 Update gambatte dll 2017-08-15 19:49:25 -04:00
nattthebear 36a84bd0dd Fix savestate hash match issue with Saturnus 2017-08-13 17:21:00 -04:00
feos 14d19a76d7 m64p: add DBG to x64 target, stop having merge info in vcproj, rebuild 2017-07-30 13:27:52 +03:00
nattthebear 66955ca863 Add CARTROM domain to Snes9x core. Closes #943 2017-07-29 09:14:27 -04:00
zeromus 29191a5468 fix *n syntax in kopilua. fixes #940.
If it doesn't work, use \r\n (I can't remember for sure now, but I think '\n' will work).
2017-07-27 23:54:34 -05:00
zeromus a0c84f4669 fix luainterface 2017-07-23 10:00:46 -05:00
zeromus abcf627e24 updated lua dlls with fixes (maybe) to GC bug 2017-07-22 23:41:30 -05:00
nattthebear da88560815 sameboy: Fix some sgb audio issues in donkey kongs. Two problems: One, due to the HLE startup, DK starts writing audio data too early and sticks the SPC in a bad state. Two, the full transfer format for SOU_TRN doesn't seem to be documented anywhere; it's acutally a 0-terminated list of regions to upload; not just a single region. 2017-07-22 14:22:46 -04:00
nattthebear 569730a61b picodrive: region select. closes #929 2017-07-22 10:55:17 -04:00
zeromus 3ca8f9da9f add 64bit openal dlls 2017-07-21 18:48:33 -05:00
nattthebear fcfe2b23c9 Pizza Boy makes some interesting attempts, but doesn't stack up against the serious GB cores 2017-07-21 18:23:14 -04:00
nattthebear d640c16cff sameboi: fix lag flag and input callback on non-sgb mode 2017-07-20 18:39:51 -04:00
nattthebear 7880cbabb3 I thought there was more to this vb settings thing. I guess not. 2017-07-20 17:22:40 -04:00
zeromus c07f9e7ee6 kopilua: fix io.open with mode "a" 2017-07-20 15:02:21 -05:00
nattthebear 491dc9c1fb sameboy: wbx file 2017-07-19 20:43:44 -04:00
nattthebear c31ebe176d gpgx: multidisk? dunno 2017-07-17 18:49:16 -04:00
nattthebear e61f7d7876 mgba to 0.6 release 2017-07-17 17:40:27 -04:00
nattthebear 0389b346f3 pcfx: fuck you mode 2017-07-16 10:01:31 -04:00
zeromus 01efd6bda0 stop referencing a strongly named kopilua 2017-07-16 08:18:43 -05:00
zeromus afda5dbb62 set a value in the switchable lua library to indicate whether it's NLua or LuaInterface; effectively undo 8bc067cbbe for LuaInterface 2017-07-15 16:36:18 -05:00
zeromus 60ebaeaaf5 make nlua/luainterface selectable. see program.cs for details on the sensitive DLL layout and references 2017-07-14 00:57:01 -05:00
nattthebear 05299c618f picodrive: Only honor reset and power buttons on leading edge. Works around bug where resetting every frame broke the emu 2017-07-13 18:06:35 -04:00
nattthebear d305c873bf Gpgx: Backport some changes that were supposed to fix something 2017-07-11 20:52:08 -04:00
nattthebear ab4d81788e TSTHawk: Potentially release ready? 2017-07-11 20:35:01 -04:00
nattthebear dd7389f848 PicoDrive: Add core query whether 32X hardware is currently active. Remove code that assumed that the emulator would always activate 32X hardware when _32xPreinit was true, or that it would never activate 32X hardware when _32xPreinit was false. Both assumptions are false. 2017-07-09 12:14:27 -04:00
nattthebear d1ff443540 PicoDrive: Add the rest of the games to the DB. Expose IRegionable information and use it to inform FPS rate 2017-07-09 11:59:54 -04:00
alyosha-tas ed9ef91926 Update Gambatte: Fixes pocket monsters
Also changes core selection behaviour so you can play game boy games in GBC
2017-07-06 17:56:51 -04:00
nattthebear ee0ae25d3e uzem: Fix some controller stuff: clock activates on rising edge, latch is continuously active whenever high... fixes the detect controllers routine in the official kernel 2017-07-04 09:11:31 -04:00
nattthebear bd57871171 New! With more games than the 32X! And better sounding ones too! 2017-07-03 21:29:34 -04:00
nattthebear ea02e62d05 PicoDrive: Add memory domains, including ISaveRammable support. In order to get memory domains for 32x, "32X" needs to be on the gamedb entry. 2017-07-03 11:43:03 -04:00
nattthebear bc9726f687 Waterbox: Connect basic stdio. You get an empty stdin, real stdout and stderr, and can present readonly files to the core. 2017-07-01 21:02:52 -04:00
nattthebear f972df72ea pizza: Save the last rendering of the border as well when MASK_EN is used. Seems to match real hardware? 2017-07-01 10:09:27 -04:00
nattthebear 8e1df5562a Pizza: Fix bug that broke sound channel 3 in certain cases. Bug was introduced by the porting process and does not exist in original core. 2017-07-01 09:38:20 -04:00
nattthebear 203a0521b5 pizza: set up constructors right for SGB and GB 2017-06-28 22:19:20 -04:00
nattthebear e8ef4913e9 snes9x: Port byuu's s-cpu fix 2017-06-27 20:29:10 -04:00
nattthebear e57a3ae23c gpgx: silently discard R&W on bus to locations that shouldn't be accessed by plain pointer 2017-06-26 18:17:00 -04:00
nattthebear db73b7f275 virtual boyee: make frame 0 size match other frame sizes 2017-06-26 17:34:01 -04:00
nattthebear 7c5c3482e7 pizza: RTC, maybe 2017-06-25 09:19:32 -04:00
nattthebear 537b2a1616 pizza: saverams 2017-06-24 21:46:11 -04:00
nattthebear 876a138e9b pizza: fix MASK_EN - the frame is grabbed before the command 2017-06-24 19:10:13 -04:00
alyosha-tas 23764c275c Add files via upload 2017-06-24 17:27:01 -04:00
alyosha-tas 775a72001b LibGambatte.dll update 2017-06-24 16:17:56 -04:00
alyosha-tas c60763484d Add files via upload 2017-06-24 15:58:51 -04:00
alyosha-tas 0ce16cf727 Add files via upload 2017-06-24 13:00:02 -04:00
nattthebear ed57f766ad Pizza: Savestates at ~600K in SGB mode 2017-06-24 11:05:59 -04:00
nattthebear 00f2743240 pizza: ship wbx file 2017-06-24 09:47:51 -04:00
nattthebear 21c70d1d65 gpgx: port other changes from the old branch 2017-06-22 17:44:23 -04:00
nattthebear e231cd5084 gpgx: port some svp changes from old branch. that game sucked 2017-06-22 17:31:31 -04:00
nattthebear 37b285fe8d saturnus: get rid of the round-tripping of analogs through the mednafen input system. 2017-06-18 12:25:01 -04:00
nattthebear 5a8fad73b9 saturnus: use waterboxcore 2017-06-17 15:30:03 -04:00
nattthebear c04beea4d0 update snes9x to use WaterboxCore 2017-06-17 12:57:43 -04:00