Commit Graph

1617 Commits

Author SHA1 Message Date
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
goyuken 7e71898187 resolve issue 107 2013-05-09 19:57:42 +00:00
zeromus f61b85ab01 nes-boot yoshi's cookie 2013-05-09 06:47:25 +00:00
pjgat09 0a3dfa697e N64: Added a video plugin settings class, filled it with the values from the rice settings screen, and wired it up to the core 2013-05-09 02:58:35 +00:00
pjgat09 0d4ed449e1 N64: When disposing of the core repeatedly send the stop command, because for some reason sometimes sending it just once doesn't work 2013-05-09 01:05:42 +00:00
goyuken 89f61e6daa gba: throw exceptions if saveram gets accessed when disposed, while i remember about it. will actually fix it some other time, if the core actually gets used. 2013-05-09 00:58:02 +00:00
goyuken aa73071870 saturn: fix saveram problem 2013-05-09 00:47:16 +00:00
pjgat09 7becee2284 N64: Rescue save ram from the clutches of race conditions 2013-05-09 00:36:01 +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
goyuken ed2553621f saturn: memory domains, and saverammodified flag 2013-05-07 21:35:55 +00:00
pjgat09 d9c6bb6698 N64: Added float controls for the X and Y axises. At some point they need to be converted to signed bytes to work with m64p 2013-05-07 01:42:48 +00:00
pjgat09 08f6fdaf8d N64: Implement the video plugin (rice or glide64) option 2013-05-07 01:38:12 +00:00
pjgat09 a6600a5c0a N64: Implemented the lag indicator and lag count 2013-05-06 23:50:24 +00:00
goyuken 7b7b95e95d add a new field to IEmulator: bool BinarySaveStatesPreferred { get; }. a core should set it to true to indicate that it would prefer to save and load binary savestates (but both types must be supported). set to true on 7800, gb, dgb, gba, n64, snes, saturn cores, as they all create text savestates that are simply dumps of the binary savestate. for the moment, frontend does nothing with this new information. 2013-05-06 20:51:28 +00:00
pjgat09 e78985244c N64: Split the m64p api into it's own class 2013-05-06 03:22:27 +00:00
pjgat09 468da23558 N64: Set RDRAM as the main memory 2013-05-06 00:08:36 +00:00
adelikat 7fb317cc37 N64 - implement ResetFrameCounter() method 2013-05-05 22:53:22 +00:00
pjgat09 8b51686944 N64: Added a very primitive memory domain for RDRAM. For some reason poking does not work yet 2013-05-05 03:39:01 +00:00
pjgat09 d0285b6965 N64: I suck at this 2013-05-05 00:12:46 +00:00
pjgat09 883fa1330e N64: Removed the debug output lines that were accidentally committed 2013-05-05 00:11:49 +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 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 d5966dd908 N64: Video now resizes 2013-05-04 02:46:37 +00:00
goyuken 079255b29f n64: gc issue fix????????? 2013-05-04 01:46:12 +00:00
goyuken 4a74249236 n64: remove a few minor hacks in n64.cs that were due to previous minor hacks of mine and are obselete now that the first frame problem is resolved 2013-05-04 01:32:33 +00:00
goyuken d87b5e7324 n64: turn right side up again 2013-05-04 01:30:39 +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 1bf7280b75 n64: in the managed side, use an AutoResetEvent to wait on the core instead of spinning. saves cpu time. 2013-05-04 00:28:05 +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
pjgat09 d9f9d77712 N64: Wire up the reset and power buttons 2013-05-03 21:13:23 +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
pjgat09 7810621d6d N64: Started work on wiring the config system. The video output resolution is now (temporarily) set to 800x600 2013-05-03 02:36:46 +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 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 fa349542ef N64: Added exceptions in the event of a problem loaded one of the dlls 2013-05-02 22:17:36 +00:00
pjgat09 ee9584f3aa N64: Commented out, but rudimentary fake analog stick support by looking at the DPad buttons and basing the analog stick position based on those 2013-05-02 22:08:54 +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
adelikat c6634273d7 N64 - hook up input for 4 controllers and autofire, still needs to be hooked to the core, and also needs to be added to controller config dialog 2013-05-02 01:54:44 +00:00
goyuken 53f9e002f4 n64: disable certain debug messages for now as they're causing crashing problems.
fix audio, hopefully.  sounds fine on diddy kong racing.
2013-05-02 00:33:44 +00:00
pjgat09 08c41348e5 N64: Attempt to fix a threading problem 2013-05-01 22:32:31 +00:00
goyuken 6b350e58c9 n64: audio stuff, but all commented out for now 2013-05-01 22:26:08 +00:00
pjgat09 365d1f159c N64: Clean up the core on rom close 2013-05-01 22:18:53 +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 2631ffbde6 implement a simple sega saturn cd heuristic detection. unknown cues once again are loaded into PCECD 2013-05-01 17:06:36 +00:00
goyuken 0a1e942dfe n64: rework audio a bit. best listened to in audio throttle mode. the problem seems to be that different games use different audio out sampling rates, and i don't know how to detect the right one. current selection (32khz) seems to be right for merio and falcon punch 2013-05-01 14:38:47 +00:00
goyuken 8b029d9eb1 saturn: controls. fuck boilerplate 2013-05-01 02:53:53 +00:00