Commit Graph

1227 Commits

Author SHA1 Message Date
nattthebear a6e4b87f36 comments 2017-06-11 07:50:41 -04:00
nattthebear fa9dcfae35 waterbox: When compiled in debug mode, forcibly evict self at every opportunity. This can be used to catch bugs using pointers past their valid time. Catch and fix two such bugs in the libsnes wrapper. 2017-06-11 07:47:16 -04:00
nattthebear 91e239e11f use the ancient zen art of copy paste to give libsnes the same aspect ratio fix that snes9x has. 2017-06-11 07:15:51 -04:00
nattthebear 67ff767f95 libsnes: recreate the emu cothread at the end of init, to avoid pointer poison that was breaking xor state consistency. Big todo: all init functionality really needs to happen from the main thread, as there are many syscalls that reenter managed in that code, and reentering managed from a cothread stack is a Bad Thing 2017-06-10 19:51:59 -04:00
nattthebear ba7543c19a snes waterbox: fix a leaky pointer which was breaking xorstate integrity 2017-06-10 17:19:18 -04:00
nattthebear baf7a7973b snes: do some more savestate prep, including removing the unused cheat system, which cost sixteen megidobites of ram 2017-06-10 15:53:38 -04:00
nattthebear fcbb85a579 snes: move some stuff to sealed_heap 2017-06-10 15:20:06 -04:00
nattthebear 9ffa44d0a6 snes: waterbox is now working 2017-06-10 14:16:25 -04:00
nattthebear 36be9e9fc7 snes: waterboxification phase 2 2017-06-10 14:16:25 -04:00
nattthebear 9975a05695 snes: waterboxification phase 1 2017-06-10 14:16:24 -04:00
alyosha-tas ab818f1b93 Update BxROM 2017-06-09 20:43:02 -04:00
nattthebear f4c5c53c8a Make note of a potential gotcha in virtual boyee as a comment. It will be forgotten when we need it. 2017-06-08 20:28:59 -04:00
alyosha-tas ff980b91dd NES Fix APU
Finally fixes the infamously bad APU mixer tests
2017-06-08 14:35:13 -04:00
alyosha-tas 31192e15cb Update BxROM 2017-06-07 21:35:18 -04:00
alyosha-tas c3627eee03 Oops not sure what I was doing there 2017-06-07 16:04:13 -04:00
alyosha-tas bcad6f9b08 NES: Fix some more exceptions 2017-06-06 20:04:59 -04:00
alyosha-tas 71e3fad147 NES Fix some more exceptions 2017-06-06 20:03:42 -04:00
adelikat e298863b3d VB - virtual pad support, slight fix to button order on controller config 2017-06-06 11:38:43 -05:00
alyosha-tas 27fd41a5d2 Fix mapper 112 2017-06-06 07:53:33 -04:00
alyosha-tas 7d9b878d5f Update NROM.cs 2017-06-06 07:52:17 -04:00
alyosha-tas 25f2f8ebf9 NES: Fix some exceptions loading ROMs
Eventually need to rethink ROM loading  I think
2017-06-05 15:56:28 -04:00
nattthebear fb5ba14768 Revert "Update AxROM.cs". Licensed AxROM games were all 256KB or smaller, so they'd never hit this codepath. Non-licensed games certainly can be 512KB on AxROM, and we don't want to break that. The "hardware tests" comment is meaningless -- tested on what hardware? There's no licensed board that you could test that against, because they won't take a 512KB chip in the first place. 2017-06-04 20:45:05 -04:00
alyosha-tas b56a6e9aa5 Update AxROM.cs 2017-06-04 20:21:37 -04:00
adelikat 4ae0b2cd22 Merge branch 'master' into waterbox2
Conflicts:
	BizHawk.Client.EmuHawk/MainForm.Events.cs
	BizHawk.Client.EmuHawk/MainForm.cs
2017-06-04 18:18:11 -05:00
alyosha-tas 492f78bfa2 Update SxROM.cs 2017-06-04 17:30:38 -04:00
nattthebear b9ab41a4da More like Chie SatURNaka 2017-06-04 16:41:11 -04:00
adelikat 0c9925a369 bsnes - default to compatibility profile 2017-06-04 13:29:47 -05:00
adelikat caf3a7834d Fix dual GB input 2017-06-04 13:19:51 -05:00
adelikat 551abcd1e4 snes9x - some display name and descriptions for settings 2017-06-03 11:11:11 -05:00
alyosha-tas 9c586e77c4 Update Mapper069.cs 2017-06-03 10:36:16 -04:00
alyosha-tas 3577882070 NES Fix Mapper 15 2017-06-02 21:13:44 -04:00
adelikat 95353188c7 Merge branch 'master' into waterbox2 2017-05-31 13:38:01 -05:00
nattthebear d799624e9c NGP: It works and stuff 2017-05-30 18:36:11 -04:00
adelikat 1a54ff1818 Merge branch 'master' into waterbox2 2017-05-30 17:31:30 -05:00
alyosha-tas be7d271bd1 Update NES.Core.cs 2017-05-30 18:25:34 -04:00
alyosha-tas 10de07aec2 Update PPU.run.cs 2017-05-30 18:24:30 -04:00
nattthebear aab6391b12 virtual boyee: actually fix the color config stuff 2017-05-29 20:34:07 -04:00
alyosha-tas 787470df35 NES: allow headerless ROMs to be loaded if in DB 2017-05-29 20:27:07 -04:00
alyosha-tas fe7606130e Add files via upload 2017-05-29 18:50:02 -04:00
adelikat 3b60a8538d B is before A obv 2017-05-29 13:53:16 -05:00
nattthebear a3f9f47c84 set snes9x to released 2017-05-29 14:40:19 -04:00
nattthebear 93975c3063 virtual boyee - correct author information, and set to released; whenever the waterbox branch is released, this core will be ready 2017-05-29 14:38:19 -04:00
nattthebear f99a080e60 Merge remote-tracking branch 'origin/master' into waterbox2
# Conflicts:
#	BizHawk.Client.EmuHawk/MainForm.Designer.cs
#	BizHawk.Client.EmuHawk/MainForm.cs
2017-05-29 14:35:30 -04:00
nattthebear b20354448b vboyee-- somehow the default colors for anaglyph were all wrong 2017-05-29 14:11:35 -04:00
adelikat ec4a8dde09 Vboy - button names and orders 2017-05-29 12:51:43 -05:00
nattthebear 391160ebf9 vboyEE: settings and syncsettings 2017-05-29 13:50:40 -04:00
nattthebear 87c1a75778 virtual boyEE: saveram, memory domains 2017-05-29 12:51:38 -04:00
nattthebear 4ab407bb42 virtual boy: add IInputPollable. Unfortunately, adding one more field to EmulateSpec caused C# to vomit its brains out, so yeah... 2017-05-29 12:16:24 -04:00
nattthebear 2887ba5823 savestates for vb. this includes savestates for mmap_heap. unfortunately, usage of mmap_heap was scrapped as the things going into it were better suited for invisible/sealed. it may be eventually useful 2017-05-29 11:26:38 -04:00
nattthebear fbf7be92d5 VirtualBoyee: Hookup video, input, and sound. 3D Tetris appears to be working, but only the alternate dump of merio tenis works 2017-05-29 08:16:56 -04:00
nattthebear 94c397a4f8 snes9x: IRegionable 2017-05-29 07:36:49 -04:00
nattthebear 855ff7deca Start working on a primitive mmap implementation. It's good enough for VirtualBoyee to boot, but undoubtedly has many bugs. 2017-05-28 22:18:01 -04:00
nattthebear f1565cd0b1 attributes! 2017-05-28 19:20:59 -04:00
nattthebear a52e9d7dc1 https://www.youtube.com/watch?v=0sKRRY5tQz8 2017-05-28 17:19:07 -04:00
nattthebear 7f7f490b6d The InputCallbackSystem on this Core is now fully operational. https://www.youtube.com/watch?v=g7-tskP0OzI 2017-05-28 14:18:08 -04:00
nattthebear 7d0330bb9e snes9x - cleanup usage of the IMonitor semantics. This makes memory domains slower. 2017-05-28 13:12:48 -04:00
nattthebear 6c2d4ff044 snes9x: add ISaveRammable and fix virtualsize 2017-05-28 12:54:22 -04:00
nattthebear ffed0d2205 snes9x: memory domains 2017-05-28 10:32:21 -04:00
nattthebear 61aa4f5df3 Connect Snes9x controllers, syncsettings, and regular settings 2017-05-28 10:18:20 -04:00
nattthebear 0cc1abd51b snes9x: savestates 2017-05-28 06:39:11 -04:00
nattthebear 37dc9908d0 Waterbox: Add XOR based savestates for GPGX64 2017-05-27 16:18:38 -04:00
nattthebear b737959d11 snes9xHawk which is totally not a thing: connect audio 2017-05-27 14:32:12 -04:00
nattthebear 9bcd693910 snes9x: video output is now fully functional 2017-05-27 13:33:44 -04:00
adelikat 284ee1f9a2 Neshawk - UNIF_BMC_FK23C - I think these dipswitch variables are supposed to be MapperProps 2017-05-27 12:12:04 -05:00
nattthebear 2665510502 Add enough changes so that snes9x now boots. This includes stubs for a bunch of syscalls, a few mmglue changes, and C++ global constructor support 2017-05-27 12:29:05 -04:00
adelikat 5f1b8cdc09 SNES - fix frame 0 loadstating 2017-05-27 10:21:14 -05:00
adelikat 12a4ec1ac7 SNES - only register the trace logger on compatibility profile 2017-05-27 09:54:53 -05:00
alyosha-tas a3a78c6a2e Fix Tagin Dragon 2017-05-26 18:24:21 -04:00
alyosha-tas 1a7f8b0ff8 Fix #857 2017-05-25 12:53:11 -04:00
alyosha-tas e1cfc28562 Update MMC3 to remove RewireNametable_TLSROM 2017-05-22 10:51:40 -04:00
nattthebear 7739b9dc80 rough in some snes9x stuff. not working yet 2017-05-21 17:43:43 -04:00
alyosha-tas 05bf7e46d4 Fix TLSROM mapper
Fix #848
2017-05-19 17:22:39 -04:00
zeromus 5b44f0960f snes: support trace logging GB and SMP cores (C# side and dlls) 2017-05-14 13:51:02 -05:00
nattthebear ebe789eed2 heh 2017-05-10 07:45:23 -04:00
nattthebear 999dcdaec8 The power of C# 5, or 6, or something 2017-05-07 16:54:18 -04:00
zeromus c641e163f9 SGB CDL c# side; and fix SGB loading (broken by pwrap refactors) 2017-05-06 16:23:26 -05:00
adelikat 1dae91e6a8 clean up core constructors - consistent parameter casing, and put them at the top of the class 2017-05-05 19:05:36 -05:00
adelikat 59139ab266 Spell out Numerator and Denominator 2017-05-05 11:25:38 -05:00
adelikat 62a13d961d Move VsyncNum and VsyncDen out of CoreComm and into IVideoProvider 2017-05-05 11:21:37 -05:00
alyosha-tas 2790ec1801 Update GxROM.cs
Fix AV super real pachinko
2017-05-03 12:04:10 -04:00
J.D. Purcell 8b2b12585a Mostly whitespace cleanup to reduce difference with mono-portable branch. 2017-05-02 23:09:50 -04:00
nattthebear e3fab1a4d5 cleaner 2017-05-02 18:15:33 -04:00
adelikat 698c6741ae Refactor IEmulator and remove the IController property, instead pass it as a paramter to the FrameAdvance() method 2017-05-01 20:09:11 -05:00
adelikat b3ad3ce6ba Move BizInvoke files from Emulation.Common to Common 2017-05-01 17:30:42 -05:00
adelikat ded1c2d7b7 Break off BoardName from IEmulator into a separate IBoardInfo service 2017-04-30 21:01:54 -05:00
nattthebear 7f3716a839 if it looks like a duck, swims like a duck, and quacks like a duck, then it may or may not be a duck 2017-04-29 07:54:31 -04:00
zeromus 7d99ca3738 mmc5: use PPUON instead of spriteon and screenon 2017-04-29 00:38:52 -05:00
zeromus d8fd403ea2 attempt to apply changes to MMC5 specified by https://sourceforge.net/p/fceultra/bugs/787/ 2017-04-28 21:33:26 -05:00
adelikat 83124a8d20 Fix VerifiedDisassembler to not expose the internal cpu property 2017-04-27 12:02:08 -05:00
adelikat 57b63aaed4 Emulation.Common - cleanup Enums.cs 2017-04-27 11:45:44 -05:00
adelikat f0b5ee4789 just testing a webhook 2017-04-26 21:13:49 -05:00
adelikat 3192cc70ae slight refactor to IEmulator - make the IController property set only to more clearly express the client -> core relationship 2017-04-26 19:09:00 -05:00
adelikat 15a25bdd87 cleanup MGBAHawk code 2017-04-25 12:00:50 -05:00
adelikat 167ed41a51 Break up MGBAHawk into separate files 2017-04-25 11:42:03 -05:00
adelikat 010c04f421 bleh, forgot to check this in 2017-04-25 11:17:35 -05:00
adelikat e72aceccdc Misc VBANext cleanups 2017-04-25 11:14:24 -05:00
adelikat ba28ca53a8 GambatteLink cleanup 2017-04-25 11:06:50 -05:00
adelikat 2426cfa31a misc cleanup of related Gambatte files 2017-04-25 10:42:11 -05:00
adelikat 21aa648318 Gambatte - some cleanup 2017-04-25 10:11:43 -05:00
adelikat 2de20e956b use Dictionary initializers instead of object initializers for various GetCpuFlagsAndRegisters() methods 2017-04-25 08:28:06 -05:00
adelikat a20e01ab69 Remove the obsolete MemoryDomain.FromByteArray() method 2017-04-24 13:55:20 -05:00
adelikat 54ebe75d2b remove the obsolete MemoryDomain.FromIntPtr method 2017-04-24 13:47:40 -05:00
nattthebear 432cbc54d7 it annoyed me 2017-04-23 13:25:29 -04:00
nattthebear 13423ac461 woops 2017-04-23 13:25:12 -04:00
nattthebear 72808f01bb remove all meteor and garbo stuff completely. These two GBA cores were never up to par, really. 2017-04-23 13:21:35 -04:00
nattthebear d1ca433a93 mgba: registers 2017-04-22 21:59:55 -04:00
nattthebear 5bebd0685a snes: add a toggle multitap button 2017-04-22 17:08:33 -04:00
adelikat d14b2abd17 Revert "now no one gets to have any fun"
This reverts commit e199dfda0d.
2017-04-22 15:14:20 -05:00
nattthebear e199dfda0d now no one gets to have any fun 2017-04-22 16:04:39 -04:00
nattthebear 12b4be4fbc justifier 2017-04-22 10:41:45 -04:00
adelikat 242b0e09ab SNES - support the Justifier, because why not 2017-04-22 08:55:39 -05:00
nattthebear 7d60049b86 remove leftover debuggign cruft 2017-04-21 22:04:09 -04:00
nattthebear f3f9ad8e9b honk 2017-04-21 21:59:04 -04:00
adelikat 62ed1b5b73 snes - change x,y button names to something less vauge 2017-04-20 21:05:11 -05:00
nattthebear a46acca981 It's like archaeology. We're the first ones to use this ancient Mayan super scope code 2017-04-20 21:29:58 -04:00
adelikat 99d70a1c7f SNES - super scope support 2017-04-20 19:50:58 -05:00
alyosha-tas 6a23f922f6 NESHawk implement PAL APU Frame Sequencer 2017-04-20 17:26:49 -04:00
adelikat 27e7edcaf1 SNES - add a "Limit mouse speed" options on by default, to make controls a sueable for casual playing and a config option to turn it off 2017-04-19 20:30:54 -05:00
J.D. Purcell 3d6b1da94d Whitespace only (indentation fixes/cleanup). 2017-04-19 20:34:30 -04:00
adelikat 3f866f6d7f Rename SnesSaveController to SaveController and move it to Emulation.Common since it is used by multiple cores and is general in design 2017-04-19 12:44:02 -05:00
adelikat ee5d35bb34 Libsnescore reformat round 3 2017-04-19 12:33:05 -05:00
adelikat 58189f0113 LibsnesCore - Move ScanlineHookManager class to its own file 2017-04-19 12:25:22 -05:00
adelikat e3ae4b1410 LibsnesCore reformating round 2 - sort out private fields vs pulbic properties 2017-04-19 12:19:16 -05:00
adelikat 808d03155a Libsnescore - misc cleanups round 1 2017-04-19 11:40:41 -05:00
adelikat 7ebddc6087 LibsnesCore - break off memory domain stuff to a separate file 2017-04-19 10:51:16 -05:00
adelikat bc42af0fa6 Libsnescore - Break off IEmulator implementation into a separate file 2017-04-19 10:36:08 -05:00
adelikat 8e3c3dab5d Break off LibsnesCore services into separate files 2017-04-19 09:41:52 -05:00
adelikat d1d6c20749 break SNES settings code into its own file 2017-04-19 08:31:48 -05:00
zeromus f108673449 fix some embarrassing bugs in new snes interop. maybe biz will be more stable now. 2017-04-18 22:09:04 -05:00
zeromus 2e286317f2 tidy snes 2017-04-17 22:49:17 -05:00
adelikat 18017b5e23 SNES - better mouse button names 2017-04-17 16:32:09 -05:00
nattthebear 0393e9241b coreside, this is a short, so yeah... 2017-04-16 18:08:57 -04:00
adelikat 7571781f87 SNES - an attempt at mouse support 2017-04-16 16:39:21 -05:00
adelikat 13ca76f3f8 UI for changing SNES controller configurations 2017-04-15 20:34:32 -05:00
adelikat 5e177db320 Multitap button orders too 2017-04-15 20:34:31 -05:00
adelikat 2daa1b3d68 snes - some progress on controller configuration support - use controller deck for ControllerDefinition and hack in appropriate button orders 2017-04-15 20:34:30 -05:00
nattthebear 41f8875a4f more snes controller stuff 2017-04-15 18:27:04 -04:00
J.D. Purcell b53502eed8 Spaces -> tabs. 2017-04-15 16:37:30 -04:00
J.D. Purcell ed3bf0e62b Fix mixed line endings. 2017-04-15 15:53:02 -04:00
nattthebear 5b41b7260b some snes controller rough in 2017-04-15 15:40:34 -04:00
J.D. Purcell 16bf63ade8 Random cleanups. 2017-04-10 09:36:04 -04:00
J.D. Purcell b2a28339d1 Use 'nameof' operator. 2017-04-10 08:36:42 -04:00
zeromus 23fb06a0cd c++ side setup for setting any devices on snes input ports 2017-04-09 16:45:05 -05:00
alyosha-tas f4f06d7554 Delete PPU.run.cs 2017-04-07 20:14:57 -04:00
alyosha-tas 9f7a926437 NES Fix more then 8 sprites option 2017-04-07 20:14:34 -04:00
alyosha-tas 9e94bec081 NES fix more then 8 sprites option 2017-04-07 20:12:59 -04:00
alyosha-tas 9d93fe404c NES Timing Update
Update per Visual NES inspection of $2001 writes

Correctly fixes Micro Machines while maintaining Battletoads 2p warps sync
2017-03-21 19:01:30 -04:00
zeromus b4ad2f40d9 snes c# cleanup 2017-03-15 17:49:19 -05:00
alyosha-tas e82f19c39e NES Set up a known valid state for testing 2017-03-09 17:50:19 -05:00
zeromus 598e173d60 snes: tidy 2017-03-08 15:57:00 -06:00