Commit Graph

146 Commits

Author SHA1 Message Date
beirich adee5befa5 Genesis ROM header parsing
and other stuff thats only committed because svn isn't decentralized!
2012-09-13 04:13:49 +00:00
beirich bf504d1220 gen: work on sprite masking/overflow code. substantially improved. Fixes Sonic 1 title screen, Galaxy Force 2 level select, Landstalker sprite masking, and improved nemesis' test rom. Still something amiss in Sonic 2 title screen. 2012-09-11 05:00:45 +00:00
beirich 90d1d12086 gen: fix some vram corruption issues
general: fix some build warnings
2012-09-09 21:15:20 +00:00
beirich a4f8ecc2e0 gen: fix render scroll plane size / window calculation bug. fixes gfx glitches in several games. 2012-09-09 04:22:44 +00:00
beirich 4dbab90b87 gen: remove old, unneeded hack. Fixes Quackshot. 2012-09-09 03:29:40 +00:00
zeromus f5c0965045 snes-support save ram 2012-09-04 07:09:00 +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
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
beirich 0a60a37705 gen: fix Flavio's DMA test rom. and hopefully something else too. 2012-09-03 22:26:33 +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 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
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
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
beirich f21429b996 gen: implement WINDOW rendering
gen: initialize VDP registers to power-on values
2012-09-01 05:02:27 +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
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
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
beirich 575ceb3966 gen: Fix tile VFLIP bug, correcting the most obnoxious of the graphical glitches 2012-08-24 00:37:54 +00:00
beirich 40a427e68f md: correct hscroll offset calculation. genesis core 10% less embarassing. 2012-08-22 04:54:36 +00:00
beirich b07008c7e7 Genesis vdp: small loadstate fix 2012-08-08 00:44:08 +00:00
andres.delikat a34bf45610 Add islag to savestates (now lagframe alert status updates when loading a state) 2012-07-30 14:42:52 +00:00
andres.delikat daff01ad2e Genesis - add lag and frame counts to savestates 2012-07-30 13:43:25 +00:00
beirich d24d3ae932 fix a dumb PAL bug. possibly for the second time. 2012-07-15 07:15:31 +00:00
goyuken fd7a0b2fe7 change CoreOutputComm to use exact integers to specify VsyncRate. Helps for AV dumping with formats that require exact integer rates (AVI), and for emulators that aren't exactly 50hz/60hz (none yet). 2012-07-11 21:37:35 +00:00
beirich b599c69c18 Add VirtualWidth to IVideoProvider and the (numerous) implementations. This is just phase 1, client needs to be updated to utilize this information, and some cores (especially PCE) should be updated in a more involved way to provide better TV emulation. 2012-06-25 02:50:34 +00:00
beirich db1bfcfdfc very preliminary genesis savestate support 2012-05-22 02:25:41 +00:00
adelikat 02767a9fbb Genesis - hook up lag counter 2012-04-29 12:55:20 +00:00
beirich 59eb4b4abe ym2612: support TimerA and TimerB 2012-04-29 06:05:15 +00:00
beirich d322c3c00f Fix some bugs responsible for out-of-bounds array access crash on ym2612 2012-04-29 01:40:38 +00:00
beirich 7f1292d4f9 start on YM2612. DAC works. process port writes for FM channels. No FM channels output audio yet. 2012-04-29 01:09:06 +00:00
taotao54321 2f9a5212bc Added BG/OBJ display settings for SMS (not accessible yet) 2012-03-11 16:15:20 +00:00
zeromus fd6ac896fc general cleanup.. remove a bunch of warnings.. improve log console system a bit.. add new icons for log console window.. remove old demo psx interop system and add new, simpler one, which isnt really tested yet but is way less annoying. 2012-02-24 20:38:35 +00:00
andres.delikat b2748b7836 Genesis - hook up lag counter (shows all frames as lag currently), and hook core up to input config dialog (1 controller only currently) 2011-12-24 01:59:51 +00:00
beirich 5a5a424cc7 gen: some work on renderer. 2011-10-18 03:48:37 +00:00
beirich 7424d370a7 gen: implement sprite HFlip and VFlip 2011-10-16 16:04:08 +00:00
beirich f8564bf8a7 GEN: Preliminary sprite rendering. hook up MemoryDomains. 2011-10-16 06:23:15 +00:00
beirich c3038bbe07 gen: re-fix shinobi and strider. possibly a hack, marked for followup 2011-10-13 02:55:28 +00:00
beirich 136cc3158e gen: input works in basic form (one 3-button pad) 2011-10-12 05:45:10 +00:00
beirich 5b5c7c2890 68000: add MULU, MULS, DIVU, DIVS, MOVE to CCR
Some genesis source reorganization
2011-10-11 03:52:44 +00:00
beirich 1c38de023e 68000: implement BSET, BCLR, BCHG, and NOT 2011-10-08 23:26:29 +00:00
beirich ccea71e74d 68000: interrupt support.
gen: fire vertical interrupt, now some games show sega logo before immediately crashing!
2011-10-08 15:44:41 +00:00
beirich f2ca21759c 68000 timings and flags fixes, some new opcode handlers 2011-10-07 03:04:48 +00:00
beirich dcc0a34d93 Add NBA Jam [Proto] SMS to gamedb 2011-10-03 13:01:27 +00:00
beirich 8fb8a35317 Genesis core revive! Get it back to where loading a genesis rom doesnt crash everything immediately 2011-10-01 17:06:25 +00:00
beirich f3dc6068ce delete extra/external 68k core 2011-09-27 02:46:23 +00:00
beirich c282308071 [SMS] correct sprite flicker appearance. year-2000-me was a jackass, sprites are not drawn back-to-front. 2011-09-19 04:17:16 +00:00
beirich f9d7ff62f4 pce-cd: support arcade card, fix cd-audio playback bug
add new emulation options to gui for SMS and PCE/CD
2011-09-19 00:39:28 +00:00
beirich 7a272192fb Add version IDs to the other working cores
Add toggle for saving screenshot with savestate. Update loadstate code to not die when encountering a state without a screenshot
2011-09-15 23:32:21 +00:00
beirich a8aaaef45e [PCE] ADPCM playback more or less working correctly now
plus some cleanup
2011-09-05 17:45:01 +00:00
beirich b27673f26c M-M-M-MONSTER COMMIT! change Game-load api stuff 2011-08-04 03:20:54 +00:00
andres.delikat 2e68314e01 Movies that start from savestate now supported. Record Movie dialog "Record from Now" option implemented. ResetFrameCounter() added to IEmulator and implemented in all existing cores 2011-07-30 20:49:36 +00:00
beirich c8727ae01f fix some gamedb stuff, add some genesis games to db, get genesis back to a state where it at least loads roms correctly 2011-07-10 04:54:18 +00:00
andres.delikat 52215061aa some implementations necessary for the gameboy controller 2011-06-27 01:24:26 +00:00
andres.delikat 8096316981 Make GB debugger not load by default when a gb game is loaded, misc cleanups gb related 2011-06-27 00:15:47 +00:00
zeromus c0988feaa3 add CoreInputComm/CoreOutputComm, remove Query system, hook up nes video config options 2011-06-11 22:15:08 +00:00
beirich 9283a9f37d IEmulator now implements IDisposable; client now disposes cores 2011-06-02 02:59:18 +00:00
beirich 33c300ff7b good news: movies work! bad news: 1) movies don't work for TI83 yet 2) I broke some NES things, to be fixed in a later commit 2011-05-08 00:06:43 +00:00
andres.delikat f440f843dd Add IsLagFrame bool to IEmulator and implement in all platforms. Make an alert font in Render panel and make input display use it when a frame is a lag frame 2011-05-01 16:04:53 +00:00
andres.delikat 3efd98e887 SMS - implement lag counter & add to savestates 2011-05-01 14:15:49 +00:00
andres.delikat bf93a936df Change unimplemented lag counters to return -1 instead of 0 since that is more obviously not implemented. Make null emulator return 0 since by definition it would never lag. 2011-05-01 13:05:16 +00:00
andres.delikat 6732cd50ff Make LagCount get/set in IEmulator and refactored emulators. Implemented the Lag counter in the NES core. 2011-05-01 12:59:26 +00:00
andres.delikat 2fa3561c45 Add LagCounter int to IEmulator, returns 0 on every emulator at the moment. Hook up RenderPanel's LagCounter display 2011-05-01 00:20:39 +00:00
andres.delikat d7ba739b30 Some fix ups to input recording, and setting up the ability to test recording & playback 2011-02-28 01:26:38 +00:00
andres.delikat 423e9c8783 Add SetControllersAsMnemonic() to IEmulator and implement it in the SMS core. Very crude playback now works. 2011-02-27 22:33:25 +00:00
andres.delikat 04b6b2baa0 Fix typo! 2011-02-26 22:08:55 +00:00
andres.delikat d0e37373a4 Refactor input display to use the GetControllersAsMneumonic() function from the emulator core. Hook up PCE GetControllersAsMneumonic() 2011-02-26 22:04:17 +00:00
andres.delikat 0ed57b443b Add GetControllerAsMneumonic() to IEmulator that returns a formatted string of controller inputs. Implemented this function in SMS input.cs and hooked up Movie recording. 2011-02-26 21:36:46 +00:00
beirich 023fb0897a [SMS] Frameskip actually skip frames 2011-02-24 04:39:52 +00:00
beirich 71c0e8648e [SMS] Use correct framerate for PAL mode now that we have throttling 2011-02-23 04:38:50 +00:00
zeromus bc74d6c575 complete speed/skip/non60-throttle functionality and controllable vsync. maybe a bit rough, but i'll continue to support it. 2011-02-21 09:48:53 +00:00
beirich bb2b17f92d [SMS] Add System Bus MemoryDomain 2011-02-19 05:04:52 +00:00
beirich 577f249905 Misc code cleanup 2011-02-16 04:45:59 +00:00
beirich 41b68e198e Fix Fantastic Dizzy; last broken SMS/GG game Im aware of! 2011-02-16 04:21:25 +00:00
andres.delikat 48bb648ff9 IEmulator now has a string type so that emulators can return a string representing the platform they emulate 2011-02-16 02:42:58 +00:00
beirich 09e63e84e8 [GG] Fix Turrican homebrew and 224-line video mode timing 2011-02-15 23:50:28 +00:00
beirich 88aa2af174 SMS: implement overclock-when-safe option 2011-02-14 06:15:25 +00:00
beirich 5a4e36d828 SMS: add Force Stereo option to gui 2011-02-14 05:02:26 +00:00
beirich 1d00b7fe6b minor refactoring of IController handling of control updates / frame tracking / movies 2011-02-05 05:40:19 +00:00
beirich 366d7994e3 Add SMS options to UI; Add client-options mechanism IGame; Game database support for YM2413 games 2011-01-28 06:46:33 +00:00
beirich d35d9e9d29 SMS: port 3E emulation; fixes remaining BIOS roms; check out the rocking Japanese BIOS music! 2011-01-28 04:23:35 +00:00
beirich 00b78183dd SMS: fix loading of roms smaller than 1 bank; fixes BIOS ROMs, Qbert and Guzzler SG 2011-01-27 07:13:28 +00:00
beirich 2ec181e50f cleanup some code after removing HardReset from IEmulator API 2011-01-21 07:14:42 +00:00
beirich e62c1bc673 add memory API, remove HardReset from IEmulator 2011-01-21 03:59:50 +00:00
beirich 73cf2bc61b SG-1000 almost done 2011-01-20 23:58:58 +00:00
beirich 3c019b9e96 SG-1000 progress (try doki doki penguin land) 2011-01-19 07:06:14 +00:00
beirich 34ec0bba39 SMS: Implement TMS9918 legacy Mode 0 2011-01-17 07:41:01 +00:00
beirich 72ef291ac0 wired up Recent Roms click event 2011-01-17 03:23:53 +00:00
beirich d1110de5de SMS: implement zoomed sprites; VDP fixes; Ax Battler GG fixed 2011-01-16 06:31:14 +00:00
beirich 3c8236fd32 PAL support for SMS 2011-01-13 06:10:50 +00:00
beirich aa784295d8 extended video mode support; 2/3 CodeMasters games playable now... 2011-01-12 06:08:17 +00:00
beirich 89e4c5a674 2011-01-11 02:55:51 +00:00