Commit Graph

2733 Commits

Author SHA1 Message Date
adelikat 70929679d5 NES - don't recalculated the framebuffer constantly, instead only do it once per frame. ~1fps speed up 2012-08-19 20:01:17 +00:00
adelikat 493cff72c4 NES - tiny speedup 2012-08-19 19:21:35 +00:00
beirich 728c970f16 fix premature commitation 2012-08-19 19:16:08 +00:00
zeromus d1e8bfbd01 discohawk-fix iso handling 2012-08-19 18:10:32 +00:00
goyuken 2a2caa492c add linear resampler (not activated in code). sounds about the same as the other two (ie, no major bugs) on the opening to Golden Axe 2012-08-19 17:46:13 +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
brandman211 26b1d06b7a -Simplified the CPU / STIC connection.
-Made FrameAdvance handle the pending cycle loop. During each iteration, it runs one instruction and ticks the STIC accordingly.
2012-08-14 03:58:11 +00:00
brandman211 9100232547 -Made connections between the signal pins on the CP1610 and the STIC.
--Not sure why the STIC has any connection to the SST, but the docs on the SST are virtually non-existent from what I could find.
--I took advantage of Func and Action instead of passing bool references to both devices. I think this makes sense.
-Added reset functions for both devices.

My comparison log for INTRM is still weird because it says it is true initially (Expected) and remains as such after the first instruction (A bit odd). I think this happens because the STIC is supposed to "tick" and shift SR1 to false immediately, but the STIC tick happens after the CPU tick, and the CPU tick is where the logging happens. I need to find a better place to put this logging, and I need to implement the STIC ticking for IntelliHawk. I'm not positive how to approach the latter issue as I assume a tick means one instruction execution, and my executions happen in a loop on the CPU, which has no reference to the STIC, so I'm not sure where this fits into the equation.
2012-08-13 08:10:15 +00:00
brandman211 fd6201c703 Implemented what to do on an interrupt. This seems to be logical as it tries to execute a GSWD instruction, but it takes the interrupt too early because I haven't figured out when to turn INTRM on / off. 2012-08-13 03:47:08 +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
adelikat aa2475806a CHecking in a possible better solution for a controller config dialog 2012-08-13 01:22:02 +00:00
adelikat a5e369b872 NES - PPU Viewer - more small speed optimizations 2012-08-12 19:42:00 +00:00
rolanmen1 e2469328ae LuaWriter. Color numbers, need to make it color hexadecimals aswell. 2012-08-12 07:06:38 +00:00
adelikat 6dfcd10575 NES - PPU Viewer - draw immediately on load, PPU Viewer / Nametable Viewer - draw immediately on Restart() 2012-08-12 02:21:53 +00:00
adelikat 57987c0a21 NES - Nametable viewer - big speed boost by not repainting the unseen background 2012-08-12 02:13:06 +00:00
adelikat fb3d1a1bd3 NES - PPU Viewer - nice speed boosts by tweaking palette and pattern viewers to not redraw backgrounds 2012-08-12 02:05:37 +00:00
adelikat f84a3709c9 Misc code cleanup 2012-08-12 01:09:30 +00:00
adelikat af1dbf5305 NES - PPU Viewer - other small optimizations 2012-08-12 00:00:57 +00:00
adelikat 9fff16c0f4 NES - PPU Viewer - oops fix last commit, and also slightly better optimized as a bonus 2012-08-11 22:50:14 +00:00
adelikat 379e724d34 Render Panel - some tiny speedups 2012-08-11 22:38:40 +00:00
adelikat 1fcc6a24a5 NES - Nametable viewer - small optimizations ~1fps speed up 2012-08-11 22:32:52 +00:00
rolanmen1 c5577b7850 LuaWriter. I finally finished coloring Strings and Comments correctly. 2012-08-11 05:15:56 +00:00
adelikat 9cb825418f Lua Writer - take over paint event and only paint once per ProcessText(). Still todo: better management of when and what to draw 2012-08-11 01:50:27 +00:00
brandman211 c6cf18061f Scratchpad RAM, Graphics ROM, and Graphics RAM are apparently all 8-bit. 2012-08-10 20:40:34 +00:00
beirich f42b96ba7d ym2612: fix EG Rate calculation. Fix Attack Rate exponential formulation. 2012-08-10 04:46:29 +00:00
rolanmen1 945c12eb13 LuaWriter. AutoCompleteView will change through selected items by pressing Up/Down while keeping focus of the textbox. This will work once a highlight issue get solved. 2012-08-09 21:53:49 +00:00
rolanmen1 4771ba0f15 LuaWriter. Pressing Enter when there's no if, while, for, etc.. will add the tabs that the previous line had. 2012-08-09 20:18:43 +00:00
brandman211 5239b4f55b -Separated the STIC and PSG memory map logic into new objects.
-Foreground / Background | Color Stack Mode
--Actually made a boolean for it (FGBG).
--Reading from a write-only STIC alias of $21 does change the STIC into Color Stack mode, but it doesn't actually read.
--Color stack mode is enabled when $21 or its alias is read and it is disabled (FGBG) when written its written, both having to occur during VBlank Period 1.
---This is what I gathered from the wiki, but I'm confused as to why it says that "The STIC stays in this mode until the program accesses location $21 again." I'm assuming this doesn't mean the mode changes on every access because then I don't understand why a read would change to a different mode than a write.
--FGBG is disabled by default. I don't think it matters.
2012-08-08 23:05:55 +00:00
jxq2000 2fc36dca9b Revert previous commit related to updating colors/format of only one line at a time since that won't catch multi-line strings or comments. 2012-08-08 21:33:24 +00:00
beirich 9979c9f0d5 Add Gun.Smoke (KR) SMS to db 2012-08-08 02:28:54 +00:00
adelikat 1121479a5d gamedb - fix duplicate entry 2012-08-08 01:10:45 +00:00
beirich ce6de177a6 add CJ Elephant Fugitive dump to GameGear DB [CodeMasters mapper] 2012-08-08 01:02:26 +00:00
beirich b07008c7e7 Genesis vdp: small loadstate fix 2012-08-08 00:44:08 +00:00
beirich 32bc79be06 ym2612 mothaaaaafukkkkaaaaaaa 2012-08-07 05:48:30 +00:00
jxq2000 5770931669 Some work in ProcessText to try and alleviate the "OMG WE ARE ALWAYS SCROLLING" problem when typing.
Still needs some work (so no functional change yet), but the initial idea is to allow for checking/updating of only the current row when called from timer_Tick.
2012-08-06 23:19:05 +00:00