Commit Graph

2938 Commits

Author SHA1 Message Date
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 c8aa937f4f snes-memorydomains (but not systembus) 2012-09-04 17:29:20 +00:00
zeromus dd6d0a47e1 hexeditor-print "0x100000 addresses" instead of "1048576 addresses" 2012-09-04 17:26:27 +00:00
zeromus ea6c0b9378 snes-enable savestates. dont get your hopes up, its a bit bloated and weird, and we still need to asses the bsnesariffic savestate synchronization issues. but, it works. 2012-09-04 08:21:01 +00:00
brandman211 e51b79e2fa -Flushed log after interrupt.
-Replaced subtraction with adding the 2s complement in instructions. That way, the Overflow Flag is calculated properly.
-Made it so that the masking of a result to 0xFFFF comes after calculating the Carry and Overflow Flags but before the Sign and Zero Flags.
-The CMPX instructions now use the aforementioned masking to properly calculate the Sign and Zero Flags even though the result doesn't actually get stored.

Thanks to this commit, IntelliHawk executes 1711 instructions properly. Next, it's supposed to take an Interrupt, which is bizarre because INTRM appears to be true at that point. This doesn't seem possible unless I am once again logging at the wrong time, hiding that the INTRM gets set to false before immediately switching back to true after taking the interrupt. Will look into this later.
2012-09-04 07:28:36 +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
brandman211 ca8b778a52 -Noted interrupts in the log.
-Added and Interrupted flag to make it so that interrupts only trigger once per falling edge.
-For now, interrupts take 28 cycles.
-Made it so that the STIC tracks Pending / Total Executed Cycles just like the CPU.
-Forwarded the cycles executed in the CPU to the STIC's Execute.
-SR1 is now inverted when there are no pending cycles.
--If SR1 is high, 14394 cycles are added to the pending cycles.
--If SR1 is low, 3791 cycles are added to the pending cycles.
2012-09-04 06:26:08 +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
beirich 2ef33fbfec gen: fix dumb bug with sprite masking... fixes sprites showing up in WINDOW in many games where theyre not supposed to 2012-09-04 02:56:53 +00:00
goyuken 25e213f157 libsnes sound is functioning. very quick, very dirty 2012-09-04 01:21:14 +00:00
beirich ff8a58a9b7 gen: Implement CRAM read, VSRAM read. Correct sprite coordinate masking, fixing games several games where sprites were missing. 2012-09-04 01:07:03 +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
beirich 0a60a37705 gen: fix Flavio's DMA test rom. and hopefully something else too. 2012-09-03 22:26:33 +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
beirich c9b3f7bedf gen fixes: HINTs shouldnt fire during vblank, some DMA fixes, fix a render priority issue (albeit not the ideal fix), substantial rom compatibility testing 2012-09-03 16:01:56 +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
beirich d745b3112b whoops, commit .csproj also for previous change 2012-09-03 00:46:28 +00:00
beirich dd25cc924a Move ICart.cs from directory/namespace for generic interfaces to Intellivision folder/namespace, as it is entirely Intellivision specific. 2012-09-03 00:45:30 +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