Commit Graph

3149 Commits

Author SHA1 Message Date
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 4a9d9e09e9 mainclient: add n64 and saturn to the list of consoles that give a warning when trying to record a new movie 2013-05-03 20:10:44 +00:00
adelikat b11fed8051 Mnemonics for Saturn, probably 2013-05-03 20:04: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
adelikat e9d8e2eb21 N64 - add mnemonics (input display, movie recording). Don't know if it works, don't have a game handy to test 2013-05-03 19:22:43 +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
pjgat09 8c7914150e N64: Fixing a typo with some controller stuff 2013-05-03 01:59: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
adelikat fdae009597 N64 - fix dpad on the gui side, still doesn't work though 2013-05-02 04:23:52 +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 f535979705 Controller Config - add N64, todo: N64 controller image 2013-05-02 02:20:09 +00:00
pjgat09 a50068d61d m64p: Added a stub for a bizhawk handled input plugin 2013-05-02 02:19:36 +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
pjgat09 dbd25f17d4 m64p: Removed the need for the rice ini file 2013-05-02 01:48:45 +00:00
adelikat 807df908f3 Path Config - Saturn 2013-05-02 00:56:39 +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 0f5cc4ed25 dual gb: xml creator doohickey now works 2013-05-01 16:37:00 +00:00
goyuken f96a37857d dual gameboy: xml creator dialog thingy. not finished yet 2013-05-01 15:48:23 +00:00
goyuken 8b029d9eb1 saturn: controls. fuck boilerplate 2013-05-01 02:53:53 +00:00
adelikat ba7e99ea20 Path Config - support n64, start saturn, also some code cleanup 2013-05-01 02:37:26 +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
goyuken ad80b43c85 n64: fix crash with input display on 2013-04-30 00:50:08 +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
pjgat09 a4fb43185a N64: Adding a dummy emulator 2013-04-29 01:57:41 +00:00
adelikat 669edc55b3 Start a new virtual pad, and update 2012 sln file with new files from past few commits 2013-04-28 13:56:29 +00:00
masterofpuppets152001 40870f402e Prevent more then one gg windows of the same console to be opened 2013-04-27 19:21:45 +00:00
goyuken b0cbe204a9 XMLGame: fix reboot core in the case of hawkfile embedded assets 2013-04-27 17:43:15 +00:00
goyuken 086c8bcad2 XMLGame - fix hawkfile binding 2013-04-27 17:24:23 +00:00
goyuken 795bfb6550 fix config resetting default dual gameboy P2 Power button 2013-04-27 16:07:10 +00:00
goyuken c998512a45 XMLGame now populates GameInfo.Hash with a combined hash of the loadassets, so dual gameboy movies have sensible hashes 2013-04-27 15:51:31 +00:00
goyuken 84b271684b dual gameboy recording mnemonic |P|UDLRsSBA|P|UDLRsSBA| 2013-04-27 15:10:39 +00:00
goyuken 7830ec7384 add a simple "XMLGame" capability where a game can be theoretically loaded from an xml definition. very preliminary. hooked up dual gameboy to it, so you can now load dual gameboy again by using a .xml 2013-04-27 02:02:37 +00:00
goyuken 6fd7c22d01 fix missing file mistake in MultiClient.csproj introduced by r4331 2013-04-26 23:53:51 +00:00
masterofpuppets152001 4d445244d7 Little oversight 2013-04-26 07:59:10 +00:00
masterofpuppets152001 670460df8c Genesis GG decoder/encoder (working codes!) and revamped UI of SNES/GG/GB Decoders 2013-04-26 03:12:04 +00:00
zeromus df99f36464 support bsnes xml files and super road blaster MSU-1 game 2013-04-24 22:09:11 +00:00
masterofpuppets152001 f3a8cee8bc Gameboy/Game Gear Game Genie Decoder (still non-working code) 2013-04-24 20:41:23 +00:00
masterofpuppets152001 046ae48ac5 Fixed crash on addcode 2013-04-23 22:45:20 +00:00
zeromus 4aebb21912 make cheats memdomain selector dropdownlist style 2013-04-23 22:27:00 +00:00
masterofpuppets152001 0b2ef2bbff apply Game Genie converted cheat to BUS not CARTROM, code still don't work although 2013-04-23 22:00:16 +00:00
masterofpuppets152001 0df9dbde13 SNES Game Genie Encoder/Decoder, first "big" commit, hopefully I got everything
If there is anything wrong, let me know so I know what to do next time!
2013-04-23 09:09:49 +00:00
zeromus 107040955f fix 2012 projfiles 2013-04-23 01:39:15 +00:00
zeromus 45a671ce73 snes-add "always doublesize framebuffer" snes option which makes the logical output of the snes core always sized appropriately for sudden hires-width or interlacing 2013-04-22 22:34:18 +00:00
masterofpuppets152001 bad1d9502c Added lua command client_xpos and client_ypos 2013-04-18 00:54:04 +00:00
zeromus 6b62528ed5 fix building 2013-04-17 02:05:09 +00:00
adelikat 7d510df281 Lua Console - Lua Function List dialog - Ctrl+C copies the function to clipboard concatenated, ex: "emu.frameadvance()" 2013-04-16 01:25:30 +00:00
adelikat e32eaeeb9a More code cleanup 2013-04-16 00:19:31 +00:00
adelikat 7199b64a95 More multiclient refactoring 2013-04-15 02:14:14 +00:00
adelikat be2937fdec Code refactoring of Tools files - no functional changes other than some very tiny speedups and null checks 2013-04-14 23:56:45 +00:00
adelikat 85571fe0ca Update 2012 project to use .net 4.5 2013-04-11 01:02:47 +00:00
adelikat 1c33b92bf1 NES - separate first/last scanline settings for NTSC vs PAL (default of 8,231 NTSC and 0,239 for PAL) 2013-03-25 01:59:34 +00:00
adelikat 496f645b48 Lua - add snes library getlayer_set_bg_1(), setlayer_set_bg_1(), etc to toggle/get all layer options 2013-03-25 00:49:50 +00:00
adelikat 04c46893d3 Show the inner exception on program crash if there is one 2013-03-25 00:44:29 +00:00
adelikat 4905c698bd Slight cosmetic change to the SNES options dialog 2013-03-25 00:23:02 +00:00
adelikat 42ba391c4f Oops, fix my last commit 2013-03-25 00:20:07 +00:00
adelikat 500e3ff580 On interim builds, record the interim version number into movies. Also update version info. This marks the beginning of 1.4.2 2013-03-24 01:43:17 +00:00
adelikat 77846acf01 Lua - joypad.set - implement false to force input off, and a string param to serve as inverse 2013-03-23 20:34:25 +00:00
adelikat 34b0d8a272 Watch object code refactoring - no functional changes 2013-03-17 21:07:03 +00:00
adelikat 65ddac05bc Ram Search - support Ctrl+C copy to clipboard 2013-03-17 15:45:01 +00:00
adelikat cd03d2fe99 Slight tweak to movie frame property 2013-03-17 15:39:33 +00:00
adelikat 4a0a9e4b05 Ram WAtch - fix to output on the copy feature of last commit 2013-03-17 15:23:53 +00:00
adelikat 0196ea4cda Ram Watch - support Ctrl+C to copy to clipboard 2013-03-17 03:21:58 +00:00
adelikat 76bf45fe63 oops 2013-03-13 01:50:56 +00:00
adelikat 3e639d65ab Atari 2600 - implement TIA, PIA, and System Bus domains (note that there is no poke ability on the system bus domain at this time) 2013-03-11 01:46:12 +00:00
adelikat 47149d8f4e Set maximum Speed via hotkeys from 1000% to 1600% 2013-03-10 23:56:05 +00:00
adelikat f4dca72829 Add a "Stop Movie without saving" option 2013-03-10 23:03:52 +00:00
adelikat 5dc8733ae1 Some code refactoring, no functional changes 2013-03-10 22:42:54 +00:00
adelikat 240a9e3a45 Oops! Fix Movie Playback during poke mode 2013-03-10 00:06:40 +00:00
adelikat 168299f794 Hotkey Dialog - some small fixes to tab orders and focusing 2013-03-09 23:45:28 +00:00
adelikat 41be32ce21 Scrub Input hotkey, when held in movie playback mode, it will remove the input for that frame 2013-03-09 23:37:37 +00:00
adelikat 8baaae1110 Movies - add in a "Poke" mode for movies with hotkey. In this mode, when a movie is in playback mode, pressing input will write it into the movie. Also, the default behavior when TAStudio is open is this mode 2013-03-09 23:11:00 +00:00
adelikat 5df510fb4f Lua - add a null check that maybe completely fixes input.set(), also add a null check when attempting to resolve the lua path that was breaking Lua Console when auto-loading a lua session 2013-03-09 20:31:04 +00:00
adelikat c8e678aea7 Add Autofire hotkey, works like auto-hold except that when pressing a regular controller key, it will map it as auto-hold+autofire (feature works identically to autofire in the GENS and VBA emulators) 2013-03-09 20:10:04 +00:00
adelikat d308f76d2c Movies - Added "Full Movie Loadstates" option, when checked it will do VBA-style movie loadstates where the entire state-movie is put into the movie, and then the movie is truncated on the next emulated frame rather than immediately 2013-03-09 19:54:50 +00:00
adelikat 0eeacb57ce Add .sgb to Open File dialog 2013-03-09 18:41:23 +00:00
adelikat de4334f357 Dashboard Cloner - more progress on Update tool 2013-03-08 22:21:04 +00:00
adelikat 4cd34a4fda I fail today 2013-03-02 15:48:49 +00:00
adelikat 3f740a86b2 nevermind 2013-03-02 15:46:26 +00:00
adelikat cf75e3715e oops again 2013-03-02 15:45:47 +00:00
adelikat 9576428e36 oops 2013-03-02 15:42:32 +00:00
adelikat 7cccb9a0a8 Lua - "Fix" parameter order of gui.drawText() 2013-03-02 15:40:59 +00:00
adelikat 619a36fb4c Lua - implement gui.drawText() - updates at the same time as other draw functions and is in emulator space instead of client space 2013-03-02 15:19:14 +00:00
adelikat 2a845ebc3b Play Movie Dialog - fix time display of seconds, support ctrl+C on play movie list 2013-03-02 14:25:31 +00:00
adelikat 54b83bcad6 Lua - implement client.pause_av() and client.unpause_av() 2013-02-26 00:36:13 +00:00
adelikat c316fba5ff RamSearch - infinite undo/redo levels 2013-02-25 01:23:03 +00:00
adelikat 84bc032656 Some warning cleanup 2013-02-24 20:17:12 +00:00
adelikat 9f376fbf54 Progress on the state visualizer I was working on about 2 months ago, checking it in since it is collecting dust on my computer, feature is hidden for now 2013-02-18 01:22:41 +00:00
zeromus 9cf0a3f30f snes-add gui option for ring buffer mode. its unclear whether it speeds things up, but its possible that it might, and it was a lot of work, so here it is as a user option. 2013-01-18 05:06:26 +00:00
zeromus fc66bbb594 fix calculation of movie lengths for pal games 2013-01-14 08:13:34 +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
zeromus 66077951c4 snes-fix timing calculations in aviout and movieplay dialog 2013-01-09 23:03:46 +00:00
zeromus b1385b1010 try some things which are supposed to make assembly resolving more robust 2013-01-02 20:11:27 +00:00
zeromus 06000f339b do weird thing that makes errors stop happening after r4249 2013-01-02 18:52:11 +00:00
goyuken 8cd1683554 mainform: disable the hack that loads GB games into dual gameboy. the core seems to work well enough that the next step is to actually hook up how to load two roms at once 2013-01-02 00:34:14 +00:00
goyuken 2a7fec2dd6 version check now successfully works against some older revisions. (in particular, i tried it against 1.0.4a release) 2013-01-01 23:10:47 +00:00
adelikat 6256c1dcd0 Check in the start of a Savestate visualizer feature for TAStudio, just an object right now, not hooked up and not complete 2013-01-01 19:21:36 +00:00
adelikat 09da012d94 Path Manager - change MakeAbsolutePath to take a default system parameter rather than requiring a useless empty parameter, and change all references to it accordingly 2012-12-30 17:52:40 +00:00
goyuken 4e2cc88c9d fix problem i caused by deleting usage of MakeAbsolutePath() in firmware names 2012-12-30 17:33:33 +00:00
goyuken b5de78bdde gb framerate should be exactly 262144 / 4389... i think, anyway 2012-12-29 18:35:45 +00:00
goyuken f53f9224b6 introduce hack that allows dual gameboy to accept input properly. tetris seems to function with link features working 2012-12-29 16:00:52 +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 83ec09c960 Added GB(C/A) and A2800 framerates to GetSeconds, fixing the related movie lengths in the PlayMovie dialog. Assigned A7800 to and Coleco to use A2800's NTSC framerate. No clue about PAL for anything. 2012-12-29 09:55:37 +00:00
adelikat 0c7aca52cd Add Dual GB to Controller config 2012-12-29 02:53:03 +00:00
adelikat c01919a376 Mutliclient hookups for dual gb core 2012-12-29 02:30:31 +00:00
goyuken 63f9752ea2 rough in some stuff for game boy link cable recording. none of it is finished yet 2012-12-29 01:25:06 +00:00
adelikat cc73cdb6f9 oops, Atari 7800 movie recording is NOT beta status 2012-12-28 03:40:08 +00:00
adelikat 3bb975752b Path Config - filename select for Atari 7800 bios files 2012-12-27 22:47:58 +00:00
adelikat 9c945a175e Atari 7800 - don't require all 3 bios files to run. But do nag them that they are missing them. 2012-12-27 22:24:42 +00:00
adelikat fb14e1df1c Messages - oops, use the Multitrack position settings for multitrack instead of fps, also set better defaults for multi-track message positioning (to not clash with other defaults) 2012-12-27 18:33:41 +00:00
adelikat 99221b51cc Tiny speed up on Frame counter display when a movie is in playback/finished modes by using string builder 2012-12-27 18:23:07 +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
adelikat e305c6faf9 Path Config - change "Tools" to "Global" as that more precisely describes the options in this tab, also move it first in the list 2012-12-26 22:40:32 +00:00
zeromus 8a74e08dfa snes-fix savestate bug in performance core 2012-12-26 22:27:26 +00:00
zeromus e5a65ba60e snes-unhook 64bit until it works 2012-12-26 21:30:29 +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 5f854466ab sound: fudge up some parameters of BufferedAsync. the most noticeable difference is that PAL NES with clock throttle no longer sounds horrible 2012-12-23 20:26:43 +00:00
adelikat cc05370809 oops, add Atari 7800 to the Open ROM file dialog in non-interim builds 2012-12-23 18:55:05 +00:00
adelikat 3d5b429789 update release info, this is a dummy commit mostly, that marks the end of the 1.4.0 release and the beginning of 1.4.1 2012-12-23 18:40:16 +00:00
adelikat 3f3afd253c de-interim A7800 in the Path Config dialog 2012-12-23 16:36:46 +00:00
goyuken 3cc475a64f reverse merge r4180, r4181, r4189 2012-12-23 16:30:00 +00:00