Commit Graph

3053 Commits

Author SHA1 Message Date
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
adelikat 60e16a56a3 NULL Emautlor - remove Save Movie from context menu, make Hex Editor not crash when loaded 2012-12-23 02:49:08 +00:00
adelikat 7992172300 Path Config - implement a Base ROM path, determines what folder will be defaulted to when Opening a ROM during a NULL emulator state 2012-12-23 02:42:20 +00:00
adelikat e3ba1b6149 Path Config - BIOS Filename config for Coleco and GBA 2012-12-23 02:15:20 +00:00
adelikat c009533def Path Config - PCE and FDS BIOS filename config 2012-12-23 01:32:38 +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
goyuken e34975a727 multiclient: fix bug introduced in r4180 that prevents loading when Bizhawk.Emulation.dll is in another folder 2012-12-22 20:58:37 +00:00
goyuken d9240844bc make firmware path system less robust and more annoying 2012-12-22 19:10:54 +00:00
adelikat 172a344ada Controller Config - add Intellivision controls 2012-12-22 02:34:08 +00:00
adelikat 76c9a68a2d Intellivision - Hook up controllers to the core 2012-12-22 01:56:14 +00:00
goyuken 726d497997 lua: gui.text() behaves more consistently with different window sizes 2012-12-22 01:00:12 +00:00
adelikat 64ced7533b Lua - implement client.getwindowsize 2012-12-21 23:50:29 +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 e8a54aaeed luaimplementation: input.getmouse(): button fields are now bools. position fields are now in emulated screen coordinates. no, it doesn't quite work right for some cases of window sizing... so don't do that! 2012-12-20 21:40:03 +00:00
goyuken 3d14e55297 bomb out if Bizhawk.Emulation and Bizhawk.Util versions don't match Bizhawk.MultiClient version 2012-12-17 15:38:56 +00:00
goyuken fe6f029f39 7800: more control hookup for console buttons 2012-12-16 20:04:39 +00:00
adelikat d57b850c7e A78 - Virtual Pads 2012-12-16 19:07:45 +00:00
goyuken e5a6a28940 7800: path config connected for saveram 2012-12-16 18:39:05 +00:00
adelikat 867c6ef4b9 Add Atari 7800 info to about box 2012-12-16 18:31:49 +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 f8c9bd98f9 7800: implemented hard reset to simulate pushing the power button on the console. HSC ram is preserved, ROM is preserved, just about everything else is flushed. added "Power" button to connect to this. changed recording mnemonics 2012-12-16 15:15:54 +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
goyuken 6f43bafa83 7800 mnemonic stuff 2012-12-15 20:58:13 +00:00
goyuken 6e3dbde76c add 7800 to the "warn before starting a movie" list 2012-12-15 20:35:37 +00:00
adelikat d4ef18c422 ATari 7800 - add pause to mnemonics, however, something is very wrong, can't get a movie to sync, will have to investigate 2012-12-15 20:29:37 +00:00
adelikat 59ea6d86ff Atari 7800 - add Pause button to controller config, set defaults for console buttons, also set some defaults for 2600 console buttons 2012-12-15 19:58:21 +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 054f0df3e4 Atari 7800 - basic mnemonics set up (input display and movie rerecording), however these mnemonics will change 2012-12-15 04:28:29 +00:00
adelikat e7c8053617 Controller Config - add Atari 7800 joystick image 2012-12-15 03:17:00 +00:00
goyuken 2983c23920 atari7800: control hooked up, more or less 2012-12-15 02:36:38 +00:00
adelikat 158e6a5dd6 Atari 7800 - add bios info txt file and appropriate folders 2012-12-15 02:23:42 +00:00
adelikat d34368e98d Atari 7800 - hook up input on client side, implement joystick button 2 in controller definition 2012-12-14 02:17:47 +00:00
goyuken 8cc820c273 hexeditor: fix highlighting positioninigngi 2012-12-14 02:02:59 +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 d205d68b95 move our 7800 code into Bizhawk.Emulation namespace (oops) 2012-12-12 18:17: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
zeromus ab570aa47d snesgfxdebugger-make clipboard image copying less flaky. natt may be interested in this. 2012-12-11 20:27:08 +00:00
goyuken 43396d4b39 garbodev disconnected and moved to attic/ 2012-12-10 20:24:21 +00:00
goyuken 4834f40f6c play around with garbodev core. probably worse than meteor, in general. managed. small compile-time change in MainForm.cs is needed to switch between the two. garbodev source files don't have any license on them at all, so 99.99% chance that this will be axed. why did i do it? 2012-12-10 19:32:18 +00:00
zeromus a4b442abda unify coreinputcomm and coreoutputcomm. there is a slight chance your console will be messed up until i fix a teeny tiny something, since i didnt test them all, since with more recent cores i dunno what roms are working anyway. let me know if i broke anything. 2012-12-10 00:43:43 +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
adelikat 9c8b79be4b Allow Shift + another key to register as Shift and that key separately on Controller input (not hotkey input), this allows the C64 keyboard to use shift as intended 2012-12-09 01:42:47 +00:00
goyuken 39606f7a0b fix: input configuration dialogs no longer receive background input when config allow background input is off. recent regression 2012-12-08 20:08:55 +00:00
adelikat 8b08946c41 Virtual Pad tool - save window position, Ram Watch - restore defaults should set Save Window Position to true, not false 2012-12-08 18:35:12 +00:00
adelikat 3f35c9505a put the LED light functionality in the UpdateToolsAfter method rather than directly in the frame loop 2012-12-08 18:00:55 +00:00
brandman211 a346389c2f -Controller type for GBA.
-Cleanup (adelikat inspired me to always use braces).
2012-12-06 05:19:08 +00:00
adelikat 747115962b C64 - hook up Lock key to core, doesn't do anything yet though 2012-12-06 01:19:32 +00:00
adelikat fc484df925 Controller Config - show conflicts with in a particular controller itself 2012-12-04 23:12:04 +00:00
adelikat 796c6b8773 Rip out old input config dialog code 2012-12-04 21:48:14 +00:00
adelikat 99c7c132f1 Input Config - backend for supporting showing conflicts, rip out old inputwidget conflict code in favor of a simpler design 2012-12-04 21:47:07 +00:00
goyuken 2e4ca0fae6 LogWindow: replace textbox with a virtuallistview. while it may leave some things to be desired, it's not slow as balls. a superior implementation would be creating a VirtualTextBox of some sort 2012-12-03 21:19:39 +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
zeromus bf15393a3c snesgfxdebugger-add easier toggle for multiple BG layer visibility 2012-12-03 18:21:05 +00:00
zeromus 3398aefc7a snesgfxdebugger-add in-place sprite viewing mode 2012-12-03 17:57:19 +00:00
goyuken 4d8a178703 hex editor: fix crash with odd-sized memory domains and 2/4 byte value sizes. fix display bug with odd-sized memory domains. fix display bugs with >64KB memory domains. 2012-12-03 16:51:39 +00:00
zeromus 522bcd844c snesgfxdebugger-obj properties display 2012-12-03 07:50:23 +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
adelikat e61da61d5d Controller Config - add a Restore Defaults context menu item that sets up a default mapping for a given controller type. 2012-12-03 01:20:06 +00:00
adelikat d4280b2607 Input Config - add context menu - Clear option, for each controller 2012-12-03 00:41:05 +00:00
zeromus 3dd1c5c493 snesgfxdebugger-fix a bunch of bugs and half-baked things. no new features. (part 3 of N) 2012-12-02 23:58:20 +00:00
adelikat 2947cd92d0 VirtualPads - implement sticky toggle checkbox 2012-12-02 20:44:44 +00:00
zeromus 562eeb18bd give movies the ability to write to any stream; decouple saving of movie from the import process, and make the bulk movie importer use new movie ability to write directly to output instead of copying (sometimes on top of itself in case source .fm2 was already in movie directory); make drag&dropped movies import to oldmovie.fm2.bkm.autoimported.bkm to prevent it from clobbering a legit movie you may have had there already 2012-12-02 20:35:51 +00:00
adelikat bf35f63aa3 Virtual Pad - smarter clear function, only clears the sticky buttons pressed by the VirtualPad tool instead of also clearing stickies set by autohold hotkeys 2012-12-02 20:05:45 +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
adelikat 20d04f9914 Add Keypriority as a status bar icon, when clicked it will toggle through the different options 2012-12-02 16:17:42 +00:00
adelikat 4741679542 an image 2012-12-02 15:36:16 +00:00
adelikat f6afda4ed8 Implemented a system for controller vs hotkey conflicts. There is now a key priority option in the config menu, either controller input can override hotkeys, hotkeys can override input, or both can happen. 2012-12-02 15:18:28 +00:00
zeromus e960989034 snesgfxdebugger-fix a bunch of bugs and half-baked things. no new features. (part 2 of N) 2012-12-02 08:00:59 +00:00
zeromus 8834d3dd5c snesgfxdebugger-fix a bunch of bugs and half-baked things. no new features. 2012-12-02 02:51:30 +00:00
adelikat 10585b69e4 TAStudio - main form responds to hotkeys/controller input pressed while in tastudio 2012-12-02 01:56:30 +00:00
adelikat 7d8ee4ec0a Updated version info, this commit marks the beginning of 1.3.1 2012-12-01 22:54:01 +00:00
adelikat 0bcbddf1ae default Coleco folder should be Coleco, not ColecoVision, also fix interim flag 2012-12-01 20:36:24 +00:00
goyuken 83b38d9eb4 mainform: set INTERIM = false. do not load GBA games when INTERIM = false 2012-12-01 18:53:13 +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 dca6dfdaeb gba gpu view: copy to clipboard implemented. also some stuff for some other stuff which i really shouldn't be doing because it's pointless when the core doesn't work for some things. 2012-11-30 19:57:04 +00:00
goyuken 20e7710a5c lua: connect movie_setrerecordcounting()
gba gpu view: display 4bpp tiles in mode 2
2012-11-30 16:43:46 +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
zeromus 31faf359e9 try to 'sandbox' lua files with their own current directory. 2012-11-29 18:42:13 +00:00
goyuken 0aba12b6f8 gba gpu view: tile view widgets 2012-11-28 21:07:14 +00:00
goyuken bdb2e8222a gba gpu view: sprite display 2012-11-28 20:33:07 +00:00
goyuken c95faaba72 tracelogger: copy ot clipboard 2012-11-28 18:59:56 +00:00
adelikat 49b7f9165d If in full screen, add Open ROM to the context menu, so you can stay in fullscreen and still change roms 2012-11-28 02:00:08 +00:00
goyuken 83ae2278ec gba gpu view: palette display 2012-11-27 21:13:13 +00:00
goyuken da00dfa99c gba gpu view: implement remaining bg modes 2012-11-27 20:24:38 +00:00
goyuken 91f3e27e84 gba gpu view: support more bg types and flags 2012-11-27 19:59:14 +00:00
goyuken 965c6d8700 gba: add the beginnings of a GPU view. much work is needed, but i like the idea of a single panel with movable widgets (and config-saveable layout, of course), as there is too much information in the case of a GBA to reasonably show it all on a screen. this way the user can set up a "workspace" appropriate for whatever dumping/debugging project is being done. 2012-11-27 19:21:46 +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
adelikat 76487941be Add Atari 7800 to path config (interim only) and use firmwares folder instead of specific rom file paths. Atari 2600 - remove save ram in path config since it is not used. Optimized NES controller image. 2012-11-27 02:24:15 +00:00
goyuken b2b3715468 add a stub for a GBA GPU Viewer 2012-11-26 23:16:31 +00:00