Commit Graph

133 Commits

Author SHA1 Message Date
beirich 2aef2b8606 68000: savestate support (text) 2012-05-21 04:44:36 +00:00
brandman211 9623f073eb Added a logging flag for GB using the SaveStateText function. 2012-05-20 06:43:41 +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
zeromus b1d62ed574 6502-add some opcodes not handled by the instruction tests, but which are cursorily covered by the instr_timing test, which now passes 2012-04-18 08:04:06 +00:00
zeromus 97b66a907f 6502-implement undocumented opcodes. pass all instruction tests 2012-04-18 05:22:58 +00:00
zeromus d3321f552f nes accuracy fixes
- pass more apu_test 4-jitter and 6-irq_flag_timing (necessary for timing on other tests)
- pass all cpu interrupt tests
- pass all sprite hit tests
2012-03-25 09:25:27 +00:00
zeromus 0cf6b0bcb7 switch atari 2600 to new 6502 core 2012-03-24 03:45:47 +00:00
pjgat09 5e65c7e977 TIA: Removed code for cosmic ark starfield (to be added back later, in a cleaner way). Changed the definition of a frame to start with the first scanline where VSYNC is disabled.
MOS6507: Fixed a copy-paste mistake with SBC instructions where it would remove another cycle. This fixes the screen bounce issue with pitfall.
2012-03-20 22:45:15 +00:00
zeromus 471b3ffb98 nes-fix soft reset functionality which had got broken when i upgraded the cpu core 2012-03-18 03:46:06 +00:00
zeromus 2b21ca7127 add new, more detailed 6502X cpu core, use it in the nes core as experiment. win almost all the speed back, pass some more tests. 2012-03-15 21:28:37 +00:00
zeromus 20a242c27e sync mos6502 from my last core generator checkin 2012-03-15 20:40:50 +00:00
pjgat09 32bc215c2e MOS6507: Hacked in BCD mode (borrowed from HuC6280). Pitfall's time counter now works correctly 2012-03-14 16:03:14 +00:00
beirich ca47082737 fix some PCE savestate desyncs 2012-03-12 00:14:44 +00:00
pjgat09 23cb513188 MOS6507: adjusted for instructions with a variable cycle count 2012-03-11 07:08:48 +00:00
pjgat09 84a11eacdf Switched over to using the 6507 to allow for some modifications to the CPU
MOS6507: now executes instructions on the last cycle. This corrects a syncing issue with the TIA
TIA: added ball data, partially implemented HMOVE, implemented VBLANK
2012-03-11 03:22:44 +00:00
beirich bc2e7995cc clone 6502 into 6507 2012-03-11 03:09:43 +00:00
taotao54321 c6fcda4418 6502 disassembler: print the destination address of branch, not the offset 2012-03-10 19:10:12 +00:00
taotao54321 9ab33cba8b 6502: partially implemented unofficial NOPs for "Puzznic (U)", "Puzznic (J)".
It is quite insufficient, but at least, we have to increment program counter appropriately.
For immediate addressing mode, it will be correct. For other addressing modes, I don't know whether they access memory, so further investigation will be needed.
2012-03-08 16:48:36 +00:00
taotao54321 26ff1a1bc5 cosmetics (indent for BRK opcode) 2012-03-08 15:33:52 +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
zeromus 5f66de57ec discohawk-add capability for searching for mis-extensioned files (broadens compatibility a bit) and autodetecting audio tracks based on extension where otherwise marked as binary. 2012-01-21 21:23:19 +00:00
beirich 51f2e28e1b 68000: fix ASL/ASR bug. Correct calculation of carry flag on subtracty operations 2011-10-30 15:35:14 +00:00
beirich b4793ec43c 68000: flags were not calculated in EXT 2011-10-27 04:15:16 +00:00
beirich 7ae6dfb534 68000: implement CMPM 2011-10-27 04:02:11 +00:00
beirich e96912dab0 68000: fix dumb MULS/MULU/DIVS/DIVU bug 2011-10-27 03:06:33 +00:00
beirich 5a5a424cc7 gen: some work on renderer. 2011-10-18 03:48:37 +00:00
beirich 0924ad07fd 68000: fix bug in CMP instruction >_> 2011-10-13 02:38:23 +00:00
beirich 7cedd71729 68000: fix bug with ADDQ.W/SUBQ.W operating on address registers 2011-10-12 02:20:03 +00:00
beirich 04b93b5b8b erp, disable insanely slow 68000 logging in the checked-in version 2011-10-11 04:03:06 +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 c787b70613 68000: implement EORI, ROXL, ROXR. Fix bugs on ADDI.L and SUBI.L. Complete MOVA timings. Work on An/PC Indexed addressing modes. 2011-10-09 19:15:31 +00:00
beirich 2d2bfae611 68000: implement NEG, fix bug on ANDI.L 2011-10-09 06:19:59 +00:00
beirich a1d8e9a209 68000: implement UNLK, RTE, TRAP, ANDI to SR, and EORI to SR 2011-10-09 03:51:57 +00:00
beirich 1c38de023e 68000: implement BSET, BCLR, BCHG, and NOT 2011-10-08 23:26:29 +00:00
beirich 18de3c9efc 68000: implement AND, OR, EOR. Fix interrupt bug. Fix bug with SR register 2011-10-08 19:57:22 +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 18a3f3f87a 68000: more flags fixes, especially N flag calculation. derp. :| 2011-10-07 05:13:15 +00:00
beirich 575a8940cb 68000: more add/sub flags fixes 2011-10-07 04:21:20 +00:00
beirich f2ca21759c 68000 timings and flags fixes, some new opcode handlers 2011-10-07 03:04:48 +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 cf8216ac46 pce-cd: basically working pretty okay! (fixed bug causing issues with extended ADPCM playback sequences) 2011-09-28 05:03:22 +00:00
beirich f3dc6068ce delete extra/external 68k core 2011-09-27 02:46:23 +00:00
beirich 9aa70c4fa9 Much improved pce-cd savestateyfulness
Cleanup and stateyness of SCSI bus still in progress; states not done yet
2011-09-16 04:59:59 +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 8571853828 still-in-the-midst-of-it turbocd check-in 2011-08-29 02:47:03 +00:00
beirich 0a5157d9a6 Extremely preliminary TurboCD support 2011-08-14 18:20:13 +00:00
beirich 91baebf8b2 [PCE] Implement ORA under T-Flag, fixes City Hunter 2011-07-23 21:24:43 +00:00
beirich 47def064fa significant PCE timing/compat improvements, still poking at a few things 2011-07-19 03:53:07 +00:00
beirich 3f27ac0b2a Fix PCE Populous by supporting its custom SaveRAM.
+ Unsubstantial TurboCD progress.
2011-07-15 02:08:18 +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
zeromus 14cbe68303 fix 6502 disassembly 2011-06-10 03:43:17 +00:00
zeromus 72100bd304 [NES] ELROM emulation (cv3 and laser invasion tested) and core savestate logic brought up to date. savestates for newer mappers still need reworking. 2011-06-09 19:45:07 +00:00
zeromus d0ea2f7106 [NES] one last cpu bug 2011-06-07 01:31:06 +00:00
zeromus 00debfe6dd [NES] battletoads beyotch 2011-06-07 01:05:57 +00:00
zeromus e6afb2359b [nes] timing and accuracy work. 2011-06-06 10:27:42 +00:00
zeromus db28312787 [NES] fully consolidated text/binary serialization, and don't save screen buffer to binary savestates 2011-04-17 22:51:53 +00:00
zeromus 35f339149c remove stupid jscript dependency in core emulator 2011-04-17 08:49:49 +00:00
zeromus 9fd79ee576 [ARM] and some long overdue cleanup 2011-04-04 05:24:12 +00:00
zeromus e78708213c [ARM] add handful of floating point instructions and most importantly: NOP! 2011-04-04 05:13:45 +00:00
zeromus 510e52271b [ARM] 2011-04-03 07:58:12 +00:00
zeromus 5cd5e799a6 add 5% of the world's slowest ARM cpu emulator 2011-04-03 05:24:31 +00:00
zeromus 2fe2aae243 [NES] rewind for the masses 2011-03-21 02:22:10 +00:00
zeromus 6493b65690 [NES] fix some input bugs 2011-03-20 02:25:47 +00:00
zeromus f7bf5bdd17 [NES] fix some interrupt-related bugs to pass more cpu tests, add reset handling, improve iNES header handling some more 2011-03-20 02:12:10 +00:00
zeromus c7f0c457ad [NES] work on sound, improve square waves muchly, add 6502 IRQ signal, make add some infrastructure to keep from buffering samples while core is silenced. 2011-03-19 09:12:56 +00:00
beirich 0a354c2748 PCE: Fix a bug in the timer; fix glitch in VBlank interrupt handling (fixing intro in Dungeon Explorer) 2011-03-19 06:00:33 +00:00
beirich d211a6d3c5 PCE: Fix timer issue causing Battle Royale to break 2011-03-18 04:24:31 +00:00
beirich 5c9ee84ed4 PCE minor updates 2011-03-18 03:39:11 +00:00
beirich 3cdd222f51 HuC6280: Fix glitch in low-speed mode 2011-03-17 05:54:21 +00:00
beirich 4c9057060b HuC6280: Implement high/low speed modes 2011-03-17 04:29:46 +00:00
beirich ac3acfd721 oops, didn't get rid of all the 1-cycle page boundary penalties 2011-03-13 02:32:13 +00:00
beirich 420bad0a2e HuC6280: Accepting an interrupt takes 8 cycles; Correcting handling of T flag on RTI and PLP instructions; 1-cycle penalty for accesses across page boundaries does not apply 2011-03-13 02:22:29 +00:00
beirich e07349c582 [PCE] improve cpu instruction timing 2011-03-06 06:06:49 +00:00
zeromus 0d5cff7408 [NES] mapper cleanup and savestates 2011-03-01 09:32:12 +00:00
zeromus c21d92f694 [NES] add SxROM (mmc1), including save ram support. also add some undocumented NOP variants to 6502 core because I thought I needed them 2011-03-01 07:25:14 +00:00
zeromus ee336bec15 [NES] add 6502 BRK instruction and some mapper=2 games (incl. castlevania and megaman) 2011-02-28 07:53:19 +00:00
beirich dd109b76da [PCE] Implement T-flag operation of AND instruction, mostly fixing Legendary Axe 2011-02-27 16:41:48 +00:00
zeromus 4e85d82f14 update 6502 core generator legit-like 2011-02-27 09:49:53 +00:00
zeromus c5febf8e20 neshawk!! emulate attractmode without bugs = initial checkin 2011-02-27 09:45:50 +00:00
beirich d381be67a6 [PCE] Convert memory mappers from 16-bit addressing to 21-bit addressing 2011-02-26 23:02:34 +00:00
zeromus 8f59b1f582 restore gb core to some semblance of working order, and hook up its debugger; and add the newer, improved Z80A (but not the Z80GB, ironically) disassembler 2011-01-20 06:24:31 +00:00
beirich 3c8236fd32 PAL support for SMS 2011-01-13 06:10:50 +00:00
beirich 89e4c5a674 2011-01-11 02:55:51 +00:00