log z80_to_x86.c @ 657:92ce5ea5ffc9

age author description
Thu, 01 Jan 2015 20:07:47 -0800 Michael Pavone Use call_args and call_args_abi in Z80 core
Thu, 01 Jan 2015 14:36:55 -0800 Michael Pavone Remove some of the hard coded assumptions about the memory map from the CPU cores
Tue, 30 Dec 2014 19:11:34 -0800 Michael Pavone Merge
Tue, 16 Dec 2014 01:10:54 -0800 Michael Pavone Fix flags for rra, rrca, rla and rlca. Fix timing for rr, rrc, rl and rlc when using IX or IY. Fix access to I and R registers (R still needs to be made 7-bit though). Fix flags for ld a, i. The fix for access to I fixes PCM playback in Titan Overdrive and music playback in Crackdown.
Wed, 03 Dec 2014 09:30:01 -0800 Michael Pavone Temporarily comment out code to translate Z80 instructions in place as in rare cases it can stomp the next instruction if a branch goes from a short from to a long one
Sat, 21 Jun 2014 09:36:15 -0700 Michael Pavone Fix Z80 interrupts
Fri, 20 Jun 2014 07:57:32 -0700 Michael Pavone Added some preliminary support for interpreting Z80 code from non-RAM addresses
Thu, 19 Jun 2014 19:50:16 -0700 Michael Pavone Properly handle Z80 breakpoints on self-modifying code and setting Z80 breakpoints before the Z80 program has been loaded
Thu, 19 Jun 2014 08:14:35 -0700 Michael Pavone Slight cleanup of vint handling on the Z80
Mon, 29 Dec 2014 23:08:39 -0800 Michael Pavone Fix handling of code writes for Z80 core. This seems to get things close to being back to where they were before the big refactor that broke the Z80 core. Some problems remain. Notably the sound driver in Sonic 2 is still quite broken.
Fri, 26 Dec 2014 15:45:31 -0800 Michael Pavone Fix a few bugs introduced in the Z80 core from the adjustments to fit with the code gen refactor
Fri, 26 Dec 2014 12:56:53 -0800 Michael Pavone Fix an off-by-one error in a branch destination in the generation of handle_cycle_limit for the Z80
Fri, 26 Dec 2014 12:52:13 -0800 Michael Pavone Update code->cur before calling z80_get_address_trans in z80_retranslate_inst to avoid any newly translated instructions from being placed in the "buffer zone". Save the current value of the code_info struct for placing the final jmp instruction in the correct place
Fri, 26 Dec 2014 12:34:41 -0800 Michael Pavone Add in missing generated Z80 helper functions. Fix a small bug in Z80_HALT. Fix generation of save and load context for Z80
Mon, 22 Dec 2014 20:55:10 -0800 Michael Pavone Z80 core is sort of working again
Wed, 17 Dec 2014 23:03:19 -0800 Michael Pavone Get rest of emulator compiling again with Z80 core enabled
Wed, 17 Dec 2014 09:53:51 -0800 Michael Pavone Get Z80 core back into compileable state
Sun, 14 Dec 2014 16:45:23 -0800 Michael Pavone WIP effort to update z80 core for code gen changes
Tue, 17 Jun 2014 01:50:29 -0400 Mike Pavone blastem builds and almost works on OS X now
Mon, 27 Jan 2014 22:12:22 -0800 Michael Pavone Fix timing of certain ld and jp instructions in the Z80 core
Mon, 06 Jan 2014 22:54:05 -0800 Michael Pavone The local clone on my laptop got messed up and some changes had not been pushed. This commit represents the status of the working copy from that clone. It unfortunately contains some changes that I did not intend to commit yet, but this seems like the best option at the moment.
Tue, 10 Sep 2013 23:31:08 -0700 Mike Pavone Added copyright notice to source files and added GPL license text in COPYING
Sat, 29 Jun 2013 17:15:08 -0700 Mike Pavone Add support for loading GST format savestates
Mon, 24 Jun 2013 21:32:25 -0700 Mike Pavone Fix access to int_enable_cycle in EI
Sat, 15 Jun 2013 23:10:48 -0700 Mike Pavone Fix DI
Fri, 14 Jun 2013 23:27:01 -0700 Mike Pavone Fix adc and sbc
Thu, 13 Jun 2013 22:23:15 -0700 Mike Pavone Fix LDIR
Tue, 11 Jun 2013 23:09:57 -0700 Mike Pavone Bail out on attempt to run code from bank area until it is properly supported
Sat, 08 Jun 2013 11:31:52 -0700 Mike Pavone Use a call instruction to figure out the original native address when retranslating so that it does not get lost when the byte transforms from a instruction word to extension word
Thu, 06 Jun 2013 08:45:54 -0700 Mike Pavone Removed out of date TODO
Thu, 06 Jun 2013 08:19:25 -0700 Mike Pavone Fix LDD and LDDR
Wed, 05 Jun 2013 22:55:23 -0700 Mike Pavone Fix dec and inc when the operand is in memory
Wed, 05 Jun 2013 18:47:39 -0700 Mike Pavone Fix LDI
Tue, 04 Jun 2013 22:30:49 -0700 Mike Pavone Fix set/res when the operand is in memory
Sun, 02 Jun 2013 21:12:26 -0700 Mike Pavone Fix cycle count for inc and dec
Sun, 02 Jun 2013 20:14:27 -0700 Mike Pavone Bunch of Z80 debugger improvements
Fri, 31 May 2013 20:46:56 -0700 Mike Pavone Fix P condition in Z80 core
Fri, 31 May 2013 19:43:13 -0700 Mike Pavone Partial implementation of Z80 debugger
Wed, 29 May 2013 00:13:48 -0700 Mike Pavone Fix push AF
Mon, 27 May 2013 20:37:55 -0700 Mike Pavone Fix sizeof expression passed to malloc in z80_init to avoid a minor memory error
Tue, 14 May 2013 21:59:56 -0700 Mike Pavone Some Z80 interrupt fixes
Thu, 09 May 2013 20:09:49 -0700 Mike Pavone Fix return address for RST
Thu, 09 May 2013 19:38:28 -0700 Mike Pavone Show absolute addresses for JR, JRCC and DJNZ in Z80 disassembler
Thu, 09 May 2013 19:24:18 -0700 Mike Pavone Fix terminal instruction detection in disassembler
Thu, 09 May 2013 18:36:21 -0700 Mike Pavone Properly handle instructions that use boty IYH and IYL
Thu, 09 May 2013 00:33:06 -0700 Mike Pavone Set the N flag to the correct value for DEC instructions
Thu, 09 May 2013 00:30:55 -0700 Mike Pavone Implement carry flag for shift instructions. Implement weird behavior for bit 0 of SLL. Fix missing break statement in SRL.
Thu, 09 May 2013 00:17:12 -0700 Mike Pavone Correctly set the N flag for SBC
Thu, 09 May 2013 00:14:54 -0700 Mike Pavone Deal with the fact that there's no 8-bit version of the BT family of instructions on x86
Wed, 08 May 2013 23:44:49 -0700 Mike Pavone Complete flag behavior for Z80 BIT instruction
Wed, 08 May 2013 23:31:19 -0700 Mike Pavone Properly handle negative displacements in Z80 core
Wed, 08 May 2013 23:29:21 -0700 Mike Pavone Contrary to the official documenation, OR and AND also set PV based on parity instead of overflow
Wed, 08 May 2013 23:20:41 -0700 Mike Pavone Set PV flag based on parity, not overflow for XOR
Wed, 08 May 2013 23:17:54 -0700 Mike Pavone BIT was setting the zero flag to the opposite of what it should have. This is now fixed.
Wed, 08 May 2013 23:12:08 -0700 Mike Pavone More fixes for confusion between Z80_UNUSED and MODE_UNUSED
Wed, 08 May 2013 23:03:18 -0700 Mike Pavone Compare src_op.mode with the correct constant in shift/rotate instructions
Wed, 08 May 2013 22:49:50 -0700 Mike Pavone Fix IX/IY register selection when the direction bit is set
Wed, 08 May 2013 22:46:03 -0700 Mike Pavone Fix calcuation of IX/IY dipslacements. Fix a bunch of stuff related to the IX/IY bit/shift/rotate instructions.
Wed, 08 May 2013 17:39:13 -0700 Mike Pavone Fix stupid copy-pasta bug in XOR
Wed, 08 May 2013 17:32:28 -0700 Mike Pavone Fix byte order of pop AF
Wed, 08 May 2013 14:40:48 -0700 Mike Pavone Added z80 test generator and z80 test runner.
Sun, 05 May 2013 11:17:37 -0700 Mike Pavone Implement RRD and implement flags on RLD
Sat, 04 May 2013 18:51:53 -0700 Mike Pavone Implemente RLD
Sat, 04 May 2013 16:23:28 -0700 Mike Pavone Implement HALT (sort of tested)
Sat, 04 May 2013 15:58:15 -0700 Mike Pavone Implement IN and OUT (untested)
Sat, 04 May 2013 15:15:55 -0700 Mike Pavone Implement RETI and RETN (untested). Cleanup tests for "terminal" instructions.
Sat, 04 May 2013 14:36:50 -0700 Mike Pavone Remove deferred address entries from abandoned translations inside z80_retrans_inst
Fri, 03 May 2013 20:18:28 -0700 Mike Pavone Fix native address lookup in bannked memory area
Fri, 03 May 2013 19:27:32 -0700 Mike Pavone Using push/pop inside translated code is not compatible with the current way the Z80 core returns to the caller
Fri, 03 May 2013 18:49:48 -0700 Mike Pavone Implement shift instructions (untested)
Thu, 02 May 2013 22:39:39 -0700 Mike Pavone Implement CPL and NEG (untested)
Thu, 02 May 2013 22:28:40 -0700 Mike Pavone Implement LDD and LDDR
Thu, 02 May 2013 22:26:47 -0700 Mike Pavone Implement LDI
Thu, 02 May 2013 22:18:22 -0700 Mike Pavone Fix IX/IY displace modes. Fix check for registers requiring REX.
Thu, 02 May 2013 21:54:04 -0700 Mike Pavone Sync Z80 on writes to busreq/reset ports. NULL out extra_pc on z80 reset
Thu, 02 May 2013 00:10:24 -0700 Mike Pavone Don't mix *H regs with the REX prefix
Wed, 01 May 2013 23:12:29 -0700 Mike Pavone Fix some more retranslation bugs in the Z80 core
Wed, 01 May 2013 20:09:53 -0700 Mike Pavone Fix a crash bug in instruction retranslation
Tue, 30 Apr 2013 20:33:30 -0700 Mike Pavone Implement ld to and from the I and R registers
Tue, 30 Apr 2013 01:00:10 -0700 Mike Pavone Implement LDIR and fix a bug in which context was not restored after a call to z80_handle_code_write
Tue, 30 Apr 2013 00:39:20 -0700 Mike Pavone Fix a remaining z80_write reg swap bug. Properly initialize the native map slots. Reset appropriate regs when z80_reset is called.
Mon, 29 Apr 2013 23:02:39 -0700 Mike Pavone Implement CCF and SCF
Mon, 29 Apr 2013 22:52:05 -0700 Mike Pavone Properly handle wrapping around to 0 in translate_z80_stream
Mon, 29 Apr 2013 22:37:47 -0700 Mike Pavone Fix bug in end condition inside translate_z80_stream.
Mon, 29 Apr 2013 22:32:21 -0700 Mike Pavone Squashing some bugs introduced when I switched the register assignments for z80_write_byte around.
Mon, 29 Apr 2013 21:46:48 -0700 Mike Pavone Implement retranslating code when written to. Possibly broken, need to fix some other bugs before a proper test.
Mon, 29 Apr 2013 00:59:50 -0700 Mike Pavone Implemented basic interrupt support in Z80 core.
Sun, 28 Apr 2013 23:25:18 -0700 Mike Pavone Implement ADC and SBC in Z80 core (untested)
Sun, 28 Apr 2013 22:41:30 -0700 Mike Pavone Implement rotation and bit set/reset instructions (untested).
Sun, 28 Apr 2013 21:00:27 -0700 Mike Pavone Implement RETCC in Z80 core.
Sun, 28 Apr 2013 14:32:45 -0700 Mike Pavone Implement EI, DI and IM in the Z80 core
Sun, 28 Apr 2013 14:05:02 -0700 Mike Pavone Implemente CP (untested)
Sun, 28 Apr 2013 13:45:17 -0700 Mike Pavone Implement EX, EXX and RST in Z80 core
Fri, 26 Apr 2013 22:27:17 -0700 Mike Pavone Implement BIT and DJNZ (tested). Fix register mapping for IYL.
Fri, 26 Apr 2013 09:51:57 -0700 Mike Pavone Added the rest of the conditions to JPCC, implemented CALLCC (untested)
Thu, 25 Apr 2013 22:49:36 -0700 Mike Pavone Implement more Z80 instructions (untested)
Thu, 25 Apr 2013 21:01:11 -0700 Mike Pavone Get Z80 core working for simple programs
Tue, 16 Apr 2013 22:29:00 -0700 Mike Pavone Make reset trigger debug exit to make it easier to test the same cases in blastem and musashi. Fix asl #1 overflow flag.