Commit Graph

2746 Commits

Author SHA1 Message Date
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 8c5d8741cb Genesis - add Rom data memory domain 2012-09-02 01:33:12 +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
beirich c91c001093 gen: Fix bug with word-reading Z80 bus status; fixes music in Monster World IV, Thunder Force 3 still boots 2012-09-01 21:04:40 +00:00
adelikat 2af24ba9fd Genesis - add system bus memory domain 2012-09-01 19:49:40 +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
beirich d586876f40 gen: implement H-ints
gen: implement Vram/Vram DMA copy (badly)
gen: fix dumb sprite rendering bug
gen: fix crash bug with certain WINDOW settings
2012-09-01 18:40:52 +00:00
adelikat 35ec42073f NES - implement address poking on the system bus domain. Anything in the EXP, WRAM, PRG regions is done via the built in cheat system due to being handled by the mappers. This may not be the ideal way to do this but it seems to work well, and I don't know of a more logical way to handle this. 2012-09-01 18:34:31 +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
beirich f21429b996 gen: implement WINDOW rendering
gen: initialize VDP registers to power-on values
2012-09-01 05:02:27 +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 c4afd9f393 gen: allow word-reads to query Z80 bus status. now thunder force 3 boots. 2012-08-27 02:59:26 +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
beirich 2f73408029 gen: improved memory map and VDP I/O 2012-08-26 03:43:35 +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 58780191de gen: implement raster effects 2012-08-24 04:45:09 +00:00
beirich 9545475455 gen: render priority improved somewhat... still some issues 2012-08-24 02:30:20 +00:00