Commit Graph

54 Commits

Author SHA1 Message Date
adelikat 630595e848 putting emu7800.dll in svn so that the main sln at least compiles 2012-12-13 03:26:30 +00:00
goyuken 210d415e3d Add Blargg's "blip_buf" as an unmanaged dll. license is LGPL; if I like the way it works, I'll rewrite it with MIT code. Implement it as the new resampling output track for NES. Small (~3%)? speedup. Should sound better, especially when the emulator can't quite keep speed. 2012-12-09 03:13:47 +00:00
zeromus aaf06d76d3 snesgfxdebugger-add BG scroll regs 2012-12-03 18:59:08 +00:00
goyuken 0ef0ef6357 gba: debugging output for software interrupt. todo: possibly bind this to some setting? 2012-12-03 18:49:05 +00:00
goyuken e24d1efbd4 snes: cpu tracelogging. <1% extra overhead incurred when the tracer is not active. 2012-12-03 01:48:18 +00:00
goyuken 451f786660 snes: fix crash with rewind enabled in tales of phantasia. the problem seems to be that during runtosave(), the smp hits a wait opcode (0xff), which it can't get out of. with this fix, the emulator no longer crashes, but the emulated game does crash. more research is needed. 2012-12-02 18:32:33 +00:00
zeromus 207e974d9e updated libsneshawk.dll 2012-12-01 08:33:19 +00:00
zeromus db37a6f64f snes-reset the libsnes core (with whatever serious re-initialization logic we've currently written in libsnes) every time loadstate occurs; and add memsetting to that re-initialization logic, under the theory that if there is a savestate nondeterminism due to fundamental serialization bugs, at least loadstates will be deterministically buggy, decreasing the odds that anyone will ever notice them. of course, i would rather increase the odds that we'll notice them to 100%, so we can fix them, instead of just masking them. but i don't make the rules, i just stfu the nags 2012-12-01 06:21:53 +00:00
goyuken 6412d6d93e gb gpu view: fix bug due to scroll bar hilarity. gba gpu view: implement scanline callbacks 2012-11-30 05:16:37 +00:00
goyuken 20d9e726d2 gba gpu view: bring to front when loading a widget. gba: put dma in tracelog. disable display of sprites with shape = 3. fixes gobbelygook in F-Zero Climax (J). not sure if this is actually what hardware does, as the broken sprite data is from a different ambiguous situation. 2012-11-29 21:16:52 +00:00
goyuken 175caf3a53 gba: add under-the-hood support for direct MMIO reading, to be used for something at some point, maybe 2012-11-27 16:44:50 +00:00
zeromus 0c58d62762 snesgfxdebugger-layer toggles, more information 2012-11-26 06:30:30 +00:00
goyuken f73960ad8f gba: blaaaaaaa 2012-11-25 20:42:58 +00:00
goyuken 7a6f5fcf99 gba: Disable oam dma "m_graphic" optimization. Perhaps it should work correctly, but it doesn't and the speed gain is near nil and it's not worth the trouble to try fixing. Fixes garbage in the opening to "Final Fantasy 5 (J).gba" 2012-11-25 19:36:32 +00:00
goyuken d77efde5fc gba: add system bus memory domain 2012-11-25 19:03:13 +00:00
goyuken 890b7c354e gba: muck up timer union (breaks savestates), add msvs rule to copy dll to bizhawk.multiclient/output/dll/libmeteor.dll 2012-11-25 18:42:41 +00:00
goyuken 206adff851 gba: implement mode 3, mode 5 backdrops. slightly todo, as i don't know how mosaic + affine works on hardware 2012-11-25 01:34:58 +00:00
goyuken fec546f77a gba: fix cartmem problem i caused that was exposed by recording movies.
inputadapters: finish GBA mnemonic stuff, including power button.  |P|UDLRsSBALR|
mainform: show informative warning when starting recording a GBA movie
2012-11-24 22:14:05 +00:00
goyuken 366370301f gba: enable savestates. in the process find and fix an absolutely retarded bug with core savestate loading and bios. fuck #define forever. 2012-11-24 21:23:50 +00:00
goyuken b9fac0643a gba: fix H-mosaic in text mode BGs 2012-11-24 18:33:15 +00:00
goyuken fcb0be70f7 gba: cycle counter for frame timing was completely busted, now fixed, and frames take the expected approximately 280k cycles to complete 2012-11-24 17:37:40 +00:00
goyuken 235d7a9a03 gba: saveram support. not tested too much because controller isn't hooked up yet. (and path config appears to be dumping them in the wrong place). also remove the silly system where the core tracks timing on when to write the saveram file to disk. 2012-11-24 02:25:47 +00:00
goyuken d20970afa7 gba: correct tracelogger address for PC pipelining. note that the disassembly for some branch instructions shows up wrong, making this seem "wrong". but it's right, and the disassembly will be fixed...
core: tracelogger can now show a custom column header.  GBA uses it; all other traceloggers untouched
2012-11-24 00:45:25 +00:00
goyuken 9efe2f2a67 gba: use release build libmeteor.dll for big speedup 2012-11-23 20:43:32 +00:00
goyuken 96880ccc4a gba: Up the verbosity of the tracelogger. Using it, I was able to find a nasty bug: bitfields in cpsr\spsr were not being handled as expected by the compiler. Presumably the version and settings on GCC normally used for retrometeor does what's desired? Workaround applied. 2012-11-23 20:17:20 +00:00
goyuken 6d7ae2574d gba: implement tracelogging. also disable _ITERATOR_DEBUG_LEVEL even in debug builds as the disassembler blows it up >< 2012-11-23 16:55:37 +00:00
zeromus 608ebc4a99 snesgfxdebugger-display OBJ tiles 2012-11-23 09:10:18 +00:00
goyuken 32d0b546e0 gba: support hard reset. doesn't work right with saveram because saveram isn't all hooked up anyway yet 2012-11-23 04:28:38 +00:00
goyuken 4ccf2412b4 GB: gambatte saved a thumbnail of the framebuffer to savestates internally, which was only used with some core-internal "UI" stuff that we don't bother with. disable that feature. does not break old savestates. 2012-11-21 13:43:58 +00:00
goyuken 5b3de57fca gba: make core go into zombie mode if libmeteor aborts, instead of crashing. this makes it easy to pick apart failures using the in-program debugging tools (memory view, tracelog once i add it) 2012-11-21 01:21:50 +00:00
goyuken ee9e67d023 gba: some memory domains 2012-11-20 20:22:10 +00:00
goyuken 83f74f1290 gba: handle libmeteor aborts. Final Fantasy 5 (J) now crashes instead of drifting off into the sunset 2012-11-20 15:52:36 +00:00
goyuken 28b1766ac8 GBA: core input stuff, including basic lag frame detection 2012-11-20 02:58:39 +00:00
goyuken 8a4393cd56 gba: add some console debugging stuff 2012-11-20 01:28:31 +00:00
goyuken ff2c74245b start import of "meteor" GBA core. it may not be the best around, but it's had actual code progress in the last year, and the code doesn't look like it was written by a hyena. 2012-11-20 00:26:46 +00:00
goyuken 8d20c2e351 gambatte: fully implement cgb palette selection 2012-11-18 18:46:57 +00:00
goyuken 12844bbd7f GB: gbc color change infrastructure. not hooked up to UI yet 2012-11-18 17:02:55 +00:00
goyuken 276b00fb35 snes: unify color generation for debugger and core. include 3 alternate implications: r3809, r3808, and hypothetical snes9x. nothing ui hooked up yet 2012-11-16 21:29:23 +00:00
goyuken b51cfbaa45 snes: don't round early in color conversions. affects some RGB24 values slightly 2012-11-16 18:43:47 +00:00
zeromus afc97cda77 libmednahawk reorg 2012-11-13 00:50:10 +00:00
goyuken ac1f9a90a1 libgambatte: switch the system bus read to use a much safer (100%?) deterministic peek. also implement core side stuff for scanline-based callback 2012-11-05 20:15:53 +00:00
goyuken 32a3d9db80 gbhawk gpu viewer: work correctly with palettes and CGB extended BG data 2012-11-05 04:09:04 +00:00
zeromus b4b2657965 some libmednahawk work. it can't possibly be used by anyone else yet, but i gotta do a checkin. 2012-11-04 23:29:06 +00:00
goyuken 3eda4a90a6 gbhawk: tracelogger 2012-11-02 19:44:31 +00:00
goyuken cd2ff4ed63 Add unmanaged version of 6502X core. The core it self is nearly exactly a copy+paste job from the C# one; most things map over exactly. A strange and abusive p/invoke setup is required to realize a performance gain; see code for details. Seems to be worth a bit more than 20% overall speed for me. Core is savestate compatible with managed 6502X. slight modifications to existing API has been made to support the new cpu. also included is a test module that runs both cores together, savestating every cycle to check for sameness. Core should fit in Atari, although that hasn't been done yet. For the moment, tracelog and disassemble are broken, but they'll be back soon. 2012-10-30 23:01:54 +00:00
zeromus 9e50d25c16 snes-support user override backdrop color 2012-10-17 18:39:44 +00:00
zeromus e318718a21 change libco_msvc_win32 to use vs2010, so as to avoid dependency on another (vc8) runtime. 2012-10-16 19:11:02 +00:00
goyuken 8d8e636450 libgambatte: add memory read\write callbacks, maybe? not sure how to test it... 2012-10-14 15:10:33 +00:00
goyuken 9f9aeb6609 move libco_msvc_win32.dll to dll subdirectory 2012-10-09 22:48:41 +00:00
goyuken 32a39d3fad move musashidll.dll to dll subdirectory 2012-10-09 21:39:12 +00:00