Commit Graph

474 Commits

Author SHA1 Message Date
pjgat09 32cc22e361 m64p: Hooked up the per-game hacks in the rice plugin to the config system 2013-05-13 03:08:22 +00:00
pjgat09 076989f1ab N64: Added a lua script to try and play M64 format movies 2013-05-13 00:46:06 +00:00
pjgat09 7da2ede59d N64: Refactor some input code to use callbacks and (hopefully) be compatible with on_snoop 2013-05-11 23:44:20 +00:00
goyuken 4553d74106 saturn - fix a few savestate issues (that i caused in the first place, of course) and fix a possible problem with memory not being initialized. or maybe not. didn't actually solve any problems, la la la.... 2013-05-11 18:52:19 +00:00
pjgat09 7b2ad6a1f8 N64: Fixed a bug with saving/loading a state before the first frame, causing the audio frequency to be very wrong, and breaking the resampler 2013-05-11 15:34:07 +00:00
goyuken 99615d9afd GB: rtc is pegged to emulated elapsed time. maybe. don't know what to test it with. time at core restart is always 1970, or something like that, which isn't as bad as it sounds, because the GB rtc doesn't keep track of anything past days 2013-05-09 23:15:59 +00:00
pjgat09 fffc9d676e N64: Setup saveram, but it doesn't always work right yet. Sometimes switching games loses the save ram. Sometimes bizhawk crashes when saving saveram. 2013-05-07 22:37:26 +00:00
pasky1382 4001ade4e1 2013-05-07 22:23:10 +00:00
goyuken ed2553621f saturn: memory domains, and saverammodified flag 2013-05-07 21:35:55 +00:00
pasky1382 83c36c29a8 Vice Project Doom collision box viewer 2013-05-07 20:32:32 +00:00
pasky1382 dd1ac590f8 Error on SHA1, all is well. 2013-05-07 18:56:41 +00:00
pasky1382 0fa298dc2a forgot the system label 2013-05-07 18:49:56 +00:00
pasky1382 2c66918172 Added N64 gamedb, updated gamedb to include it. 2013-05-07 18:46:07 +00:00
pjgat09 a6600a5c0a N64: Implemented the lag indicator and lag count 2013-05-06 23:50:24 +00:00
pjgat09 80a622b5d1 m64p: Why did I comment this out? Just, why? Audio works now after loading a state. 2013-05-06 22:13:20 +00:00
pjgat09 e4437a54a9 m64p: Fixed another input typo which reversed c up and c down 2013-05-06 03:23:02 +00:00
pjgat09 a374641460 m64p: Changed the output formula for the framebuffer from glide64 to actually be correct. We actually don't need a formula... Changed glide64 to not force vsync. You apparently need to read the back buffer or else you get choppy video.
N64: Changed the hardcoded video plugin to use glide. Glide apparently requires you to set the video mode before initializing the plugin
2013-05-04 23:51:50 +00:00
pjgat09 74817e740b m64p: Added post-build hooks to copy the dll into bizhawk after building. Built the dll and adding it for the first time. Glide64.ini is needed to make it work right now, but the need for it should be removed if possible 2013-05-04 23:36:28 +00:00
pjgat09 27c21db9b6 m64p: Change the savestate code to store the default PC address if not already setup (ie before the first VI) 2013-05-04 04:25:06 +00:00
pjgat09 55c7fc55ab m64p: Made two new functions for saving and loading states, directly based on the m64p methods but without files
N64: Copied savestating code from other cores. States take a while to save, and the audio is weird when loading.
2013-05-04 04:07:04 +00:00
pjgat09 1c30cf3501 N64: Fix typo mixing up the dpad 2013-05-04 02:31:37 +00:00
goyuken 54ff07fbfc n64: fix race bug introduced in previous revision. also turn display upside down 2013-05-04 01:16:27 +00:00
goyuken 1abb7cf91a n64: resolve the "first frame" issue 2013-05-04 00:47:36 +00:00
goyuken 147c77c124 n64: screw things up some more. use a semaphore to handle stoppage in r4300 interrupt. blah. it's faster 2013-05-04 00:23:52 +00:00
goyuken 415d749be9 saturn - fix r4402, which was horribly busted. the code looks messier now... almost as messy as before. except the sound test mode in SOTN works through savestates now (it doesn't in vanilla yabause), so i fixed something. 2013-05-03 22:12:35 +00:00
goyuken 314906ce66 saturn - comment out the hacked up scsp savestate stuff and replace it with something much simpler (but more fragile). old scsp save routine has same bug as r4399 - immediate save+load+save produces different savestates. new doesn't. 2013-05-03 19:51:03 +00:00
goyuken 9de465fa41 saturn: the policy of the yabause team values backwards compatibility of savestates highly, so that there are a number of awkward things in savestating where certain variables are regenerated instead of being stored directly to keep compatibility. this has gotten to the point that if you, while paused, save slot 1, load slot 1, save slot 2, then the slot 1&2 saves will not be byte-identical. this commit fixes a certain case of that. i don't know whether this actually fixes any tangible user problems, though. 2013-05-03 17:11:14 +00:00
goyuken 299fcbcc57 saturn: power button, saveram. at the moment, only the internal bupram is saverammed, although it's generated separately per game, like other bizwhack consoles 2013-05-03 01:32:16 +00:00
goyuken e2f664d6b9 saturn: disable built in OSD
multiclient: disable "try arcade rewind hack" message when core is not PCE
2013-05-03 00:13:12 +00:00
goyuken b399e87ffe saturn: savestates. rather unwieldly, taking ~11MiB in text form and causing a noticable pause to save or load. core changes to support savestating: savestates reverted to version 1 (no movie info and no framebuffer, both of which are handled in bizhawk), and parts dealing with verifiying size through liberal use of fseek() (which doesn't work here) removed 2013-05-02 23:35:12 +00:00
pjgat09 99ff09555e N64: Removing the now unneeded SDL based audio and input plugin dlls 2013-05-02 22:18:46 +00:00
pjgat09 9a1241b7e7 m64p: Actually use the passed values for the X and Y axises 2013-05-02 22:05:28 +00:00
goyuken cefb4d2194 saturn: fix problem where controller would be broken on core reboot. maybe. the trouble with this sort of thing is, you can never be sure. 2013-05-02 21:18:28 +00:00
goyuken 149eeb5f33 saturn - support loading bios. note that at the moment, the bios filename isn't in the firmware configuratorthingy. this marks the first change made to the yabause core itself (excepting the yui.cpp that we added); changing memory.h so that block loads don't do unnecessary fseek() 2013-05-02 20:47:56 +00:00
pjgat09 2a0c6c4daf m64p: Configure controller 1 to be plugged in. Flesh out the plugin somewhat
N64: Pass controller 1 data to the core
2013-05-02 03:38:57 +00:00
pjgat09 a50068d61d m64p: Added a stub for a bizhawk handled input plugin 2013-05-02 02:19:36 +00:00
pjgat09 dbd25f17d4 m64p: Removed the need for the rice ini file 2013-05-02 01:48:45 +00:00
pjgat09 533baf9ef3 N64: Added a function to get the audio rate from the core. 2013-05-01 21:28:15 +00:00
goyuken 0d556dc9e9 saturn: frame lag flag working 2013-05-01 17:22:12 +00:00
goyuken 8b029d9eb1 saturn: controls. fuck boilerplate 2013-05-01 02:53:53 +00:00
goyuken eae4c0ee81 saturn: sound 2013-05-01 01:46:20 +00:00
goyuken 368bc58d0a saturn: connect to bizhawk's existing DiscSystem code. emu should now properly load the .cue given. the hack that redirects every .cue that is not in a gamedb to saturn is still in place; saturn detection heuristics will be coming 2013-05-01 00:27:36 +00:00
goyuken d2fecaa172 saturn emulator. for the moment, try loading any unknown .cue file. when you do so, the saturn core will attempt to load "D:\encodes\saturnimages\Castlevania SOTN.iso" 2013-04-30 21:28:35 +00:00
pjgat09 d7e3e4042b m64p: Hide the SDL window 2013-04-30 20:46:25 +00:00
pjgat09 7af28f1106 m64p: Disabled mupen's throttle 2013-04-30 03:34:06 +00:00
pjgat09 7f7b9eac1f m64p: Created a new audio plugin that saves the samples in a buffer for bizhawk to retrieve. Also added some miscellaneous svn:ignores
N64: Hooked up the new audio plugin, but it doesn't sound exactly right.
2013-04-30 03:24:44 +00:00
pjgat09 3bc682a411 m64p: Added VI callback functionality
N64: Made a VI callback function which declares the frame complete every VI, instead of per frame.
2013-04-30 01:50:27 +00:00
pjgat09 2598967d56 m64p: Start the emulator paused
N64: Wait for the emulator to start up before returning from the constructor.
2013-04-30 01:14:07 +00:00
pjgat09 0c23357d60 Adding possibly needed dlls to allow the m64p core to run 2013-04-30 00:58:54 +00:00
pjgat09 bfc0117237 m64p: Hard coded an ini file location until I can be bothered to work out the config handling in m64p
N64: Loads roms and pops up an SDL window to display them
2013-04-30 00:08:21 +00:00
pjgat09 0ef44a6faa m64p: Added post-build commands to copy the resulting dlls to the proper bizhawk directory. Removed the visual studio result directory and added an svn:ignore for it. 2013-04-29 23:10:53 +00:00
zeromus df99f36464 support bsnes xml files and super road blaster MSU-1 game 2013-04-24 22:09:11 +00:00
zeromus c8d62d84ef makerelease.bat excludes some junky files 2013-01-14 07:29:06 +00:00
pasky1382 ae9b791844 Added contra force (NES) collision box viewer. 2013-01-10 17:27:46 +00:00
goyuken 166110c609 gambatte: more linkcable stuff. input isn't working, haven't figured out why yet. note: at the moment, any attempt to load a GB\GBC rom will bring up the dual core. 2012-12-29 15:48:30 +00:00
brandman211 c01be0cbad Removed "Coleco" from Intellivision BIOS information. 2012-12-27 16:41:43 +00:00
zeromus 9a778a55fe snes-add a bunch of complicated libsnes communication code. not sure whether it helps. need to gather data. 2012-12-27 07:59:19 +00:00
zeromus 8a74e08dfa snes-fix savestate bug in performance core 2012-12-26 22:27:26 +00:00
zeromus 42e473b7a8 snes-fix dll deps in 64bit bsnes 2012-12-26 21:25:39 +00:00
goyuken 0424052929 remove MOS6502XNative.dll from build. it hasn't been used at all since before r3596; could always be built again from sln if needed 2012-12-26 20:56:22 +00:00
zeromus c9b662d7ea snes-support 64bit bsnes builds. this isnt tested yet since i dont have a 64bit system atm, but most of the infrastructure is there 2012-12-26 20:25:06 +00:00
zeromus 8a69a4ebe0 switch snes core back to external process. more refined this time. support use of performance core. 2012-12-25 20:36:04 +00:00
zeromus 259364bb33 upx some of our dlls 2012-12-25 19:07:54 +00:00
zeromus 7381855385 2012-12-24 21:34:22 +00:00
zeromus 89b89fd6bb 2012-12-24 21:33:11 +00:00
goyuken 587270cad2 snes: Fix rewind issue with tales of phantasia. Full details are as follows: Synchronize events occur right BEFORE the original thread tries to modify the data. That means that if, for instance, the SMP thread switches off to the CPU thread for a synchronize, but then the CPU switches to the PPU, commits a frame, and then in runtosave, finalizes, without having ever advanced past the SMP, when the SMP runs to save, it will do a data modify without being properly synced. The solution is for the CPU to not stop in runtosave until there's enough time for both the PPU and SMP to finish. Because of our stateful design, there's at most one event pending, so that simplifies to (smp.clock < 0 && ppu.clock < 0). This is unfortunately never guaranteed to finish, but with short timing segments on stateful PPU and SMP, and special guards in the PPU and SMP to switch back to the CPU as quickly as possible when in runtosave, it seems to work out. 2012-12-24 21:14:29 +00:00
goyuken 74c26d9b11 snes: ppu: state out similarly to apu. this was a very simple project; unlike the apu, there aren't many sync points. like the apu, a message is dumped to the console if runtosave causes determinism problems. like the apu, there's no speed hit, but tales of phantasia is still broken. breaks savesates. 2012-12-24 19:49:23 +00:00
goyuken 5e3d6555b0 libsnes: implement "stateful" smp that can restore its state at more points, theoretically eliminating incorrectness from smp misbehavior. no real speed loss. doesn't fix anything at the moment; i might back out the change if it turns out to never fix anything. breaks savestates. 2012-12-24 18:07:13 +00:00
goyuken 3cc475a64f reverse merge r4180, r4181, r4189 2012-12-23 16:30:00 +00:00
adelikat 8ff8b99009 fix MakeRelease.bat 2012-12-23 00:51:40 +00:00
adelikat 2002057b62 Remove firmware folders and BIO_Info.txt files and replace with a single bios txt file in the new firmware folder 2012-12-23 00:49:11 +00:00
zeromus f1401a16e1 snes-fix new bugs in audio 2012-12-21 16:13:11 +00:00
zeromus 8d7da30681 snes-refactor bsnes bindings to work via external process. should solve all stability problems. there is much sloppy transitionary code still in this commit; we need to smoke out any killer issues with this approach before committing too heavily. speed is close enough to last release, and can still be improved. 2012-12-21 07:23:55 +00:00
goyuken 17d8e21c2d 7800: memory domains 2012-12-16 18:02:39 +00:00
goyuken 17f0f66ed7 7800: remove BufferElement because it annoys me. (Also gains a small speed increase, ~4%?). Remove "Copyright © Microsoft 2012" from the default AssemblyInfo.cs 2012-12-16 16:57:16 +00:00
goyuken c9c3821632 7800: add lag flag. breaks savestates. this marks our first change to EMU7800.Core 2012-12-16 01:34:02 +00:00
pasky1382 3b37b809ad Added Congo's Caper collision box viewer 2012-12-15 19:28:21 +00:00
adelikat 6dbb8f5f9f Atari 7800 - controller config tag highlighting logic, add bios_info.txt to MakeRelease batch file 2012-12-15 14:10:52 +00:00
adelikat 158e6a5dd6 Atari 7800 - add bios info txt file and appropriate folders 2012-12-15 02:23:42 +00:00
adelikat 630595e848 putting emu7800.dll in svn so that the main sln at least compiles 2012-12-13 03:26:30 +00:00
goyuken f32fc83d96 7800: integrate the existing emu7800 gamedb as a core-private gamedb (not unlike bootgod), and use that to drive decision making. emu7800 should now be able to correctly load 7800PAL and 2600 games. 2012-12-12 03:40:18 +00:00
zeromus 36475368b2 fix update_gamedb.bat 2012-12-11 20:30:05 +00:00
goyuken 210d415e3d Add Blargg's "blip_buf" as an unmanaged dll. license is LGPL; if I like the way it works, I'll rewrite it with MIT code. Implement it as the new resampling output track for NES. Small (~3%)? speedup. Should sound better, especially when the emulator can't quite keep speed. 2012-12-09 03:13:47 +00:00
zeromus aaf06d76d3 snesgfxdebugger-add BG scroll regs 2012-12-03 18:59:08 +00:00
goyuken 0ef0ef6357 gba: debugging output for software interrupt. todo: possibly bind this to some setting? 2012-12-03 18:49:05 +00:00
goyuken e24d1efbd4 snes: cpu tracelogging. <1% extra overhead incurred when the tracer is not active. 2012-12-03 01:48:18 +00:00
goyuken 451f786660 snes: fix crash with rewind enabled in tales of phantasia. the problem seems to be that during runtosave(), the smp hits a wait opcode (0xff), which it can't get out of. with this fix, the emulator no longer crashes, but the emulated game does crash. more research is needed. 2012-12-02 18:32:33 +00:00
zeromus 207e974d9e updated libsneshawk.dll 2012-12-01 08:33:19 +00:00
zeromus db37a6f64f snes-reset the libsnes core (with whatever serious re-initialization logic we've currently written in libsnes) every time loadstate occurs; and add memsetting to that re-initialization logic, under the theory that if there is a savestate nondeterminism due to fundamental serialization bugs, at least loadstates will be deterministically buggy, decreasing the odds that anyone will ever notice them. of course, i would rather increase the odds that we'll notice them to 100%, so we can fix them, instead of just masking them. but i don't make the rules, i just stfu the nags 2012-12-01 06:21:53 +00:00
goyuken 6412d6d93e gb gpu view: fix bug due to scroll bar hilarity. gba gpu view: implement scanline callbacks 2012-11-30 05:16:37 +00:00
goyuken 20d9e726d2 gba gpu view: bring to front when loading a widget. gba: put dma in tracelog. disable display of sprites with shape = 3. fixes gobbelygook in F-Zero Climax (J). not sure if this is actually what hardware does, as the broken sprite data is from a different ambiguous situation. 2012-11-29 21:16:52 +00:00
goyuken 175caf3a53 gba: add under-the-hood support for direct MMIO reading, to be used for something at some point, maybe 2012-11-27 16:44:50 +00:00
zeromus efbdd58839 nes-fix mapper027 based on new understandings from fceumm; fix world hero 2012-11-26 22:08:25 +00:00
zeromus 7e9d487580 nes-fix m074 and m192 and add You Ling Xing Dong to gamedb to correct mapper from m074->m192. p.s. you ling mi long dong 2012-11-26 21:08:46 +00:00
zeromus 0c58d62762 snesgfxdebugger-layer toggles, more information 2012-11-26 06:30:30 +00:00
goyuken f73960ad8f gba: blaaaaaaa 2012-11-25 20:42:58 +00:00
goyuken 7a6f5fcf99 gba: Disable oam dma "m_graphic" optimization. Perhaps it should work correctly, but it doesn't and the speed gain is near nil and it's not worth the trouble to try fixing. Fixes garbage in the opening to "Final Fantasy 5 (J).gba" 2012-11-25 19:36:32 +00:00
adelikat 957ce112ed oops 2012-11-25 19:31:17 +00:00
adelikat afd91fbb8b Add BIOS info files & folders for c64, nes, snes 2012-11-25 19:25:05 +00:00
goyuken d77efde5fc gba: add system bus memory domain 2012-11-25 19:03:13 +00:00