Commit Graph

1179 Commits

Author SHA1 Message Date
goyuken 8de879f132 nes: boring stuff 2012-12-03 15:40:20 +00:00
goyuken ae963b5443 nes: fix PAL DMC frequencies 2012-12-03 15:01:04 +00:00
zeromus 522bcd844c snesgfxdebugger-obj properties display 2012-12-03 07:50:23 +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
zeromus 3dd1c5c493 snesgfxdebugger-fix a bunch of bugs and half-baked things. no new features. (part 3 of N) 2012-12-02 23:58:20 +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 e960989034 snesgfxdebugger-fix a bunch of bugs and half-baked things. no new features. (part 2 of N) 2012-12-02 08:00:59 +00:00
zeromus 8834d3dd5c snesgfxdebugger-fix a bunch of bugs and half-baked things. no new features. 2012-12-02 02:51:30 +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 32a1ac645e fix controller bug? more information about electrical configuration of $4016/$4017 is needed. this is not a good commit. 2012-11-28 21:34:29 +00:00
goyuken 2803190666 nes: mmc3: add 256K prg option for ACCLAIM-MC-ACC. fixes "Simpsons, The: Bart vs. The World" and "Simpsons, The: Bartman Meets Radioactive Man" 2012-11-28 21:16:35 +00:00
goyuken b7c66cf3c2 Util.Serializer: Consume no data past the end of the last proper section. As a result, when using Util.Serializer in text mode, you MUST enclose your entire savestate in a single section (named to your liking). Fixes input log save\load issues. All old A2600 savestates broken. 2012-11-28 18:27:14 +00:00
goyuken 965c6d8700 gba: add the beginnings of a GPU view. much work is needed, but i like the idea of a single panel with movable widgets (and config-saveable layout, of course), as there is too much information in the case of a GBA to reasonably show it all on a screen. this way the user can set up a "workspace" appropriate for whatever dumping/debugging project is being done. 2012-11-27 19:21:46 +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 efbdd58839 nes-fix mapper027 based on new understandings from fceumm; fix world hero 2012-11-26 22:08:25 +00:00
goyuken 91a71febe5 FDS: connect drive LED front end feature. also fix a bitsy savestate&saveram issue 2012-11-26 21:27:54 +00:00
zeromus 7e9d487580 nes-fix m074 and m192 and add You Ling Xing Dong to gamedb to correct mapper from m074->m192. p.s. you ling mi long dong 2012-11-26 21:08:46 +00:00
zeromus 0c58d62762 snesgfxdebugger-layer toggles, more information 2012-11-26 06:30:30 +00:00
goyuken 07ae382ac4 add a\v dump resize hints to gb, gba. other cores should probably get this treatment as well 2012-11-26 02:30:07 +00:00
beirich 2441acd38b PCE-CD: hook up client drive LED api 2012-11-26 02:15:21 +00:00
beirich 0bb30d4918 Coleco: implement TMS mode 3, clean up some debug code 2012-11-26 01:44:17 +00:00
zeromus 57e9619ff6 snes-hookup ui for color palette selection 2012-11-25 20:06:31 +00:00
goyuken d77efde5fc gba: add system bus memory domain 2012-11-25 19:03:13 +00:00
goyuken 769fc5834b fix problem in last commit. also, rename a number of ui references to "AVI Recording" to "A/V Recording" since it isn't particularly about AVI format 2012-11-25 15:51:18 +00:00
goyuken 0094562d2a per previous discussion, IEmulator.ResetFrameCounter() should reset lag frame related stuff as well 2012-11-25 15:41:40 +00:00
beirich b1ab7bd9f1 coleco: fix issue where sprite priority prevented sprite collision from firing 2012-11-25 02:25:20 +00:00
beirich 0762e235d5 Coleco: fix magnified-sprite render bug 2012-11-25 01:51:42 +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
adelikat 6660ac3e8e SMS - slight fix to how islag is saved into savestates 2012-11-24 14:19:59 +00:00
adelikat f7032a1c33 Coleco - some minor refactoring 2012-11-24 14:17:56 +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
zeromus 7ff342f907 snesgfxdebugger-preliminary sprite visualizing 2012-11-23 23:44:45 +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
beirich 2382781627 coleco 'noskip' checkin... tested through M's so far 2012-11-23 05:51:16 +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
beirich f23a86b20c coleco: fix several games with broken input, support controller 2 2012-11-23 04:09:01 +00:00
beirich 1a653190b7 coleco: fix a VDP I/O bug
fix typo in 'skip bios intro' option
2012-11-23 03:10:01 +00:00
beirich 84a4a8544b probably fix TMS9918A alpha channel screenshot thing 2012-11-23 00:36:41 +00:00
adelikat 950d5bce4d ColecoHawk - oops - implemented binary savestates for VDP 2012-11-22 17:00:37 +00:00
zeromus e70a387ffb snesgfxdebugger-add ctrl+c to clipboard capability, and reflect user choice of backdrop color in debugger window 2012-11-22 06:57:01 +00:00
adelikat f26c72df86 Colecohawk - option to skip bios, setting is also saved into movies 2012-11-22 02:01:15 +00:00
adelikat 1cf2529512 SMS/GG/SG-1000 - put islag variable into savestates 2012-11-22 01:01:39 +00:00
adelikat 77f9ef269b Colecohawk - binary savestates implemented (rewind now works) 2012-11-22 00:57:26 +00:00
adelikat 139bbd7ab8 Colecohawk - savestates - oops - text savestates should be working now 2012-11-22 00:49:10 +00:00
goyuken e69307276c gb: implement new CGB color preset "GBA" 2012-11-21 21:09:01 +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 db8590e55b add some GBA related path config stuff. gbabios.rom will now attempt to load from GBA firmwares directory. 2012-11-20 03:17:53 +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
adelikat 3e496ae069 ColecoHawk - preliminary text savestates, not complete! still some things in VDP to add in 2012-11-20 01:01:51 +00:00
adelikat 5fda8801f4 ColecoHawk - implement memory domains 2012-11-20 00:35:22 +00:00
goyuken 93ad387db8 stuff, don't use 2012-11-19 22:43:34 +00:00
goyuken 5fc4b3f6c6 minor GB cleanup 2012-11-19 17:59:57 +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
adelikat b7f9a99250 ColecoHawk - hook up frame and lag counters 2012-11-18 05:22:13 +00:00
adelikat 94475aa9a7 ColecoHawk - hook up virtualpads 2012-11-18 05:19:05 +00:00
beirich b679e3d53d oops 2012-11-18 02:34:16 +00:00
beirich 57abaad07e Coleco: improve VDP interrupt handling, implement sprite collision status bits
Fixes Frenzy and Carnival at least
2012-11-18 02:32:07 +00:00
beirich 7948905a6d Colecovision input works 2012-11-18 00:40:22 +00:00
adelikat 7a9b121798 Coleco has a button 0 2012-11-17 21:38:21 +00:00
adelikat 5a2b79f33e Cool up coleco to controller config (only controller 1 for now, no autofire) 2012-11-17 21:28:09 +00:00
adelikat 3595516ae5 Hook up Coleco folders to path config, Change coleco system ID to "Coleco" 2012-11-17 21:12:51 +00:00
beirich 4c83970b2b initial ColecoVision commit. Needs BIOS ROM & input wired up to client (plus more emulation work) 2012-11-17 17:39:33 +00:00
zeromus 7339615890 nes-change memory initialization pattern; fixes Huang Di. Doesnt seem to break any of the other known memory-initialization-dependent cases 2012-11-17 08:16:02 +00:00
zeromus e48f24d266 quick fix for 6502 trace log 2012-11-17 01:31:34 +00:00
goyuken c41d7f2388 oops 2012-11-16 22:05:59 +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
goyuken 1d3de04364 nes: PAL mode functions properly with audio throttle. a proper SyncSoundProvider for NES is still todo 2012-11-16 17:15:55 +00:00
goyuken 631212ca4f nes: implement mapper249: mmc3 plus "security features"
San Shi Liu Ji,
Shui Hu Zhuan,
Myth Struggle,
Duo Bao Xiao Ying Hao - Guang Ming yu An Hei Chuan Shuo
2012-11-14 16:41:33 +00:00
goyuken 86baf94dd4 nes: fix board hard reset. oops! 2012-11-11 17:23:05 +00:00
beirich 8cebe897cb PCE: fix dumb error in display-off background color calculation, fixes soldier blade flashing wrong color 2012-11-11 05:04:29 +00:00
goyuken 35e0b61ac3 NES: VRC6: support ines roms without hash id 2012-11-10 01:59:13 +00:00
goyuken ad3e1bff21 gb gpu view: beautify and add scanline callback control 2012-11-06 17:54:04 +00:00
goyuken c217768871 nes: mapper 028: fix 32k modes (they don't behave like MMC1). of course, there are still no mapper028 games or carts at all 2012-11-06 14:46:36 +00:00
goyuken ec82f11884 nes: reset board state with hard reset 2012-11-06 03:05:43 +00:00
goyuken 089379711a nes: fix missing sound after hard reset 2012-11-06 02:13:16 +00:00
goyuken e06a9218b8 nes hard reset no longer crashes. instead, certain sound channels stop playing (?) 2012-11-06 01:41:22 +00:00
adelikat 5764b222ab NES Core - implement Hard Reset, currently crashes though 2012-11-06 00:40:51 +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 ef4bb14d59 gb gpu view: oam 2012-11-05 15:58:51 +00:00
zeromus 69d2a99a2c nes-fix memory map bug, affecting robocop 3 scroll glitches 2012-11-05 06:26:52 +00:00
goyuken 32a3d9db80 gbhawk gpu viewer: work correctly with palettes and CGB extended BG data 2012-11-05 04:09:04 +00:00
goyuken 271d4102e8 GB: add "GPU Viewer", similar to other gpu debugging tools. doesn't do much yet. 2012-11-05 01:34:11 +00:00
zeromus 9ff8b450f4 add the crudest possible psx disc detector. now other people can watch somewhat garbled psx game intros 2012-11-05 00:11:41 +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 807b86f8b3 nes mapper28: correct power on behavior. it seems to work well enough 2012-11-04 00:28:46 +00:00
goyuken a7b2be48e2 nes: implement mapper028, a hypothetical multicart. untested 2012-11-03 23:56:35 +00:00
goyuken 50f65452b5 nes: add identifier for TENGEN-800030. fixes bootgod identified dumps of various tengen (U) games 2012-11-03 21:45:48 +00:00
goyuken 3575eb849b z80gb: add new disassembler 2012-11-03 18:17:55 +00:00
goyuken 747c3db7cb nes: vrc2: fix Contra (J), Ganbare Goemon 2 (J) 2012-11-03 17:03:38 +00:00
goyuken d89e9e5da5 nes: pxrom, fxrom: implement peekppu; fixes nametable debugger view in some games 2012-11-03 01:26:13 +00:00
goyuken f8f4fa6967 Mapper165: implement peekppu. fixes some visual glitching when using nametable viewer. Fire Emblem (Ch) 2012-11-02 23:51:38 +00:00
goyuken 48bb76820e nes: fds: implement peekcart (sorta) 2012-11-02 23:32:32 +00:00
goyuken 944c8e412f gbhawk: tracelogger shows disassembly now 2012-11-02 23:19:16 +00:00
goyuken 6ffd71973a 6502: improve tracelog to only disassemble actual opcodes, and also enable it on 2600 2012-11-02 22:27:22 +00:00
goyuken 323caaaff7 nes: sxrom: decrease speed by 1%, also fix overflow possibility 2012-11-02 19:52:02 +00:00
goyuken 3eda4a90a6 gbhawk: tracelogger 2012-11-02 19:44:31 +00:00
zeromus 24d3bb76e2 fix 2600 Peek support, as best I can tell how. 2012-11-02 19:35:13 +00:00
zeromus aa161d8910 proper Peek support in NES and 6502X 2012-11-02 19:28:00 +00:00
goyuken 5bf33b54a6 SxROM: 1% speedup 2012-11-02 17:51:07 +00:00
adelikat 6e214a6059 Atari 2600 - fix mapper E7 2012-11-01 03:26:24 +00:00
adelikat ae7bb1b590 Atari - progress on DPC mapper, still doesn't work 2012-11-01 01:54:33 +00:00
pjgat09 2d2e0c7e31 A2600: Resetting players before hsyncCnt 76 has apparently has strange results. I borrowed these changes from EMU7800. This seems to fix glitches with Frostbite. 2012-10-31 23:42:18 +00:00
goyuken 967a60dcf7 ack! 2012-10-31 21:16:50 +00:00
goyuken 5cbd11c850 NES: add some vs system stuff. not done yet 2012-10-31 21:15:44 +00:00
pjgat09 a5d4cd155d A2600: Fixed problem with missile-to-player reset. Reset should only occur on the first drawing of the player. 2012-10-31 20:09:14 +00:00
goyuken 5cff02b74d nes: vrc4, vrc6, vrc7: change to use CPU cycle counting 2012-10-31 19:40:18 +00:00
goyuken e487e39c9e nes: clean up region detect code a bits 2012-10-31 18:48:06 +00:00
goyuken bc22049a19 NES Multiregion: sound frequencies supported 2012-10-31 18:35:34 +00:00
goyuken 7dc5808771 NES: preliminary support for PAL, Dendy, and RGB (part 1). at the moment, it's all determined from gamedb, and not at all saved to movies or savestates 2012-10-31 18:25:46 +00:00
goyuken 8af6cac4ec NES: BANDAI-FCG-1: cleanup and fix some stuff (broke savestates). FIXES: Dragon Ball - Dai Maou Jukkatsu, Rokudenashi Blues, Dragon Ball Z - Kyoushuu! Saiya Jin, SD Gundam Gaiden, Magical Taruruuto Kun 1, 2 2012-10-31 16:29:26 +00:00
goyuken 0d515dafdf nes: add ClockCPU() to INESBoard, for boards that count M2 cycles, and changed some mappers to use it. Mappers that need more inspection: Mapper027, SxROM, VRC2_4, VRC6, VRC7 2012-10-31 14:36:43 +00:00
zeromus 59664959f1 speed up c# 6502 and enable it instead of cpp one 2012-10-31 01:55:26 +00:00
adelikat 4ed68e0c9a oops 2012-10-30 23:42:42 +00:00
adelikat 1d4a8fd3ba Atari 2600 - add a Playfield toggle 2012-10-30 23:38:53 +00:00
adelikat a4a53342d1 Atari - Checkin DPC Mapper file 2012-10-30 23:13:49 +00:00
pjgat09 c1c85dba56 A2600: Implemented atari graphics toggles except for playfield 2012-10-30 23:12:09 +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
goyuken 27bcfcff55 oops 2012-10-30 22:41:56 +00:00
goyuken acc9806d55 2600: add fake mDPC.cs to fix compile. 2012-10-30 22:14:31 +00:00
goyuken 8313c103f6 Namco163 Audio 2012-10-30 12:07:33 +00:00
adelikat ca86a8dff3 Atari - start DPC mapper (Pitfall 2) - only does the basic bankswitching right now, still needs the 2k display bank and DPC sound chip 2012-10-30 01:33:56 +00:00
goyuken aa292b678e shorten some of the FDS mechanical timings based on nesdev feedback. bizhawk now seems to be about 6 seconds slower than fceux in initial loading of FDS titles. This makes sense, as fceux isn't timing at all the BIOS's first pass over the disk, worth about 6 seconds. 2012-10-29 19:26:52 +00:00
goyuken 8a67af227e NES: MMC5: add "ExRAM" as memory domain, for debugging purposes 2012-10-29 17:11:19 +00:00
goyuken f09f8008ca nes: mapper036: "Strike Wolf (MGC-014)" 2012-10-29 00:09:27 +00:00
goyuken 164a6cb42d nes: gxrom: fix possible crash on 64K prg carts???? maybe? 2012-10-28 23:53:29 +00:00
goyuken 29c0733150 sneshawk: log core firmware requests to console 2012-10-28 23:42:04 +00:00
goyuken 4fa571d6e9 nes: mapper 171: "Tui Do Woo Ma Jeung". mmc1 with no mirror control 2012-10-28 17:50:48 +00:00
goyuken 8ce3857305 nes: mapper 250: "Time Diver Avenger (Unl)". mmc3 clone 2012-10-28 17:34:47 +00:00
adelikat 58bee3b594 PCE - fix typo in memory domain - "Arcade Card RAM" not "Aracde" 2012-10-28 16:29:47 +00:00
goyuken af86a270d5 FDS: fix savestate ejected disks 2012-10-28 15:23:10 +00:00
goyuken a2c0d1b57b FDS: cleanup and savestates 2012-10-28 15:13:56 +00:00
goyuken b1039a6bf9 nes: sunsoft4: partial support for "UNIF_NES-NTBROM". "Nantettatte!! Baseball" UNIF dumps now boot. 2012-10-27 15:11:07 +00:00
goyuken fce1ffcce2 FDS: make the sound channel softer overall. there are still some bugs with it, though... 2012-10-27 14:24:00 +00:00
goyuken afaa256e37 FDS: SaveRam support. The "saveram" actually stored is a simple collection of (originalside ^ side), more or less. Like any wip beta, don't get too attached to your saves yet. Also misc cleanup. 2012-10-27 14:01:55 +00:00
goyuken 452e1f0db4 FDS: implement CRC writing, reading, and checking 2012-10-27 01:04:54 +00:00
goyuken 06d131b777 NES: add FDS "currently loaded disk side" as a memorydomain. very rudimentary; for deblugging purposes only.
FDS: add disk writing.  nothing's saved anywhere at end of session, so not at all permanent.  seems to work though.
2012-10-26 21:25:20 +00:00
goyuken e6058e6bd8 break some stuff. FDS can eject and insert disk sides now 2012-10-26 18:51:08 +00:00
goyuken 7ee00fbcb8 ines mapper 103: smb2 pirate fds conversion 2012-10-26 15:43:05 +00:00
pjgat09 dfb45aa99c A2600: Fixed graphics on games including Enduro and Activision Boxing 2012-10-26 03:44:13 +00:00
pjgat09 bff6ac53d7 A2600: Fixed issue with vsync which caused flashing in Pleaides and Enduro 2012-10-26 01:50:08 +00:00
goyuken 57349cdbcb NES: fix crash when loading UNIF with incomplete gamedb entry 2012-10-24 23:30:46 +00:00