Commit Graph

290 Commits

Author SHA1 Message Date
andres.delikat eccefda314 Cheats - handle the main emulator opening a new rom or closing the current one 2011-03-20 01:39:34 +00:00
zeromus c7f0c457ad [NES] work on sound, improve square waves muchly, add 6502 IRQ signal, make add some infrastructure to keep from buffering samples while core is silenced. 2011-03-19 09:12:56 +00:00
andres.delikat f821ff8f50 NES - Game Genie Encoder/Decoder - implement auto-load & window position saving 2011-03-19 01:10:03 +00:00
andres.delikat fc313ea483 Cheat Window - various things implemented 2011-03-17 02:21:14 +00:00
andres.delikat ff5623cd46 Cheats Window - progress (porting various functions from Ram Search) 2011-03-16 14:37:01 +00:00
zeromus 6c297287e5 add FPS display and make some 5% nes optimizations 2011-03-16 06:30:25 +00:00
andres.delikat 26f006b1c9 Start Cheats tool 2011-03-16 03:56:22 +00:00
andres.delikat 9178ccb4b4 Add NES Game Genie Encoder/Decoder (currently only a decoder) 2011-03-15 02:15:03 +00:00
beirich c9c34ef1db PCE: 5-player turbotap emulation 2011-03-14 06:12:40 +00:00
zeromus ebc0134db0 moar fix bettar 2011-03-13 00:44:45 +00:00
zeromus f493e8fe10 fix crashy stuff 2011-03-13 00:38:23 +00:00
andres.delikat 28dc1b9c8e Refactor code for loading one tool dialog from another. Remove PCE address offset from Ram Search 2011-03-10 04:29:19 +00:00
andres.delikat ae2b97050e Ram Search - Context menu item "View in Hex Editor" implemented 2011-03-10 04:22:56 +00:00
andres.delikat 41976d7ce7 On Main form shown event, do system check for appropriate menu items. NES menu will now be shown when auto-loading NES games on start up 2011-03-10 02:50:54 +00:00
andres.delikat 0ffb3f1961 Main form - On Menu activate, check system and enable/disable appropriate menus. 2011-03-10 02:48:35 +00:00
andres.delikat 67f6eee6b6 NES PPU - set up to read nes core, close dialog when a nes rom closes, more checks for proper core type 2011-03-08 19:26:17 +00:00
andres.delikat 791f2bcc2f NESPPU - hook up windows position saving & autoload, and hook up UpdateValues to frame loop 2011-03-08 19:05:23 +00:00
zeromus 859eabc6b7 [NES] overhaul to use bootgod's db as primary data source. it can still merge with the gamedb.txt, although I purged it of every unneeded NES record. iNES header parsing needs to be re-added. 2011-03-07 10:41:46 +00:00
zeromus f1dd4c625a straighten out handling of missing archive files 2011-03-07 02:44:30 +00:00
zeromus d4f8778608 archive file choosing. also, support archive subdirectories. just because i always wanted to. 2011-03-07 02:04:42 +00:00
zeromus 341ee44509 re-engineer HawkFile to be aware of archives. its a little more complex to use now (not only do you have to open it, you have to call one of the Bind() methods on it to choose an interior file), but its more powerful. 2011-03-07 01:07:49 +00:00
andres.delikat de0660c204 Hex Editor - lots of misc stuff like resizing, saving window size/position, creating and hooking up public functions to the multiclient & such 2011-03-06 15:25:21 +00:00
andres.delikat 06e7e30d6d The beginnings of a Hex Editor tool 2011-03-06 15:03:17 +00:00
andres.delikat 9dc75a17e5 Fix SKROM char size, and checking in some movie playback stuff 2011-03-03 20:01:36 +00:00
andres.delikat ced8256dc9 Slight playback fix (still broken) 2011-03-03 18:25:06 +00:00
andres.delikat 36bebea251 Disable user playback when in movie playback mode 2011-03-03 17:18:24 +00:00
andres.delikat 1003ed085b NES - Implement SKROM Board. Zelda II more playable but still bugged, probably something I did wrong. Also added a menu item to enable/disable Rewind. TODO: Zelda II crashes with rewind enabled. 2011-03-03 17:07:12 +00:00
andres.delikat 705a7f6cce Set up a blank NES PPU viewer in a NEStools folder. Make a NES menu item that will appear only when a NES game is loaded 2011-03-02 17:12:48 +00:00
zeromus 4bfc610a8a [NES] tinker around with board detection and add a UNIF warning message, but due to some severe problems with exception handling, the exceptions which make it to the GUI as messageboxes is seemingly arbitrary, so youll never know. 2011-03-02 06:18:26 +00:00
andres.delikat 8dfffb0d04 Make NES controls remappable, Make input config recognize a NES game is loaded and load the correct controller on form load 2011-03-01 13:25:23 +00:00
zeromus 0d5cff7408 [NES] mapper cleanup and savestates 2011-03-01 09:32:12 +00:00
andres.delikat d7ba739b30 Some fix ups to input recording, and setting up the ability to test recording & playback 2011-02-28 01:26:38 +00:00
andres.delikat 423e9c8783 Add SetControllersAsMnemonic() to IEmulator and implement it in the SMS core. Very crude playback now works. 2011-02-27 22:33:25 +00:00
zeromus 454505e5f1 [NES] add p1 controls. theyre hardcoded right now and need to go through the normal controls config system. but i think nes will be a more amazing exercise of the input configuration system than the other consoles...? 2011-02-27 11:40:08 +00:00
zeromus c5febf8e20 neshawk!! emulate attractmode without bugs = initial checkin 2011-02-27 09:45:50 +00:00
andres.delikat 1b428b49ae some more typos 2011-02-26 22:19:46 +00:00
andres.delikat 0ed57b443b Add GetControllerAsMneumonic() to IEmulator that returns a formatted string of controller inputs. Implemented this function in SMS input.cs and hooked up Movie recording. 2011-02-26 21:36:46 +00:00
andres.delikat a5dc7e90b3 Checking in some movie class progress. Basic file saving done. Progress on file loading. 2011-02-25 19:49:29 +00:00
andres.delikat f0378a8313 Ram Search - Refactor saving of config settings, fix remembering of window location & size, and fix anchoring of output label 2011-02-25 02:50:57 +00:00
andres.delikat 04bee5f950 Fix crash on saving config if ram watch is closed. Refactor some config saving stuff 2011-02-25 02:45:22 +00:00
andres.delikat 94ed90cc9d Ram Watch - save column width settings to config 2011-02-25 02:36:52 +00:00
andres.delikat f7198ae966 Ram Search - Memory domain select 2011-02-23 16:22:41 +00:00
zeromus e10cea356a oops 2011-02-23 06:49:52 +00:00
zeromus 6f4b85146c make rewind track the currently chosen speed% 2011-02-23 06:46:03 +00:00
zeromus 6ac8c1544a ok rewind really was broken 2011-02-23 06:40:04 +00:00
andres.delikat 741f2192a8 Ram Search - start new search if a new rom is loaded 2011-02-22 20:17:27 +00:00
zeromus 0f9c38f50b fix sound buffering bugs and restore hookups for mute frameadvance option 2011-02-21 19:06:54 +00:00
andres.delikat e5bac81a0b Display message on screen when speed is changed 2011-02-21 16:43:07 +00:00
andres.delikat 7d0f4f21fe Save & Load Config menu items 2011-02-21 16:35:42 +00:00
zeromus bc74d6c575 complete speed/skip/non60-throttle functionality and controllable vsync. maybe a bit rough, but i'll continue to support it. 2011-02-21 09:48:53 +00:00
zeromus 64f0681fcd dont crash on exit 2011-02-20 18:28:01 +00:00
zeromus f9d7a15ee5 do some prepwork for proper main loop control and throttling 2011-02-20 08:40:22 +00:00
zeromus 840f81f956 hey let me add a placeholder dialog for a change! 2011-02-20 06:44:47 +00:00
kylethomson 2f3fad927a Implement save keys. 2011-02-20 04:31:21 +00:00
kylethomson 1197a1bd33 First Run of Hotkey Dialog. 2011-02-20 02:59:15 +00:00
zeromus 022c4be0c8 add nes stub 2011-02-20 02:17:09 +00:00
kylethomson 9db8f58cb4 Lua window added. Only can browse for script, at the moment. 2011-02-19 22:42:35 +00:00
kylethomson 23555d06c5 Added PCE, todo: Genesis, Gameboy, (LOL TI-83?) 2011-02-19 21:27:10 +00:00
kylethomson 8ae5dc748f My first BizHawk Commit! Better make it an epic one!
My little pony, apocalypse pony! http://www.youtube.com/watch?v=FIY41LrvMFQ
Oh yeah, started redo of input config.
2011-02-19 20:31:32 +00:00
andres.delikat 98a51b3290 Ram Search UpdateValues() hooked up to GameTick() enjoy the awesome slowness! 2011-02-19 02:38:27 +00:00
andres.delikat 03d891cdf8 Allow Ram Search to open Ram Watch, fix so that calling those dialogs from the main menu doesn't create a new dialog if it is already open. 2011-02-18 18:42:28 +00:00
andres.delikat a46101d816 Start Paused menu item 2011-02-18 05:16:21 +00:00
andres.delikat 8759bc5b31 Make saving main window position dependent on a Save Window Position flag that toggles from a menu item 2011-02-18 05:12:23 +00:00
andres.delikat 2d1ab6900d Add Ram Poke to the main menu 2011-02-18 02:55:41 +00:00
andres.delikat 9d6d190ad5 Save Main window position 2011-02-18 02:10:46 +00:00
beirich 577f249905 Misc code cleanup 2011-02-16 04:45:59 +00:00
andres.delikat 6f1272929f Make a DoFrameAdvance() function that will handle any per frame activities (such as updating dialogs), currently it still is called constantly instead of once per frame 2011-02-15 21:40:08 +00:00
andres.delikat 2d955f24c6 doh 2011-02-15 20:57:42 +00:00
andres.delikat 4e67a351a5 Pause emulator before rewinding, otherwise rewind seems to fail 2011-02-15 20:57:25 +00:00
andres.delikat 4ce8946c36 Fix some sound issues by creating PauseEmulator() & UnpauseEmulator() functions that toggle sound as well, changed all code that changes the EmulatorPaused bool to use these functions instead 2011-02-15 20:33:44 +00:00
andres.delikat cac6548fc3 Add Mute Frame Advance & Sound On/Off to sound config (neither option is currently hooked up) 2011-02-15 20:18:12 +00:00
andres.delikat 2b902b0279 Add Sound Config winform (currently blank) 2011-02-15 19:05:21 +00:00
andres.delikat 1ca4fb7ec9 If frame advance is held, advance one frame, then delay 60 ticks, then keep pressing frame advance while held. Also, removed some code I forgot to delete in a previous commit. 2011-02-15 19:01:55 +00:00
andres.delikat f5ccba7918 Separated Emulator unpaused & frame advance conditions since they are not functionally the same. Frame advance now pauses the emulator if pressed while emulator is unpaused. 2011-02-15 18:15:01 +00:00
andres.delikat fdf27ba49b Minor code cleanup 2011-02-15 17:43:38 +00:00
andres.delikat 990934e4bd Add select saveslot 0-9 hotkeys and implemented them 2011-02-15 17:38:30 +00:00
andres.delikat 6dc3be29e3 Check the save slot menu item corresponding to the currently selected save slot during the file menu dropdown event 2011-02-15 17:22:24 +00:00
andres.delikat d7b599ee5f Hook up quick savestate & quick loadstate hotkeys and map them to my preferred key mapping by default 2011-02-15 17:15:51 +00:00
andres.delikat 3fdd1b2ee4 Make an option for emulation to pause automatically when the menu is activated, and make an option to toggle this feature (on by default) 2011-02-15 17:04:07 +00:00
andres.delikat 9f681559f7 Frame counter display 2011-02-15 16:41:03 +00:00
beirich 82be039bf7 fix bug in SMS FM chip toggle ui code 2011-02-15 03:05:25 +00:00
andres.delikat 2c4ef0ad55 Those menu items don't need to be checked/unchecked on the menu item click event now 2011-02-15 02:32:41 +00:00
andres.delikat 5f6a74822f Moving code to check menu items on the new SMS stuff & view sizes into the DropDownOpened event instead of at the beginning of the form. Also added some comments 2011-02-15 02:30:12 +00:00
beirich 88aa2af174 SMS: implement overclock-when-safe option 2011-02-14 06:15:25 +00:00
beirich 5a4e36d828 SMS: add Force Stereo option to gui 2011-02-14 05:02:26 +00:00
andres.delikat 07c4129d22 oops 2011-02-11 02:53:03 +00:00
andres.delikat da90e36efa Add record & play movie dialogs and other movie menu items. Dialogs only have ok/cancel buttons atm 2011-02-11 02:30:45 +00:00
zeromus fe2b6568fc multiclient: add some quick commandline load-slot handling 2011-02-05 21:00:59 +00:00
beirich cc8bb460d7 Fullscreen mode 2011-01-29 08:42:35 +00:00
andres.delikat 54c06ec943 Start a controller config dialog 2011-01-29 00:10:08 +00:00
beirich 366d7994e3 Add SMS options to UI; Add client-options mechanism IGame; Game database support for YM2413 games 2011-01-28 06:46:33 +00:00
andres.delikat bcbad81ecf Hook up Ram Search autoload 2011-01-28 03:52:43 +00:00
beirich 4a25c801a9 Window resizing gui hooked up 2011-01-27 05:35:07 +00:00
beirich d40b7706f8 intelligent? window sizing 2011-01-26 05:06:44 +00:00
beirich c8650fd20b Fix gamepanel being off-center, add two-speed rewind, work started on auto-resizing window (wip, disabled) 2011-01-25 13:24:06 +00:00
andres.delikat 5bfd884522 Add the beginnings of a Ram Search dialog hooked up to main form 2011-01-23 18:56:39 +00:00
andres.delikat f87090283a If prompting for a recent rom error, stop sound 2011-01-21 20:38:37 +00:00
andres.delikat 3dd5fdb64f Fix so Ram Watch can be closed & reopened without crashing 2011-01-21 20:28:06 +00:00
andres.delikat a82037c605 Ram Watch - Hook AskSave to exit menu item, and some misc cleanups 2011-01-21 15:37:14 +00:00
andres.delikat 46d5c40499 Ram Watch - update values during Game.Tick, TODO: make the value updating faster, and move this to once per frame instead of once per message loop 2011-01-21 15:05:15 +00:00
andres.delikat 058a0d3c19 Ram Watch - attempt to hook up UpdateValues() function, doesn't seem to work however 2011-01-21 05:44:24 +00:00
beirich e62c1bc673 add memory API, remove HardReset from IEmulator 2011-01-21 03:59:50 +00:00
beirich 73cf2bc61b SG-1000 almost done 2011-01-20 23:58:58 +00:00
zeromus 8f59b1f582 restore gb core to some semblance of working order, and hook up its debugger; and add the newer, improved Z80A (but not the Z80GB, ironically) disassembler 2011-01-20 06:24:31 +00:00
andres.delikat 9d86fa0eb3 Ram Watch - Load most recent watch when loading Ram Watch dialog (if auto-load is on) 2011-01-19 04:59:19 +00:00
andres.delikat fadcd6c572 Ram Watch - hook up auto-load feature 2011-01-19 04:18:33 +00:00
zeromus bdbd3ebb8b test google code integrated editor by adding TI-83 DisplayNameForSystem. verdict: fail in firefox 2011-01-19 03:39:07 +00:00
zeromus 3c7534e92a TI-83 emulator lol 2011-01-18 10:28:10 +00:00
beirich 0aeb57c3b6 display system name in window title 2011-01-18 07:10:10 +00:00
beirich f283121714 LoadRom() update to allow SG-1000 roms to load 2011-01-18 06:14:25 +00:00
andres.delikat fd691ece0b Made LoadRom value returning and Made a LoadRomFromRecent function. If a recent item fails to load, the user is prompted with the option to remove it from the list. 2011-01-18 04:26:27 +00:00
andres.delikat df4a69cc8b Hook up autoload rom feature 2011-01-18 03:47:59 +00:00
beirich ab8b3972c9 very crappy RecentFiles save/load to config 2011-01-18 03:40:53 +00:00
andres.delikat a44a6d5d30 Add a very bare Ram Watch dialog 2011-01-18 03:36:43 +00:00
andres.delikat c680745810 Move RecentROMs call to inside LoadRom() so that drag & drop and any other types of file loading will save to recents 2011-01-18 02:34:38 +00:00
andres.delikat 75e412c69d Add 7z to Open Roms dialog filter 2011-01-18 02:31:41 +00:00
andres.delikat 7620d08ec3 Save autoload recent rom bool to config 2011-01-18 01:55:01 +00:00
andres.delikat 3fd62d4dcf Make savestate/loadstate menu items gray during null emulator. Also disabled a bunch of menu items that aren't yet hooked to anything 2011-01-17 17:00:35 +00:00
andres.delikat c78c4b014a Rename savestate/loadstate menu items to more meaningful names 2011-01-17 16:31:00 +00:00
andres.delikat 7870f82f87 Made a IsNull function in the main windows form and used it to gray out a bunch of menu items conditionally. Also removed advanced load, for now at least 2011-01-17 16:10:27 +00:00
andres.delikat 8a2307feb4 Make Close ROM menu item enabled only if Global Emulator is not a Null Emulator 2011-01-17 04:24:05 +00:00
andres.delikat 9f715e5f5a Fix up recent ROM menu - Hook up clear even, add separator, add autoload menu item and hook up event 2011-01-17 04:09:53 +00:00
beirich 72ef291ac0 wired up Recent Roms click event 2011-01-17 03:23:53 +00:00
andres.delikat 4bd164b6b2 RecentFiles class - don't exceed the MAX_FILES value 2011-01-17 02:40:08 +00:00
andres.delikat 2d5efc42cd Some progress on recent roms menu 2011-01-17 02:34:52 +00:00
andres.delikat b03b5a6ec1 Get started hooking up recent roms menu items 2011-01-17 02:11:31 +00:00
beirich 457819b331 SN76489: Implemented periodic noise 2011-01-16 21:06:14 +00:00
beirich 0d088bb15b update controls to support sticky buttons, & force-pressing buttons. implement Soft Reset menu item. 2011-01-14 03:38:26 +00:00
andres.delikat 7e58487970 Emulation Menu Drop Down event now checks the Reset Control to see if it exists. If it doesn't, the reset menu item is disabled 2011-01-12 02:08:47 +00:00
andres.delikat 7597c7961b Close ROM menu item implemented 2011-01-12 01:57:53 +00:00
andres.delikat 4c389d270f Implement Power Cycle Menu item by using Emulator.HardReset() method 2011-01-12 01:44:21 +00:00
andres.delikat 9555399790 SaveSlot system implemented. TODO: A way to map shortcuts to regular keys (such as 0-9 for the slots) 2011-01-12 01:21:56 +00:00
andres.delikat e870fd7d24 Add Screenshot Hotkey menu item + shortcut mapping to F12 2011-01-12 00:40:33 +00:00
andres.delikat 45b9891396 oops 2011-01-11 04:21:12 +00:00
andres.delikat 458d642b20 Start/Stop audio on pause/unpause 2011-01-11 03:49:30 +00:00
andres.delikat 757cecf78b Pause menu item implemented 2011-01-11 03:48:14 +00:00
andres.delikat 3dd4b8074e Adding menu items for things I know we want 2011-01-11 03:41:00 +00:00
andres.delikat f0df9a9dd9 Add Individual platform filters to the Open ROM dialog 2011-01-11 03:26:16 +00:00
beirich 054ad76ace Add ROM database 2011-01-11 03:05:29 +00:00
beirich 89e4c5a674 2011-01-11 02:55:51 +00:00