Commit Graph

845 Commits

Author SHA1 Message Date
nattthebear 061410a097
Pull in some GPGX fixes from upstream (#1971)
Fixes #1916
Fixes #1968

Pulls in 4017d379e6
Pulls in 147ad71a3c
Pulls in (more or less) a modified form of 200f9a7349
2020-05-02 10:57:42 -04:00
SuuperW ac2d5d7aac update libmelonDS.dll with a few fixes 2020-05-02 08:47:37 -05:00
zeromus 9b19da24a0 update octoshock.dll to match mednafen latest. (very tiny changes only in spu, shouldnt invalidate any prior testing) 2020-05-01 17:18:56 -04:00
TiKevin83 99d06d8479 GBA as GBC mode is only relevant on GBC 2020-04-27 15:35:09 -04:00
feos da584d1a6e update mgba to latest master (past 0.8.1) 2020-04-25 10:43:00 +03:00
SuuperW ebc49db08f update libmelonDS.dll 2020-04-23 13:12:22 -05:00
SuuperW a57d09fe99 add some setters for MelonDS 2020-04-13 12:26:42 -05:00
SuuperW c958afceb0 update libmelonDS.dll with hi-res support, and allow changing that setting
does not display properly yet
2020-04-13 12:07:05 -05:00
adelikat 7c79cfab67 mGBA - implement IDebuggable.SetCpuRegister() 2020-04-11 12:57:47 -05:00
zeromus 46c58c2172 update octoshock dll 2020-04-09 16:13:41 -04:00
zeromus 48a62943f1 new dll 2020-04-07 23:53:40 -04:00
zeromus b53eec452a update octoshock dll 2020-04-06 03:40:17 -04:00
SuuperW ca9e12a929 update libmelonDS.dll 2020-03-25 14:10:24 -05:00
SuuperW bcc4fb0bab update libmelonDS.dll to work with previous commit 2020-03-22 18:43:42 -05:00
SuuperW c59d8130bb
DS Hawk (#1884)
* Add MelonDS.cs, support opening (but not really) .nds files.

* init MelonDS

* MelonDS: Load selected ROM.

* MelonDS: FrameAdvance and frame counter.

* MelonDS: IVideoProvider

* MelonDS: Add DLL files.

* MelonDS: IInputPollable

* MelonDS: IStatable (and add forgotten file MelonDS_InputPollable.cs)

* update libmelonDS.dll

* MelonDS: ISoundProvider

* Add NDS to Global.SystemInfo, and convert screen coords when running NDS.

* set up default NDS controller

* MelonDS: ISaveRam

* MelonDS: remove romlist.bin

* MelonDS: ISettable

* Create firmware folder if it doesn't exist on Windows; otherwise, an exception is thrown.

* Add database entries for NDS bios/firmware files.

* MelonDS: Use the bios/firmware files selected in BizHawk's "Firmwares" dialog.

* MelonDS: Re-work sync settings a bit.

* NDS's firmware file contains user settings; these are over-written by sync settings, so we shouldn't allow them to impact the hash

* MelonDS: Add (currently unused) bootToFirmware sync setting, and NDSSettings dialog.

* Update NDS firmware hash; it seems I had somehow corrupted mine.

* MelonDS: Use boot to firmware sync setting.

* MelonDS: Allow user to set some firmware user settings via the NDS settings dialog.

* MelonDS: Add singleInstance attribute to core.

* MelonDS: IMemoryDomains

* update libmelonDS.dll

* MelonDS: Set up default sync settings if none are provided.

* MelonDS: Allow user to reset settings to default.

* MelonDS: bios+firmware files are recommended

* libmelonDS.dll

* MelonDS: Don't use real time.

* MelonDS: Update to reflect new way of handling RTC in MelonDS.

* MelonDS: Notify if savestate load failed.

* update MelonDS.dll

* MelonDS: Allow user to set startup date/time in settings dialog.

* MelonDS: Create melon directory if it doesn't already exist.

* Don't include Designer's "fixes" in PR (partially reverts 56b474c00)

* Don't show a broken console window; alert user of need to restart instead.
This fixes an error related to MelonDS trying to use the broken stdout stream.

* update default NDS controls to match other updated controls

* Implement a system bus, using ARM9 read/writes.

* MelonDS: Allow BizHawk to change the contents of the frame buffer.

* update libmelonDS.dll

* fix stuff that was merged incorrectly, or was broken by merge

* update libmelonDS.dll
(includes memory leak fix)

* update libmelonDS.dll
(fixes memory leak and an occasional savestate crash)

* fix stuff that broke with the merge

* cleanups, remove stuff that is no longer needed by service interaces

* simplify DS MemoryDomains

* DS - fix order of controller buttons to be consistent with other consoles.  This probably breaks any existing movies made on this core, but those would have been experiments, right?

* NDSSettings - make min value for day and month 0, whiel those aren't "valid" values they are the default values in the core for whatever reason, better to not crash on load and not show a value that isn't actually the setting.  This can easily be reverted if the core changes to default to 1

Co-authored-by: YoshiRulz <OSSYoshiRulz@gmail.com>
Co-authored-by: adelikat <adelikat@tasvideos.org>
2020-03-21 10:53:30 -05:00
TiKevin83 7e37fb2540 fix MBC1 games like Pinocchio that need adjustedRombank 2020-03-13 00:39:39 -04:00
feos b07f8db8c9 update mgba to fix desyncs 2020-02-27 21:44:28 +03:00
feos 0a81dac965 add mem watchpoints to mgba 2020-02-22 14:28:45 +03:00
TiKevin83 dc143c3d96 fix Pokemon Crystal (JP) 2020-02-18 17:34:49 -05:00
TiKevin83 9d0cd2bbf4 clean up some stray fields missing from the savestate system 2020-02-17 21:09:16 -05:00
TiKevin83 612e1ef800 temp fix for traceback PC__READ_FIRST() calls conflicting with the prefetch fixes from upstream 2020-02-17 14:52:41 -05:00
TiKevin83 3b804b789a Update libgambatte platform target for building on windows 10 2020-02-17 14:49:49 -05:00
zeromus 758a3e0f15 new octoshock dll 2020-02-09 23:50:45 -05:00
feos ca33a0ac9d it actually makes sense to commit things you wanna test 2020-02-04 11:09:57 +03:00
feos 8ff2ca2cd1 update gliden
bugs I saw in perfect dark seem to be present in the previous update too, so ugh
2020-02-04 10:27:10 +03:00
feos 277b302437 tweak mgba hooking 2020-02-04 10:27:09 +03:00
alyosha-tas ec3506ab29
Add MSXHawk DLL 2020-02-03 17:27:44 -05:00
feos 16045e35fc add EXP void BizSetExecCallback(void(*callback)(uint32_t pc)) to mGBA 2020-02-03 22:51:34 +03:00
feos 335a55306f mGBA trace logging 2020-02-03 12:50:41 +03:00
feos e83f3717ad rebuild mgba without mgba-util/dllexports.h dep 2020-02-01 11:48:18 +03:00
zeromus e7a1638e00 SNES CDL - set DMAData flag for dma reading rather than leaving nonsense flags (fixes #1409) 2020-01-22 22:01:04 -05:00
zeromus 7a903f15df update mupen dlls to remove msvcr 2013 dep.
note, I did a sloppy job here.
1. The mupen projects werent upgraded
2. I didn't commit the libs from the upstream mupen deps repo
3. I renamed some of the dlls from the upstream mupen deps repo to match what we expected on account of using the old libs
4. zlib is here twice because the new libpng16.dll depends on zlib.dll and our mupen parts depend on zlib1.dll/freetype26.dll

but this will do the job until the great mupen update probably
2020-01-20 17:26:30 -05:00
zeromus 03b6f6cb21 new bsnes wbx.gz 2020-01-19 18:43:54 -05:00
YoshiRulz 692eb5ea89
Add HelloWorld tool to repo, add build scripts, fix bugs in HelloWorld 2020-01-17 06:17:59 +10:00
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