Commit Graph

2373 Commits

Author SHA1 Message Date
goyuken a8fb28f652 finish wiring up reset control for gameboy. i recorded and played back a movie containing a "soft reset", and it worked correctly. 2012-09-15 16:59:21 +00:00
adelikat 77d0ff8ac8 Hokeys - hotkeys for obj and bg toggles for snes (in a SNES tab) 2012-09-15 16:43:16 +00:00
goyuken cfe73b292d add gambatte boot flags to menu and config. i don't like all that stuff in mainform, but it works anyway...
TODO: these flags must also be added to .chickenfucker file header
2012-09-15 16:14:03 +00:00
adelikat c17b0755a1 Hokey Config - clean up the positioning and tab orders of the general tab 2012-09-15 15:30:35 +00:00
adelikat dd64c9d1c9 Hex Editor - on restart don't reset the domain to domain 0 (unless the selected domain doesn't exist, such as in a core change) 2012-09-15 15:13:40 +00:00
adelikat 4a1c1be9ac Ram Watch - context menu for hide/show domain column 2012-09-15 14:53:34 +00:00
adelikat 2256ccc12b Re-add the Skip Lag Frames menu item, not sure when this got removed 2012-09-15 14:48:09 +00:00
adelikat 84cfa9c546 Ram Watch - menu item to hide domain column (still needs context menu item too) 2012-09-15 14:35:13 +00:00
adelikat b4a43c0d44 Hook up autohold-autofire fire pattern to the autofire config 2012-09-15 13:33:04 +00:00
adelikat a075f21af6 Implemented autohold for autofire keys 2012-09-15 13:11:29 +00:00
brandman211 e7b5f57a01 Fixed .SMV >= 1.51 extra ROM info by appropriately shrinking the size of the metadata. 2012-09-15 09:48:13 +00:00
brandman211 dbe985d3b9 -TODOs:
--It doesn't seem like I have to worry about PCECD anymore.
--I also don't think I can validate the CRC32 for .SMV because I don't have the original ROM bytes. This was probably used to compare a ROM loaded by Snes9x with the movie. I added it to the movie header in case a core could utilize it.
--I don't think the "start data" of a .VBM is important. After looking at the docs again, it's clear that it's just another term for either the movie's savestate or SRAM, and that the related note about controller data is just an approximation.
-Added Platforms for Import functions that were missing them.
-Merged the ImportSMV functions all into one; most of the stuff is the same.
-Implemented .SMV 1.51 handling. My Arcade's Revenge run synced and beat the first level!
--This also seems to work for 1.52; 3295S finished Act 2.
--1.53 seems identical as well...3587S syncs all the way through.
-Next comes ImportZMV.
2012-09-15 09:38:20 +00:00
goyuken 83e145c36f change the IEmulator saveram interface.
i don't like doing this, but there were already two emus with special bandaid logic in MainForm.cs
i hope this doesn't break something, but if it does i'll fix it
2012-09-14 22:28:38 +00:00
brandman211 feb503c502 -ImportSMV143
--Added platform name.
--Handled input.
---The input seems reasonable, but the frame counts were originally off by 2. Because the docs say "The controller data contains <number_of_frames + 1> frames," I connected the two and discarded the first frame read. I also noticed that Snes9x first accepts input at frame 0 whereas BizHawk does at frame 1, so that makes up for the other frame. I think this is correct.
--Apparently, Snes9x adds garbage bytes to the metadata when you play a movie. The stuff we want, however, is before a NULL character. As such, I refurbished RemoveNull into NullTerminated, which takes a string and returns everything before the first NULL character. Now the author will be displayed properly no matter what.
-Removed an unncessary dependence to Global.Emulator.SystemId in Get/SetControllersAsMnemonic which made it so that importing a movie without loading a game resulted in blank frames.
-ImportVBM now actually appends the frames it parses. Looks pretty good.
--Note that BizHawk cannot currently do anything with the platform (GB, GBC, GBA, SGB), nor are any of the "other" buttons handleable.
2012-09-14 22:15:42 +00:00
andres.delikat faed5ba5f7 1) Autohold and Autohold Clear hotkeys, same functionality as in FCEUX and other emulators (hold the autohold hotkey then press the controller buttons you want held)
2) Ram Poke - fix poking of signed/hex values, set the signed value to the value of the address on load, other misc fixes regarding signed
3) Hex Editor - add Poke to menu/context menu and Ctrl+P hotkey
2012-09-14 21:31:00 +00:00
goyuken 4101efb92d implement ClearSaveRam in gambatte core, and fix a bug with using memory domains before any frames have been run 2012-09-14 21:29:35 +00:00
brandman211 17567b4952 Fixed the author / game name handling. Now all that should be left is the actual input for SMV143. 2012-09-14 17:36:49 +00:00
brandman211 c949276815 -Parsed the gameName from the extra ROM info.
--I think the proper way to obtain this is through the metadata, which I still don't know how to handle.
-Fixed the savestate offset.
-Parsed out the CRC32 of the ROM, though I haven't done anything to validate this, which is probably a good idea.
2012-09-14 01:53:04 +00:00
adelikat 39b891c824 Lua Writer - when file is saved it is a recent lua file not a recent watch file! 2012-09-14 01:26:38 +00:00
adelikat 5c5b290c75 Ram Watch/Search - fix loading of watch files 2012-09-14 00:30:29 +00:00
adelikat 3959b5f4fc Lua Writer - don't crash when attempting to save (save & save as), also a new script = flag changes 2012-09-13 23:07:34 +00:00
goyuken 12d06a2c94 add system bus memory domain to gambatte
in order to guarantee correct resolution of mappings and mmio every time, all calls go straight to the core and are not cached
this makes this domain slower in performance than the other ones.  it can also be more difficult to use in some cases because you have to resolve mappings that you may not care about.
there is also the possibility of side-effects on reads, although i do not believe that this actually happens in any situations.  still, use at your own risk.
2012-09-13 21:03:34 +00:00
brandman211 1c4b218289 Progress with ImportSMV143. 2012-09-13 19:33:55 +00:00
andres.delikat 5d514e3294 remove empty menu item in gameboy menu 2012-09-13 16:17:22 +00:00
brandman211 9da5393ce3 -.LSMV: \r is considered off. Empty lines should be ignored. 2012-09-13 10:26:44 +00:00
brandman211 7f2a18b3af -.LSMV importer.
--Handled authors, gametype, systemid, coreversion, rom.sha256, moviesram.*, savestate, and subtitles.
--Skipped port1, port2, controlsversion, projectid, saveframe, lagcounter, pollcounters, hostmemory, screenshot, sram.*, rrdata, starttime.*, savetime.*, and prefix.
---I don't think any of these are useful for us, at least not at this stage.
---The other *.sha256 files will be useful if / when BS-X, Sufami turbo, and SGB are implemented.
--Handled flags.
---Handled resets.
---Disallowed subframes and delayed resets.
-.LSMV is good enough for now. .SMV and .ZMV coming next.
2012-09-13 10:21:25 +00:00
adelikat 64cac4c1a2 Cheats - if NES core - show a game genie menu item and tool bar button (Loads the Game Genie encoder/decoder) 2012-09-13 03:10:53 +00:00
adelikat 3e3748f87b Ram Poke - on load and signed type change, display the value in the value box accordingly 2012-09-13 02:59:32 +00:00
adelikat 24649e49e7 Ram Poke - make Value the default highlighted textbox, Ram Search - show shortcut keys of context menu items that have them 2012-09-13 02:47:16 +00:00
brandman211 c3fcbc5987 .LSMV importer now handles gamename and rerecords. 2012-09-13 02:45:08 +00:00
goyuken 34d97bc760 as gambatte does not support showing the boot rom at all, remove that menu option 2012-09-13 01:09:03 +00:00
adelikat 00a003f292 Hex Editor - fix alignment of column headers in 2 & 4 byte views 2012-09-13 00:52:16 +00:00
adelikat 99ace126d2 Fix Ram Poke dialog 2012-09-13 00:49:58 +00:00
adelikat f9bc7fd15e Movies/Paths - add a backup movie path to Paths config and have Movie backups use that path 2012-09-13 00:44:17 +00:00
adelikat bdc2198b3f Play Movie Dialog - fix duplicate movie bug 2012-09-13 00:29:19 +00:00
adelikat 68d79dd991 TAStudio - fix exception when loading states in record mode. Caused by a out of bounds exception on the StateRecords array. This is just a band-aid, tastudio should not be asking for out of bounds information, that needs to be fixed. 2012-09-13 00:17:39 +00:00
adelikat 01dec3762c SNES - fix movie recording! 2012-09-12 23:40:35 +00:00
goyuken 03caa3b32f gambatte dmg palette editor. blah. 2012-09-12 22:18:51 +00:00
brandman211 ae4dfbc00e -Imported .LSMV buttons.
--Haven't done anything with the flags because I don't know what they are supposed to do yet.
--Speedy Gonzales v2 doesn't sync after being converted, but I don't think that's my fault.
-Flags and other data will be parsed soon.
2012-09-12 05:59:09 +00:00
brandman211 8a24de458f -Added the SNES formats to the Import dialog.
-Figured out how to get files from the .LSMV archive. Will write the input parser shortly.
2012-09-12 04:11:35 +00:00
zeromus 9e1ecd02d2 snes-forgot to actually employ the ability to fix the random number seed which ilari's patches enabled. now the random seed is always 0. 2012-09-12 02:55:06 +00:00
zeromus 05f1608de5 add some helpful overloads to HawkFile for working with known filenames, instead of just extension lists 2012-09-12 00:41:07 +00:00
goyuken d57e195e52 gambatte: add oam, hram to memory domain list 2012-09-11 19:05:44 +00:00
pasky1382 c5e71487fd color edit 2012-09-11 18:31:02 +00:00
goyuken ed2b690f75 add memory domains to gambatte
appears to work, but i don't really have much of anything to test on it
ramwatch is horribly slow
2012-09-11 15:28:38 +00:00
andres.delikat 0afd4f3c09 Lua - fix gui.drawLine/Pie/Ellipse/Polygon/Pixel/Bezier from commit 2908, the way those were done was causing exceptions after the 1st draw 2012-09-11 14:47:41 +00:00
adelikat 7be2ea0946 Cheats - fix emulator freeze with bad config files 2012-09-11 03:25:39 +00:00
adelikat 2fd67585b0 Hex Editor - fix restart, addresses now update 2012-09-11 00:21:50 +00:00
adelikat eaa212fef7 Hex Editor - fix 6 digit domains (note that 8 digit will still fail should we have any) 2012-09-11 00:17:54 +00:00
adelikat 95cb43329b Hex Editor - remove a variable and references to it that is obsolete since I revamped the drawing, it was causing the highlighting to be off on anything other than 4 digit addresses. Partially fixes messed up hex editor in 6 digit domains such as SNES ram 2012-09-10 23:52:42 +00:00
goyuken 4e35cb566f functioning saveram support for gambatte 2012-09-10 23:40:53 +00:00
goyuken efbe114e76 remove libgambatte.pdb because it has cooties 2012-09-10 22:02:02 +00:00
brandman211 f11a790e34 -Added ImportLSMV, ImportZMV. Neither do anything substantial yet.
-Added .int to the Rom Files list.
2012-09-10 21:35:56 +00:00
andres.delikat 33969fd8bd Oops, checked in a change to the interim flag, also updated the interim version to 1.1.0 interim while I was at it, change experimental status on some things in rom loader. Overall, this is a useless commit 2012-09-10 21:26:22 +00:00
andres.delikat be3b97ece0 SNES - Graphics Debugger - hook up the usual auto-load and save window position, added a menu, put disabled screenshot menu items todo, some UI niceness 2012-09-10 19:44:44 +00:00
andres.delikat b6d317e0a6 SNES - menu items to toggle bg and obj layers 2012-09-10 19:12:34 +00:00
andres.delikat 622c75545f Move SNES Graphics debugger to a SNES menu (dynamically shows/hides for SNES roms) 2012-09-10 18:32:36 +00:00
andres.delikat 1068987a33 Add SNES controller image to input config, also some tweaks to the dialog. TODO: all these controller images could be better 2012-09-10 18:21:53 +00:00
andres.delikat 1460f7b860 Input Config - show when a button mapping conflicts with a hotkey mapping (but still allow it) 2012-09-10 17:49:33 +00:00
pasky1382 259be1c607 Changes to contra 3 lua 2012-09-10 13:34:13 +00:00
zeromus e87bddc2ee etc 2012-09-10 04:16:30 +00:00
zeromus 3cd5bfe375 stop blocking keystrokes from creating controller input when they match hotkeys 2012-09-10 04:13:02 +00:00
adelikat f7addb3419 Hotkey Dialog - fix tab orders, Hotkey/Input config - change highlighted color to light blue instead of red as that is a more logical highlight color 2012-09-10 04:11:17 +00:00
adelikat 75a1cd9e4a Ram Watch/Search - Save and Load the domain of each watch into .wch files (still maintains backwards compatibility with old bizhawk .wch files as well as .wch files from other emulators 2012-09-10 03:11:06 +00:00
adelikat 4df5293974 Hex Editor - pass domain on the Add to Ram Watch feature 2012-09-10 02:39:56 +00:00
adelikat acae69dc91 Ram Watch - Implement Domain column 2012-09-10 02:37:44 +00:00
adelikat 5adb7fcc91 Ram Watch - fix ability to watch multiple domains at once, New/Edit/Duplicate watch dialog - allow pasting into address box, reformat address box on blur 2012-09-10 02:03:24 +00:00
zeromus 8e42658702 completing the trifecta: fix the terrible nondeterminisms that made series of snes romloads act wacky 2012-09-09 21:19:54 +00:00
goyuken a6caa8680d fix up rom loading routines for libgambatte to use memory block directly (and not file) 2012-09-09 21:15:54 +00:00
beirich 90d1d12086 gen: fix some vram corruption issues
general: fix some build warnings
2012-09-09 21:15:20 +00:00
zeromus 52df58c84d change some instances of "AVI" to "AVI/WAV" since traditionally these are separate options. its sort of cool the way we've got it in bizhawk though, maybe we should make it a new standard and make new nomenclature 2012-09-09 19:52:08 +00:00
goyuken 19d62c44d5 new compiled version of libgambatte.dll
savestates appear to work
2012-09-09 19:02:33 +00:00
zeromus f3b6afa5ad change libco to use an msvc-compiled dll so that it doesnt get wrecked whenever the .net GC process suspends a thread in a coroutine. cant figure out how to get that same code working compiled by mingw32. 2012-09-09 19:02:13 +00:00
goyuken 0b332e1373 add indep libgambatte solution, plus release compiled libgambatte.dll in multiclient output folder 2012-09-09 12:21:02 +00:00
pasky1382 97f8676bce More swag 2012-09-09 05:52:41 +00:00
pasky1382 ee8e420e21 Swag Swag Swag 2012-09-09 05:27:11 +00:00
adelikat 64419fa501 Hex Editor - fix inability to paste into find box when in hex mode 2012-09-09 04:11:51 +00:00
pasky1382 0f47e005bb Contra 3 like a baws 2012-09-09 03:14:33 +00:00
beirich cbe1292e16 fix GB RewireInputChain crash 2012-09-09 02:06:07 +00:00
beirich e8de0327d2 Remove the 2 dead gameboy cores 2012-09-09 01:31:30 +00:00
goyuken d3cb60d833 remove a few notimplemented exceptions, and add .gb, .gbc to the standard open file dialog.
.gbc fails to load because of something else...
2012-09-08 22:01:47 +00:00
goyuken 588d6214d5 more gambatte wrapper stuff 2012-09-08 21:36:04 +00:00
zeromus 9c71a24666 display SNES and Intellivision in window title when the appropriate games are loaded 2012-09-08 21:09:10 +00:00
zeromus 285b9581f2 snes-work on graphics tools. can now render typical BGs for mode 1. SLOWLY!!!!! this is definitely getting turned into c++ code 2012-09-08 20:03:04 +00:00
zeromus e32f2ed67b try fixing new sram issue from r2848 2012-09-08 19:02:28 +00:00
goyuken 001b28c60e replace junk and bad license resamplers with libspeexdsp (using p/invoke). MIT licensed, sounds pretty decent.
the p/invoke wrapper class is a hackjob i was using for testing and will be replaced.
2012-09-07 18:49:18 +00:00
brandman211 2a41b8eda7 The EROM / GROM is now expected to be .int or .bin. 2012-09-07 06:36:23 +00:00
zeromus cfe1e749a1 hook up path config for intellivision and change erom and grom to use it. now you need erom.bin and grom.bin in the Intellivision directory by default. 2012-09-07 06:18:58 +00:00
zeromus b87af7d429 lua-try caching solidbrushes and pens for faster drawing 2012-09-07 03:34:16 +00:00
zeromus ad6910fd74 snes-some beginning steps on graphics debugging tools. nothing to see yet, move along 2012-09-06 08:32:25 +00:00
goyuken a85dadcf7d did a bunch of listening tests with libsnes and metaspu. switched to vecna metaspu
it seems to be the most stable when the system is fast enough to maintain approximately 100% speed.

also fixed up metaspu in dumping and switched it to vecna.  i can now have clean audio while running libsnes with lua script and ffmpeg dumping.
2012-09-06 00:07:37 +00:00
zeromus ade89fe798 snes-fix bug where loading more than one snes rom would wreck the emulator 2012-09-05 23:16:08 +00:00
pasky1382 60e267dd91 minor edit in the script. 2012-09-05 02:42:14 +00:00
pasky1382 d6a18f5f12 updated the metroid hitbox viewer script. 2012-09-05 02:35:09 +00:00
adelikat ead2d186cf SNES - hook up movie playback, probably, needs a frame counter to use it 2012-09-05 02:24:03 +00:00
adelikat f1de424aa3 Fix input display that I broke yesterday. Hook up SNES input display and movie recording (but not playback) 2012-09-05 02:07:30 +00:00
goyuken 9b8e54989c now that i've had a little more time to understand Metaspu, i see quite easily how it can be used in the place of DualSound, so do that. only actual effect of change should be how audio sounds while recording is going on. as an orphan, DualSound will likely be deleted soon. 2012-09-05 00:36:38 +00:00
pasky1382 34da5a0bb1 Added legend of toki hitbox viewer lua script for genesis. 2012-09-04 23:35:59 +00:00
pasky1382 46ccd190dd Added Super Castlevania 4 hitbox viewer lua script. 2012-09-04 22:51:39 +00:00
pasky1382 f5d728bd35 Edited the Super metroid lua, added super mario world hitbox viewer lua script 2012-09-04 21:55:41 +00:00
andres.delikat 71e07d0493 add a null check that could potentially crash the emulator in the HowMany() function I wrote for path and watch functions. No functional change probably. Also clean up the organization of this method 2012-09-04 20:40:39 +00:00
zeromus eb67d2b666 fix archive chooser opening issue with zips containing solely one .sfc 2012-09-04 20:29:37 +00:00
zeromus b2b1c8755c snes-apply lsnes patches 2012-09-04 20:23:18 +00:00
zeromus 4903ad240c snes-change libsnes color output to 32bpp to avoid having to uncrunch 16bpp pixels, for an indeterminate speedup 2012-09-04 19:25:09 +00:00
pasky1382 7d04b60b85 2012-09-04 19:23:23 +00:00
zeromus 9726b75ec4 snes-support layer toggles (needs gui hookups) 2012-09-04 19:12:16 +00:00
zeromus e364353131 add .sfc to fileselector UIs 2012-09-04 18:07:40 +00:00
zeromus 76cfbc47c1 fix loading of non-snes games, and try to make snes core reset a little more reliable by reconstructing more 2012-09-04 18:04:06 +00:00
zeromus dd6d0a47e1 hexeditor-print "0x100000 addresses" instead of "1048576 addresses" 2012-09-04 17:26:27 +00:00
zeromus d02f925e13 snes-support SNES subdirectory for sram and such 2012-09-04 07:14:29 +00:00
zeromus f5c0965045 snes-support save ram 2012-09-04 07:09:00 +00:00
zeromus caed262122 snes-try and determine whether game is snes based on libsnes's internal heuristics, and use .SFC for it anyway 2012-09-04 06:08:46 +00:00
adelikat 2de8e3c346 Ram Watch/Search/Poke - use Watch objects internal domain value, this commit doesn't add functionatility yet (may have even broke something), but will lead to eventually being able to watch multiple domains at once, and some ram search optimizations 2012-09-04 00:33:47 +00:00
zeromus 0cc6bf072e needed another mingw dep 2012-09-04 00:30:40 +00:00
zeromus 83d345c6f7 oops 2012-09-04 00:23:09 +00:00
zeromus 37e6f68370 bsneshawk step 1 of N - compile libsnes, make bsneshawk core, setup interop, support frameadvance, video, gamepad. games are playable, I think. 2012-09-04 00:20:36 +00:00
adelikat 2cd7af1c4c Ram Poke - use a nullable int, -99999999 is now a valid poke/readable number! 2012-09-03 23:45:41 +00:00
adelikat 1f454af2c3 Refactoring of Watch object and related tools, add domain into Watch object. No functionality changes in this commit 2012-09-03 23:42:00 +00:00
adelikat a48562bc36 NES Graphics Config - double clicking GB color opens up color selection (same as clicking change), clean up outdated TODO list 2012-09-03 21:52:51 +00:00
adelikat 632127fe0a NES - don't record lag frame status into movies, it is not necessary for TAStudio anymore 2012-09-03 21:38:11 +00:00
adelikat 80012d29c6 TAStudio - store whether or not a frame was a lag frame along with the state for green zoning, show lag frames in red based on this flag rather than something recorded into the movie file, also fixed a bug I introduced in the last commit 2012-09-03 21:28:10 +00:00
adelikat ac91ed67a6 Movies - refactor & cleanup the MovieLog class 2012-09-03 20:55:05 +00:00
adelikat 6142e2a8f1 Movies - a bit more cleanup 2012-09-03 20:26:51 +00:00
adelikat 1b20175a81 Movies - final round of refactoring, also removed all code relating to the StopOnFrame variable. The fast foraward button on TAStudio now loses some functionality, but the code that did it needed an overhaul 2012-09-03 20:17:57 +00:00
adelikat 8f408737da Movie refactoring - round 2 2012-09-03 19:42:53 +00:00
adelikat 27f4663125 Movies - round 1 of code cleanup (no functional changes) 2012-09-03 15:05:09 +00:00
adelikat eae73accf3 Hex Editor - text option in Find Box, this feature converts text to its byte codes and searches that byte array 2012-09-03 01:17:03 +00:00
adelikat ad162b614f Hex Editor - implement text area highlighting 2012-09-03 00:49:59 +00:00
adelikat 2e19451b0f Hex Editor - implement Save, and Save ROM file menu options 2012-09-02 23:12:00 +00:00
adelikat 86f3394be0 Hex Editor - support archived roms for the Rom File domain 2012-09-02 22:45:06 +00:00
adelikat 4031fd8324 Hex Editor - preliminary support for a ROM File memory domain (regardless of platform). Loads the actual contents of the ROM file into the Hex Editor. Note: this is the file, edits would have no effect on gameplay until the game is reloaded. Currently does not work with ROMs in archives, and needs some specifical menu items and tweaks. 2012-09-02 19:22:51 +00:00
adelikat d8393a5a71 Ram Search - move auto-load menu item to options menu instead of recent, since it only autoloads the dialog, not a file 2012-09-02 18:33:59 +00:00
pasky1382 d0c764e683 fixed the rondo lua script to include a scaler for text display. 2012-09-02 17:08:47 +00:00
adelikat 16bc441231 Lua - implement client.screenwidth() and client.screenheight() 2012-09-02 16:49:58 +00:00
pasky1382 df440e97ec (minor spacing edits in LuaImplementation.cs)
Added rondo of blood lua script in scripts folder for PC Engine.
2012-09-02 16:26:43 +00:00
adelikat 63ef0c0832 Lua - implement emu.registerbefore and emu.registerafter. Note that all lua work is done on the beginning of the frame (before) by default. also note that Registerbefore will run before normal lua processing. 2012-09-02 16:23:42 +00:00
adelikat b45a9b80a3 Fix lua drawing from disappearing while paused, only have it update once per frame, and have it draw before frame advance 2012-09-02 14:54:30 +00:00
pasky1382 bc3e9edb96 Fixed what i previously broke in the Lua bitwise functions. 2012-09-02 14:47:12 +00:00
adelikat 5c49a14344 Revert the moving of lua running in the frame loop 2012-09-02 14:33:30 +00:00
pasky1382 6a8c87d598 Fixed bitwise operators, all function arguments take object types so they display correctly under the lua function list. 2012-09-02 14:20:08 +00:00
adelikat 8bed5ae6da Move lua events to the end of the frame loop 2012-09-02 14:14:36 +00:00
pasky1382 c31322400f Fixed an offset in the script. 2012-09-02 03:46:09 +00:00
adelikat d942c68086 Add Paskys Ninja Gaiden lua script to lua scripts folder 2012-09-02 03:24:36 +00:00
adelikat f519fa0e2d Ram Search - fix Truncate from file, and exclude ram watch 2012-09-02 03:05:48 +00:00
pasky1382 02c447becb Fixed gui.drawBox. Now draws correctly when width is a negative value. 2012-09-02 02:37:25 +00:00
adelikat 1f128aeda4 Ram Search - small speedup on UpdateValues 2012-09-02 01:52:16 +00:00
adelikat 5179710c82 Ram Search - fix undo 2012-09-02 01:21:57 +00:00
pasky1382 cd292d7fd2 Added a gui.drawBox() function in the lua engine. Uses four coordinates to draw a box like other emulators rather than a height/width argument. 2012-09-02 01:15:18 +00:00
adelikat d6f3c05ecd Ram Search - fix broken searching, also some code cleanup 2012-09-02 01:05:08 +00:00
pasky1382 ff218af117 Added lua bitwise operators, AND, LSHIFT, RSHIFT, OR, XOR, NOT, ROTATE LEFT, ROTATE RIGHT. 2012-09-02 00:56:50 +00:00
adelikat 0e1bf887b6 Cheats Dialog - fix losing of values on restart, editing a cheat flags changes 2012-09-01 19:29:41 +00:00
adelikat dd41cb6365 NES Cheats - fix so that only the system bus uses the built in cheat/game genie system 2012-09-01 18:15:04 +00:00
adelikat c1d2272aec Cheats - if cheats file is empty dont show "Cheats file loaded" message 2012-09-01 17:44:55 +00:00
adelikat e5a3764f69 Cheats - implement Compare textbox 2012-09-01 17:31:56 +00:00
adelikat 3b39b2b898 Cheats - add compare column, and show active cheat rows in cyan (like other tool dialogs), do validation on address and value textboxes when adding/editing a cheat 2012-09-01 17:09:44 +00:00
adelikat 21cd754a7d Cheats - implement removing of cheats for the NES core 2012-09-01 14:35:12 +00:00
adelikat e741aa2af0 NES - fix game genie codes with an empty compare text value 2012-09-01 14:18:54 +00:00
adelikat 9b7404b059 NES - Round 1 of Hook up NES cheats for system bus (i.e. game genie codes now work) 2012-09-01 14:13:36 +00:00
adelikat 816435ad2f Some backend changes to support compare value in cheats, no visible changes yet 2012-08-31 11:59:14 +00:00
adelikat cfadca6fd6 NES - sound config - set ok/cancel winform properties 2012-08-31 02:11:55 +00:00
beirich e24f0962fc gen: fix dumb tile priority bug (primarily affects Ghouls n Ghosts, which use the layers backwards from normal) 2012-08-30 04:29:33 +00:00
adelikat ff84855f2a Ram Search - another speed up - prevent recoloring the background unless it has changed 2012-08-29 02:58:22 +00:00
andres.delikat 0e02fd7ee4 Ram Watch - major speed up of the preview feature especially with large memory domains, got a 30fps boost on gens system bus. THere is still a lot of code to clean up as a result, and I touched everything about the search feature so there may be regressions in this commit. 2012-08-29 01:42:04 +00:00
adelikat 7bc1e88d1d TAStudio - Rewind button - fix logic when movie is finished or inactive 2012-08-28 03:18:53 +00:00
adelikat 644caa4786 Record Dialog - do not prompt to overwrite on save file dialog (otherwise the user is asked twice when the main dialog asks) 2012-08-28 02:29:48 +00:00
adelikat 1a75f0734d Max Turbo - bypass limit frame rate, and auto-minimize skipping, and ramp up frame skip to 20 2012-08-28 02:20:22 +00:00
adelikat f5e08a72d0 Max Turbo - bypass on screen messages/gui text/ram watch on screen 2012-08-28 01:48:01 +00:00
adelikat ebf029b76d Some turbo speed refactorings - added a new hotkey for turbo mapped to shift+tab, rennamed the original turbo as unthrottle (since it is simply a toggle for this feature) and removed its mapping. On the new turbo, lots of various things will eventually be in place, but right now it bypasses tool updating. Still todo: have it max out frame skip and whatnot, also what is the difference between unthrottle and the limit framerate option? I think these should be merged. 2012-08-28 01:29:07 +00:00
beirich 8ad3e72ffa Allow easy swapping of active 68000 core the C# core, or Musashi... As we are likely to be swapping between versions rapidly for some period of time. 2012-08-26 14:39:06 +00:00
adelikat 7ad3ea9ef5 Movie - clean up some code that has gotten crusty in the frame loop and refactored it, fixed logical errors at the end of a movie regarding playback, rewind, and loadstate. Movies now go correctly into finished or play mode under various circumstances. Removed the stop on frame code because it was breaking things, this will be a regression in functionality in tastudio until it is rethought. 2012-08-25 23:31:54 +00:00
rolanmen1 7a9e5d856b LuaImplementation: Implemented forms.setproperty and forms.getproperty. Kinda buggy though. 2012-08-25 22:45:44 +00:00
adelikat 5486acbbbc Movies - fix a regression that happened at some point where the movie is not truncated on a loadstate that triggers record mode (instead it would keep the entire movie in the savestate and record over each frame, this would leave garbage data that could lead to potential desyncs) 2012-08-25 22:18:54 +00:00
adelikat cca1396fad NES - save framebuffer to savestates in the same manner as other cores 2012-08-25 18:18:05 +00:00
rolanmen1 6cec0f0182 LuaConsole: Call UpdateNumberOfScripts after you delete a script.
LuaImplementation: Added emu.ispaused(), also added the parameters width and height to forms.label and forms.button
2012-08-25 17:01:13 +00:00
rolanmen1 8f22c9098b LuaConsole: The Label that counts the scripts gets updated each time a change has been made to the ListView, also removed all calls of the said function. 2012-08-25 12:17:44 +00:00
beirich 377dce08d7 switch to using the real megadrive gamedb (eliminate issues with the temporary one) 2012-08-20 03:12:36 +00:00
adelikat 694f2aaae6 Ram Search - very slight optimization 2012-08-20 00:22:57 +00:00
adelikat df5ddfced8 oops 2012-08-19 23:49:42 +00:00
adelikat 6108a88245 About box cleanup - use emuversion constant so I don't have to update it in two places, add a release date constant so I don't forget to update that, some misc dialog tweaks 2012-08-19 23:44:17 +00:00
adelikat 07c32e23ba GUIText (Lua and ram watch) - remove gray in drawing 2012-08-19 23:24:16 +00:00
adelikat 1350daa5d4 Clear Lua and Ramwatch lists on loadstate, fixes problem of garbled drawing on loadstate 2012-08-19 23:22:10 +00:00
adelikat 72cc4aa50a DrawScreenInfo was being run twice, removed one of the calls 2012-08-19 21:54:23 +00:00
beirich 728c970f16 fix premature commitation 2012-08-19 19:16:08 +00:00
beirich 4ba8fcf227 ym2612: Implement detune. Implement a somewhat better resampler, still not a Good One. 2012-08-19 04:41:34 +00:00
adelikat 43518a3a57 TAStudio - add hotkeys for Clear and Insert # Frames 2012-08-18 00:09:00 +00:00
adelikat 514c3200d7 remove more tastudio instances in movie class, TAStudio - re-hook up double click event 2012-08-18 00:04:12 +00:00
adelikat c9ddbd6d89 TAStudio - implement Cut function, fixes to insert, and delete, minor cleanup of movie object 2012-08-17 23:56:37 +00:00
adelikat 37f5027de6 TAStudio - implement copy function, and slicer section 2012-08-17 23:27:29 +00:00
adelikat 952892b5df TAStudio - implement Truncate Movie 2012-08-17 03:24:33 +00:00
adelikat 862caafd05 TAStudio - implement Insert # Frames, and Select All, hide context menu items based on read-only status 2012-08-17 03:04:35 +00:00
adelikat d7e05ceb32 TAStudio - implement clear frame, pause emulator on TAStudio load 2012-08-17 02:26:47 +00:00
adelikat 9baf1b8f28 TAStudio - implement clone frame feature, and some UI and Movie object cleanup 2012-08-17 02:18:25 +00:00
adelikat e900a5b1ba TAStudio - fix up Insert Frame functionality, add it to non-interim builds, and map hotkey as ctrl+shift+ins 2012-08-17 01:26:00 +00:00
adelikat 932303df68 TAStudio - hook up Ctrl+Mousewheel to frame advance and rewind events. TODO: Figure out how to (also) add right-click + mousewheel 2012-08-17 01:01:46 +00:00
adelikat 99f073266d Ram Watch - fix bug where values are not updating after a power cycle/rom load/movie load 2012-08-15 01:35:17 +00:00
adelikat 0ed2ec1be9 Ram Watch - oops, fixed last commit better 2012-08-15 01:14:25 +00:00
adelikat 0d867101bf Ram Watch - if both auto-load and display on screen are set, don't load the dialog when loading the emulator (just load the watches on screen) 2012-08-15 01:03:27 +00:00
adelikat 3e3b154895 Ram Watch - fix endless exceptions when loading different ram watch files 2012-08-15 00:56:34 +00:00
adelikat 7d9cee2905 Remove new controller config idea 2012-08-13 03:23:25 +00:00
adelikat d8a21d18ff Revert use of new input config dialog 2012-08-13 03:17:47 +00:00