Commit Graph

888 Commits

Author SHA1 Message Date
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
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
adelikat 747115962b C64 - hook up Lock key to core, doesn't do anything yet though 2012-12-06 01:19:32 +00:00
adelikat 796c6b8773 Rip out old input config dialog code 2012-12-04 21:48:14 +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 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 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
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
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
goyuken a378a47b67 move some avi dump stuff out of the frame advance function 2012-11-26 21:08:08 +00:00
goyuken fa388ed149 av dump: support resizing everything to a single resolution. sorry about all the crap gumming up MainForm... 2012-11-26 02:25:23 +00:00
adelikat 5433bdacfd Use coreoutputcomm for led light feature 2012-11-26 01:43:34 +00:00
adelikat 453eef6da2 C64 - Statusbar now has a floppy disk led light, lights up when emulated floppy disk is in use 2012-11-26 01:28:14 +00:00
adelikat 9ddd3d56a8 C64 - implement Restore key on client side, fixes to the Keyboard virtualpad 2012-11-25 21:49:07 +00:00
zeromus 57e9619ff6 snes-hookup ui for color palette selection 2012-11-25 20:06:31 +00:00
goyuken 769fc5834b fix problem in last commit. also, rename a number of ui references to "AVI Recording" to "A/V Recording" since it isn't particularly about AVI format 2012-11-25 15:51:18 +00:00
adelikat 9de7ee3336 GBA - do bio file path, not firmwares folder path 2012-11-25 03:47:58 +00:00
adelikat afdc3dd670 ColecoHawk - good error message when unable to find BIOS, add BIOS info file in Coleco folder 2012-11-25 01:32:17 +00:00
goyuken 1a61d2830b revert r3922 2012-11-24 22:23:31 +00:00
goyuken f289ce7525 grumble grumble grumble 2012-11-24 16:14:30 +00:00
goyuken ea19ae9d65 gba: disable outside interim 2012-11-24 04:46:43 +00:00
goyuken 235d7a9a03 gba: saveram support. not tested too much because controller isn't hooked up yet. (and path config appears to be dumping them in the wrong place). also remove the silly system where the core tracks timing on when to write the saveram file to disk. 2012-11-24 02:25:47 +00:00
adelikat 9ee8093f7a Open Virtual Pad hotkey 2012-11-23 17:03:10 +00:00
beirich 1a653190b7 coleco: fix a VDP I/O bug
fix typo in 'skip bios intro' option
2012-11-23 03:10:01 +00:00
goyuken f29a9dbbd8 force stop a\v capture on loading a new rom \ core, to avoid crashes. 2012-11-22 02:30:21 +00:00
adelikat f26c72df86 Colecohawk - option to skip bios, setting is also saved into movies 2012-11-22 02:01:15 +00:00
goyuken db8590e55b add some GBA related path config stuff. gbabios.rom will now attempt to load from GBA firmwares directory. 2012-11-20 03:17:53 +00:00
goyuken 93ad387db8 stuff, don't use 2012-11-19 22:43:34 +00:00
adelikat d72fa0d1bd C64 - Progress on Keyboard virtualpad 2012-11-19 00:56:26 +00:00
goyuken 8d20c2e351 gambatte: fully implement cgb palette selection 2012-11-18 18:46:57 +00:00
goyuken f1f9331e6b make sure the clickyvirtualcontroller does in fact clear its state once per frame. fixes weird behavior in frame advance 2012-11-18 15:25:55 +00:00
adelikat bb7c5893cb Code clean up on controller config and properly interim flag some tabs, fix open rom dialog file extension list and sort out interim vs release 2012-11-18 02:51:39 +00:00
adelikat da804a4272 ColecoHawk - only 1 L and 1 R button 2012-11-18 02:36:30 +00:00
zeromus ff8f6aafb6 fix bug in coleco bios hookup 2012-11-17 22:49:49 +00:00
adelikat 823e84592a Coleco - hook up controller 2 2012-11-17 22:38:32 +00:00
adelikat 076cbe38e6 hook up coleco to mainform title, rip out some old movie file saving code, fix up the save/open file dialogs for play movie/record movie/TAStudio 2012-11-17 22:16:23 +00:00
adelikat a0281498d3 Coleco - fix mnemonics, hookup up controller 1 autofire 2012-11-17 21:57:39 +00:00
adelikat 7a9b121798 Coleco has a button 0 2012-11-17 21:38:21 +00:00
adelikat 3595516ae5 Hook up Coleco folders to path config, Change coleco system ID to "Coleco" 2012-11-17 21:12:51 +00:00
beirich 4c83970b2b initial ColecoVision commit. Needs BIOS ROM & input wired up to client (plus more emulation work) 2012-11-17 17:39:33 +00:00
zeromus 05420cf6ec add SID and PSF extensions to frontend 2012-11-13 20:10:06 +00:00
goyuken e95efcb91b throttling UI is now set up to be done in one of three ways: sound, vsync, timer. in addition, there's an option to use vsync even when not throttling to it (but this doesn't really work too well...) 2012-11-12 17:57:11 +00:00
adelikat 5574e335bb C64 - wire up remaining keyboard key controls 2012-11-11 02:36:29 +00:00
adelikat fef2e394e3 Fixes to c64 keyboard in config.cs, start hooking up keys to the core 2012-11-10 03:19:42 +00:00
goyuken ae82ec5de0 gb gpu view: save position and autoload. they fit perfectly in the last few pixels of available real-estate in the form 2012-11-09 18:55:59 +00:00
adelikat 570bb986c2 Remove FDS and VS as mappable keys (user must use menu items) 2012-11-09 02:47:50 +00:00
adelikat d5a87f667c C64 - oops, fix crash due to misconfigured autofire 2012-11-08 19:39:00 +00:00
adelikat 01102b67bd C64- hook up to path config dialog 2012-11-08 17:06:25 +00:00
adelikat 6e5e187b1a NESHawk - hook up remappable controller button for FDS and VS special commands (not hooked up on mnemonics) 2012-11-08 14:49:57 +00:00
adelikat a205158a0f Hook up C64 joysticks on client side (except for mnemonics) 2012-11-08 13:33:30 +00:00
adelikat db2b4584f5 Controller Config - implement Gameboy power button 2012-11-08 04:43:07 +00:00
adelikat 68cba7d792 Genesis - implement Reset button on client side (not yet hooked up in core) 2012-11-08 04:33:18 +00:00
adelikat c32cef4bc4 SNES - Implement Reset and Power as controller buttons 2012-11-08 04:13:55 +00:00
adelikat b59d248cda Controller Config - hook up sms, pce, atari console buttons 2012-11-08 03:16:41 +00:00
adelikat 9681fc137e Controller config - cleanup and fix compiling that was broken in last commit, also turn on new config dialog 2012-11-08 02:20:34 +00:00
zeromus 877b95e3d5 c64-hook up firmwares configuration. expected to be by default in C64/Firmwares output directory, named basic,chargen,kernal 2012-11-06 06:19:27 +00:00
adelikat e7f3abdfc3 Add NES Reset and Power as remappable controller buttons, remapping not hooked up to old config dialog, new config dialog - start console button remapping still has some bugs 2012-11-06 03:27:24 +00:00
adelikat aba91a6a73 Fix cases where Statusbar pause icon didn't appear when paused 2012-11-06 00:04:50 +00:00
goyuken 32a3d9db80 gbhawk gpu viewer: work correctly with palettes and CGB extended BG data 2012-11-05 04:09:04 +00:00
goyuken 271d4102e8 GB: add "GPU Viewer", similar to other gpu debugging tools. doesn't do much yet. 2012-11-05 01:34:11 +00:00
zeromus 9ff8b450f4 add the crudest possible psx disc detector. now other people can watch somewhat garbled psx game intros 2012-11-05 00:11:41 +00:00
zeromus b4b2657965 some libmednahawk work. it can't possibly be used by anyone else yet, but i gotta do a checkin. 2012-11-04 23:29:06 +00:00
adelikat c0c3c36e87 C64 - Pass in extension to the core 2012-11-01 17:56:48 +00:00
adelikat cc4c0ed693 Fix C64 rom loading 2012-11-01 17:06:14 +00:00
adelikat 3858ff9b95 start a skeleton C64 project, mapped .prg, .d64, .g64, .crt to C64, rom loading should work (gets the bytes to the core), haven't tested 2012-11-01 16:48:32 +00:00
goyuken 5cbd11c850 NES: add some vs system stuff. not done yet 2012-10-31 21:15:44 +00:00
adelikat 1d4a8fd3ba Atari 2600 - add a Playfield toggle 2012-10-30 23:38:53 +00:00
adelikat f9c027ddad Add front end and corecomm values for Atari graphics object display toggling 2012-10-30 00:18:56 +00:00
adelikat 3784b710e8 TAStudio - rip out virtual pad stuff 2012-10-29 23:18:20 +00:00
adelikat 04bb6c423e Movie virtual pads to their own tool dialog instead of residing in TAStudio 2012-10-29 22:57:15 +00:00
goyuken 19d3a097b9 mainform: archive autobind add ".fds" 2012-10-29 20:26:37 +00:00
adelikat e8b9bb38b6 Add Save Movie hotkey and context menu item 2012-10-28 23:38:41 +00:00
adelikat 14d5844af8 Save movie menu item 2012-10-28 22:50:19 +00:00
goyuken 853b36482a fix up problems caused by SVN snafu r3553 2012-10-28 15:22:15 +00:00
goyuken 84a86a72a5 mainform: only swallow IOExceptions when loading saveram. other exceptions are unexpected and should not be hidden 2012-10-27 13:57:26 +00:00
adelikat a0111d1c08 Lua - implement client.screenshottoclipboard() and client.setscreenshotosd() 2012-10-27 00:19:43 +00:00
adelikat 4193ddfa5d Lua - implement client.screenshot() 2012-10-26 23:48:28 +00:00
goyuken e6058e6bd8 break some stuff. FDS can eject and insert disk sides now 2012-10-26 18:51:08 +00:00
adelikat 11db3f1912 Atari 7800 - cleanup the BIOS paths and usage of those variables 2012-10-23 20:21:55 +00:00
adelikat 39a54959d0 Atari 7800 - some multiclient todos 2012-10-23 19:13:57 +00:00
adelikat 427a80548c Start an atari 7800 core based on emu7800, if you have bios files in very specific locations and filenames, you can open 2k ntsc games, and watch with no sound or controls! 2012-10-23 03:33:57 +00:00
goyuken 2cdeabfcf3 mainform: detect and recover from a particular bad FDS bios dump that is exactly 40976 bytes long 2012-10-22 18:33:34 +00:00
goyuken 7568ff9437 add FDS skeleton. set up your fds bios with pathconfig, then try to load any file with extension ".fds" 2012-10-21 15:58:24 +00:00
zeromus a34337691a run all version numbers through one place so that gui version numbers and assembly/dll version resources can be the same 2012-10-21 05:21:59 +00:00
zeromus 83a06c4f63 make the rom open filter remember its last option used in this bizhawk session, like how most other programs work. 2012-10-20 22:58:01 +00:00
adelikat 9d25dfa2b4 Open up atari stuff for release builds 2012-10-20 13:40:58 +00:00
goyuken 41780b067f mainform: never skip frames when doing av capture 2012-10-19 14:51:10 +00:00
goyuken 485d7c05c7 make av dumping with avi a bit more graceful error handling. NES: avoid crash when the frontend behaves in a naughty manner 2012-10-18 20:57:53 +00:00
goyuken d465599044 mainform: hawkfile bind to .unf for archive loading 2012-10-17 01:04:45 +00:00
adelikat ef78db51c0 Atari - fix autofire B button on player 2 2012-10-15 15:15:44 +00:00
adelikat 66611556b5 I like tabs, useless commit 2012-10-13 21:10:20 +00:00
adelikat c29a074ea8 Open ROM - add smc and sfc to "Rom Files" on non Release builds 2012-10-13 20:41:14 +00:00
goyuken 1793483aa9 make lua loadstate not trigger impossible callbacks when it runs, so it can actually work without killing the script. there are still other callbacks might not make sense? 2012-10-13 12:44:52 +00:00
goyuken 900568f5ed flush rewind buffer on CloseROM() 2012-10-12 01:19:49 +00:00
goyuken 1f0189dd2c MainForm: fix sound-related crashes on CloseROM() 2012-10-12 01:13:55 +00:00
adelikat 2dacb356c2 OOPS! Undo my change with moving UpdateToolsBefore() 2012-10-11 22:37:44 +00:00
goyuken 92827272a6 reunbreak turbo (both normal turbo and turboturbo) with sound throttling 2012-10-11 01:00:36 +00:00
goyuken b40897bb77 sound api changes. added a new ISyncSoundProvider, which works similarly to ISoundProvider except the source (not the sink) determines the number of samples to process. Added facilities to metaspu, dcfilter, speexresampler to work with ISyncSoundProvider. Add ISyncSoundProvider to IEmulator. All IEmulators must provide sync sound, but they need not provide async sound. When async is needed and an IEmulator doesn't provide it, the frontend will wrap it in a vecna metaspu. SNES, GB changed to provide sync sound only. All other emulator cores mostly unchanged; they just provide stub fakesync alongside async, for now. For the moment, the only use of the sync sound is for realtime audio throttling, where it works and sounds quite nice. In the future, sync sound will be supported for AV dumping as well. 2012-10-11 00:44:59 +00:00
adelikat f234e15df6 Movie UpdateToolsBefore() earlier in the frame loop 2012-10-10 23:38:15 +00:00
adelikat d5885938de Update Statusbar slots when the emulator is loaded 2012-10-10 22:52:11 +00:00
goyuken 927fb7070c sound throttle now respects forced throttle off (user hits fastfoward button, etc) 2012-10-10 17:19:51 +00:00
goyuken 9417eac96c move NesCarts.7z to gamedb subfolder 2012-10-09 20:33:14 +00:00
goyuken 79731827f4 avoid using literal backslash in gamedb path loading 2012-10-09 01:54:15 +00:00
goyuken 8c24417f8d gamedb stuffed into gamedb subfolder 2012-10-09 01:34:21 +00:00
goyuken 3832352dbe add default RomStatusDetails (name, sha1, md5). add pcecd specific RomStatusDetails generated from the Disc 2012-10-08 20:37:41 +00:00
adelikat 0dfbfb592f Re-hook up Load Config, menu item got disabled at some point. Trace logger - update number of instructions when clear button is clicked, show OSD message when saving to disk 2012-10-08 00:27:21 +00:00
adelikat 8545f94315 Status Bar - right-clicking the status slots will invoke a savestate 2012-10-07 19:52:09 +00:00
adelikat 972d8f2f5b Status bar - make selected slot more obvious of a background color 2012-10-07 18:42:42 +00:00
adelikat 7fd74ecb04 dummy commit to mark the end of 1.1.1a and start 1.1.2 2012-10-07 15:41:22 +00:00
goyuken 3d52ed49e5 fix GBC input config tab
fix GBC savestate locations
fix GBC saveram locations
fix GBC screenshot locations
fix GBC titlebar text
2012-10-07 14:52:03 +00:00
adelikat 2a9c78220f Update interim version number, dummy commit to mark the beginning of 1.1.2 2012-10-07 01:28:16 +00:00
goyuken b9b2292a3f restore recently lost behavior where the system-specific mainform menu is called "SGB" when running SGB instead of SNES. this involves no changes to internal passed IDs 2012-10-07 00:00:23 +00:00
goyuken 329ca16bdf unbreak toolstrip menu and controller function for GBC 2012-10-06 23:53:05 +00:00
goyuken 5c4e147da3 fix loading a compressed archive containing a single .gbc file. the number of different places where you can find various extension lists is rather terrifying... 2012-10-06 22:14:10 +00:00
pasky1382 37b054ad43 Re-added the 'GBC' switch. 2012-10-06 22:02:24 +00:00
pasky1382 b1ba573695 Revert that fix, did not upload a GBC db (thought I did) 2012-10-06 21:58:44 +00:00
pasky1382 a52a9b0d44 Fixed a crash when loading a GBC rom (apparently there was no GBC case switch option) 2012-10-06 21:50:48 +00:00
goyuken a9ff371e63 mainform: add slightly informative error message to certain rom load exceptions 2012-10-06 20:59:44 +00:00
goyuken c51d3f787c fix crash in snesgraphicsdebugger when it is immediately moused over after load 2012-10-06 20:00:59 +00:00
pasky1382 d1248e0379 Imported movies retain their original extensions + .bkm 2012-10-06 18:52:33 +00:00
pasky1382 03e4403b9c Imported movie files are now automatically copied over to .\Movies directory and no longer keep their old extensions (i.e. movie.fcm2 is not longer movie.fcm2.bkm but movie.bkm) 2012-10-06 18:19:07 +00:00
adelikat b8070bc92f Lua - fix emu.registerbefore() and emu.registerafter() 2012-10-06 16:13:45 +00:00
adelikat 1c17f8dbed Lua Drawing - fix so that multiple scripts can draw at once 2012-10-06 14:36:02 +00:00
adelikat 644ed40f59 Move lua drawing to after the frame instead of before 2012-10-06 14:24:12 +00:00
adelikat 6aa9608a77 GGHawk - Hook up Highlight Active Display Region option, make this and Show Clipped Regions take effect on Core load 2012-10-06 12:37:38 +00:00
adelikat b88d5ffd5e GGHawk - add option to show clipped regions, show GG menu item, also show on SG-1000, cleanup of the sms/gg/sg menu 2012-10-06 12:27:56 +00:00
goyuken 2229b0ab93 add "FirmwareSHA1" to movie header for SGB and PCECD 2012-10-05 21:04:46 +00:00
zeromus a00081386d fix some things related to sgb movies 2012-10-05 18:20:27 +00:00
zeromus 96089026cd remove "SGB" systemid because its gonna cause a lot of trouble if we dont hook it up in a lot of places.. why can't we set it up as just a regular snes core? and run the sgb rom through the snes firmwares directory. 2012-10-05 04:47:45 +00:00
goyuken 6c723e6815 move ramsearch\ramwatch\hexeditor from toolsbefore to toolsafter. for live play, there is real change. for frame advance play, you now get the most current value when paused between frames. this also fixes a host of minor bugs where tools could have their values change while paused because something else triggered an update to the most current state. 2012-10-04 21:56:40 +00:00
goyuken 98d9f13600 change IEmulator.DeterministicEmulation to get-only; the old interface implies that a core should be able to take a change to the property at any time, which isn't feasable. most existing cores changed to return true all the time. SNES now takes determinism parameter in Load() 2012-10-03 15:31:04 +00:00
goyuken c8849a8422 work around memory leak in captureOSD; probable original cause: SysdrawingRenderPanel 2012-10-02 21:28:14 +00:00
adelikat 13150961cb Controller Config - make input widgets work, also consistent namespace on hotkey dialog (no ((intended)) functional change) 2012-10-02 00:23:37 +00:00
goyuken d4f5ed2f50 Movie playback and recording will now set IEmulator.DeterministicEmulation = true; only snes core actually does anything with this. It hasn't been explained before in a log; so I'll do it now: When in deterministic mode, the snes core internally does exactly one savestate each and every frame. Then, if the frontend calls savestate at all, it always gets the same internal cached savestate. If the frontend doesn't call savestate, then the internal savestate is simply discarded. This way, the exact same number of RunToSave() calls occur every time. 2012-10-01 14:39:52 +00:00
goyuken 2e70656dde add bilinear filter display option (d3d only) 2012-10-01 02:30:25 +00:00
adelikat 64b3b73464 Bizhawk - progress on new controller config 2012-09-30 21:31:32 +00:00
adelikat 075a97f1c4 Checking in my 2nd attempt at an input config overhaul, currently not hooked up 2012-09-30 19:57:33 +00:00
goyuken 89cf8e75fe mainform: fix the bug where choosing a small size from the menu (typically 1x) would cause unexpected black bars 2012-09-30 14:18:21 +00:00
adelikat 247cef6835 Trace Logger - log to the window only up to the maximum number of lines, ability to set max lines, save window position option, show status and instruction count on window, don't autoload trace logger if core doesn't have it available, close trace logger if switching to a non-traceable core 2012-09-30 13:38:37 +00:00
adelikat e865790086 Trace Logger - Hook up autoload 2012-09-30 03:09:41 +00:00
adelikat 52b8161b39 Start a Trace Logger, currently only NES has the right hooks, but it crashes when used 2012-09-30 00:53:08 +00:00
goyuken ddf99f789c when attempting to load SGB, unset SGB config mode if we fail to load the bios file. this avoids a catch-22 where you can't load an SGB because you don't have a rom, and you can't reset to GB mode because you can't get the menu item. 2012-09-29 23:21:55 +00:00
adelikat ff117d2c49 Add a status icon and notification system for settings that require a core reboot, status bar icon if clicked performs the reboot. Hooked up to the GB/SGB set, SMS Enable FM Chip and overclock settings. May need to flag some other settings too 2012-09-29 23:03:51 +00:00
adelikat 486d621657 Status bar icons - actually hide conditional status bar icons when not relevant 2012-09-29 22:37:34 +00:00
goyuken a278015404 i never know where anything is in the input system 2012-09-29 20:30:27 +00:00
goyuken 7e34e7f88b multiclient: add saveram backup feature, similar to savestate backup feature, and config\menu items. defaults to ON.
at the moment, there's no way in the ui to choose to load a backup saveram.  not sure if this is desirable....
2012-09-29 15:32:44 +00:00