log z80_to_x86.c @ 1913:2c742812bcbb

age author description
Tue, 25 Feb 2020 20:03:04 -0800 Michael Pavone Fix edge case in Z80 interrupt handling. Fixes music in Metal Blast 2277
Sun, 07 Apr 2019 00:06:29 -0700 Michael Pavone Get 64-bit builds working for Windows target
Mon, 25 Feb 2019 21:22:14 -0800 Michael Pavone More instruction timing fixes in old Z80 core
Tue, 19 Feb 2019 22:59:14 -0800 Michael Pavone Fix cycle counts of a few instructions in old Z80 core
Fri, 22 Jun 2018 23:10:27 -0700 Michael Pavone Fix some memory errors (mostly leaks) identified by valgrind
Sun, 08 Apr 2018 12:26:18 -0700 Michael Pavone Fix timing for Z80 JP cc, nn instruction
Thu, 19 Oct 2017 03:21:24 -0700 Michael Pavone Implemented Z80 IM 2 and attempted correct intack cycle delay
Tue, 29 Aug 2017 00:30:20 -0700 Michael Pavone Ensure extra_pc is NULL when resuming a save state
Thu, 24 Aug 2017 19:28:56 -0700 Michael Pavone Allow actually saving a save state in more Z80 states. Save busreq/reset state in bus arbiter section for "native" save states
Wed, 16 Aug 2017 20:06:28 -0700 Michael Pavone Added save states to SMS emulation
Sun, 06 Aug 2017 00:06:36 -0700 Michael Pavone WIP - New savestate format
Sun, 28 May 2017 21:02:47 -0700 Michael Pavone Implemented Z80 NMI
Thu, 02 Mar 2017 22:18:15 -0800 Michael Pavone Fix implementation of in c and out c on 32-bit x86
Sun, 19 Feb 2017 17:37:25 -0800 Michael Pavone Fix loading of the R register from the in memory context
Sun, 19 Feb 2017 12:41:57 -0800 Michael Pavone Ported correct but inefficient overlapping instruction handling from 68K core to Z80 core. Fixed remaining stack alignment issue for Z80 breakpoints on 64-bit. Probably still needs fixing for 32-bit
Tue, 14 Feb 2017 05:14:10 -0800 Michael Pavone Hacky fix so sound works in Project MD again
Wed, 18 Jan 2017 07:29:06 -0800 Michael Pavone Fix regression in tracking of 3+ byte instructions in Z80 core
Tue, 03 Jan 2017 21:37:36 -0800 Michael Pavone Fix implementation of Z80 HALT instruction
Mon, 02 Jan 2017 23:35:40 -0800 Michael Pavone Invalidate translated code on a cartridge bank change in SMS mode. Fix handling of bank 0
Sun, 01 Jan 2017 01:10:44 -0800 Michael Pavone Partial fix for Z80 debugger brokeness introduced with stack alignment changes
Wed, 28 Dec 2016 20:39:27 -0800 Michael Pavone Remove memory map assumptions from Z80 core and move a little bit of logic to the generic backend.c so it can be shared between CPU cores
Thu, 22 Dec 2016 19:51:25 -0800 Michael Pavone Initial support for Genesis/Megadrive PBC mode. VDP still needs Mode 4 to be useful.
Thu, 22 Dec 2016 10:51:33 -0800 Michael Pavone More cleanup in preparation for SMS/Mark III support
Wed, 14 Dec 2016 23:27:42 -0800 Michael Pavone Fix a couple of timing regressions in Z80 core
Mon, 01 Aug 2016 19:24:51 -0700 Michael Pavone Implemented IND and INDR
Mon, 01 Aug 2016 19:18:50 -0700 Michael Pavone Implemented INIR
Mon, 01 Aug 2016 09:48:10 -0700 Michael Pavone Implement INI
Sat, 30 Jul 2016 16:01:57 -0700 Michael Pavone Fix handling of undocumented flag bits for ADD in 32-bit builds
Sat, 30 Jul 2016 14:03:25 -0700 Michael Pavone Fixed bug introduced in NEG with addition of undocumented flags
Fri, 29 Jul 2016 22:06:45 -0700 Michael Pavone Implement undocumented flag bits for shift instructions
Fri, 29 Jul 2016 20:59:19 -0700 Michael Pavone Implement undocumented flag bits for RLD and RRD
Fri, 29 Jul 2016 09:23:59 -0700 Michael Pavone Implemented undocumented flag bits for rotate instructions
Fri, 29 Jul 2016 09:14:32 -0700 Michael Pavone Implement undocumented flag bits for block LD instructions
Fri, 29 Jul 2016 00:17:40 -0700 Michael Pavone Implement undocumented flag bits for block CP instructions
Thu, 28 Jul 2016 23:37:46 -0700 Michael Pavone Implement undoumented flag bits for DAA, CPL, SCF and CCF
Thu, 28 Jul 2016 22:59:09 -0700 Michael Pavone Partial support for undocumented flag bits
Wed, 27 Jul 2016 23:08:05 -0700 Michael Pavone More efficient register usage in 32-bit mode
Wed, 27 Jul 2016 22:46:22 -0700 Michael Pavone Change cycle tracking code for Z80 core to only use a single register. Store low 7 bits of R in a reg and increment it appropriately.
Tue, 26 Jul 2016 23:12:23 -0700 Michael Pavone Fix DAA and implement half-carry for remaining instructions. Z80 core now passes ZEXDOC!
Tue, 26 Jul 2016 00:11:33 -0700 Michael Pavone Implement half-carry for INC, DEC and NEG
Mon, 25 Jul 2016 23:16:04 -0700 Michael Pavone Properly handle redundant prefixes
Sun, 24 Jul 2016 18:53:22 -0700 Michael Pavone Implement block CP instructions. Fix bug that would corrupt context reg in DAA. Fix flag values for when LD block instructions are interrupted part way through.
Sun, 24 Jul 2016 17:17:59 -0700 Michael Pavone Implement Z80 DAA. Implement half-carry flag for the rest of the "easy" cases. Implement flags for IN instruction. Fix implementation of IN for IN F, (C) case
Sat, 23 Jul 2016 12:43:52 -0700 Michael Pavone Implement Z80 block OUT instructions. Fixes Power Monger
Wed, 20 Apr 2016 23:19:13 -0700 Michael Pavone Fix bug in Z80 rrd implementation. This fixes the annoying high pitched wine in Afterburner II.
Wed, 20 Apr 2016 23:00:37 -0700 Michael Pavone Fix crash bug in Z80 debugger introduced with stack alignment changes
Fri, 27 Nov 2015 10:47:35 -0800 Michael Pavone Replace some hard-coded instruction length assumptions with a calculation so they will work properly on both 32-bit and 64-bit hosts
Thu, 26 Nov 2015 22:30:41 -0800 Michael Pavone Fix for Z80 retranslation post alignment rework
Thu, 26 Nov 2015 00:10:36 -0800 Michael Pavone Z80 core is now slightly less broken
Wed, 25 Nov 2015 20:18:34 -0800 Michael Pavone Get Z80 core sort of working again post alignment change
Wed, 25 Nov 2015 08:40:45 -0800 Michael Pavone Partially working change to do proper stack alignment rather than doing a lame alignment check when calling a C compile dfunction. 68K core seems okay, but Z80 is busted.
Fri, 13 Nov 2015 22:56:59 -0800 Michael Pavone Selecting a second game from the menu now works
Wed, 04 Nov 2015 19:14:39 -0800 Michael Pavone Improve timing of Z80 busack. Fixes a crash in Barkley: Shut Up and Jam. Also vastly improves the audio output of Stuck Somewhere in Time
Sat, 31 Oct 2015 13:49:27 -0700 Michael Pavone Small tweaks to timing of 68K/Z80 interactions based on latest tests
Sat, 31 Oct 2015 01:07:56 -0700 Michael Pavone Set flags for ld a, r
Thu, 29 Oct 2015 23:12:01 -0700 Michael Pavone Fix timing of certain variants of LD
Thu, 29 Oct 2015 21:42:10 -0700 Michael Pavone Fix timing of IM instruction
Fri, 18 Sep 2015 19:54:02 -0700 Michael Pavone Fixed a copy pasta error in the implementation of LDD and LDDR. HL should be decremented and not incremented in those instructions.
Sat, 01 Aug 2015 17:05:51 -0700 Michael Pavone Implement half carry for a couple of the trivial cases
Wed, 29 Jul 2015 00:03:36 -0700 Michael Pavone Added support for an IO memory map in Z80 core