summaryrefslogtreecommitdiff
path: root/z80_to_x86.c
AgeCommit message (Collapse)Author
2013-05-09Fix return address for RSTMike Pavone
2013-05-09Show absolute addresses for JR, JRCC and DJNZ in Z80 disassemblerMike Pavone
2013-05-09Fix terminal instruction detection in disassemblerMike Pavone
2013-05-09Properly handle instructions that use boty IYH and IYLMike Pavone
2013-05-09Set the N flag to the correct value for DEC instructionsMike Pavone
2013-05-09Implement carry flag for shift instructions. Implement weird behavior for ↵Mike Pavone
bit 0 of SLL. Fix missing break statement in SRL.
2013-05-09Correctly set the N flag for SBCMike Pavone
2013-05-09Deal with the fact that there's no 8-bit version of the BT family of ↵Mike Pavone
instructions on x86
2013-05-08Complete flag behavior for Z80 BIT instructionMike Pavone
2013-05-08Properly handle negative displacements in Z80 coreMike Pavone
2013-05-08Contrary to the official documenation, OR and AND also set PV based on ↵Mike Pavone
parity instead of overflow
2013-05-08Set PV flag based on parity, not overflow for XORMike Pavone
2013-05-08BIT was setting the zero flag to the opposite of what it should have. This ↵Mike Pavone
is now fixed.
2013-05-08More fixes for confusion between Z80_UNUSED and MODE_UNUSEDMike Pavone
2013-05-08Compare src_op.mode with the correct constant in shift/rotate instructionsMike Pavone
2013-05-08Fix IX/IY register selection when the direction bit is setMike Pavone
2013-05-08Fix calcuation of IX/IY dipslacements. Fix a bunch of stuff related to the ↵Mike Pavone
IX/IY bit/shift/rotate instructions.
2013-05-08Fix stupid copy-pasta bug in XORMike Pavone
2013-05-08Fix byte order of pop AFMike Pavone
2013-05-08Added z80 test generator and z80 test runner.Mike Pavone
2013-05-05Implement RRD and implement flags on RLDMike Pavone
2013-05-04Implemente RLDMike Pavone
2013-05-04Implement HALT (sort of tested)Mike Pavone
2013-05-04Implement IN and OUT (untested)Mike Pavone
2013-05-04Implement RETI and RETN (untested). Cleanup tests for "terminal" instructions.Mike Pavone
2013-05-04Remove deferred address entries from abandoned translations inside ↵Mike Pavone
z80_retrans_inst
2013-05-03Fix native address lookup in bannked memory areaMike Pavone
2013-05-03Using push/pop inside translated code is not compatible with the current way ↵Mike Pavone
the Z80 core returns to the caller
2013-05-03Implement shift instructions (untested)Mike Pavone
2013-05-02Implement CPL and NEG (untested)Mike Pavone
2013-05-02Implement LDD and LDDRMike Pavone
2013-05-02Implement LDIMike Pavone
2013-05-02Fix IX/IY displace modes. Fix check for registers requiring REX.Mike Pavone
2013-05-02Sync Z80 on writes to busreq/reset ports. NULL out extra_pc on z80 resetMike Pavone
2013-05-02Don't mix *H regs with the REX prefixMike Pavone
2013-05-01Fix some more retranslation bugs in the Z80 coreMike Pavone
2013-05-01Fix a crash bug in instruction retranslationMike Pavone
2013-04-30Implement ld to and from the I and R registersMike Pavone
2013-04-30Implement LDIR and fix a bug in which context was not restored after a call ↵Mike Pavone
to z80_handle_code_write
2013-04-30Fix a remaining z80_write reg swap bug. Properly initialize the native map ↵Mike Pavone
slots. Reset appropriate regs when z80_reset is called.
2013-04-29Implement CCF and SCFMike Pavone
2013-04-29Properly handle wrapping around to 0 in translate_z80_streamMike Pavone
2013-04-29Fix bug in end condition inside translate_z80_stream.Mike Pavone
2013-04-29Squashing some bugs introduced when I switched the register assignments for ↵Mike Pavone
z80_write_byte around.
2013-04-29Implement retranslating code when written to. Possibly broken, need to fix ↵Mike Pavone
some other bugs before a proper test.
2013-04-29Implemented basic interrupt support in Z80 core.Mike Pavone
2013-04-28Implement ADC and SBC in Z80 core (untested)Mike Pavone
2013-04-28Implement rotation and bit set/reset instructions (untested).Mike Pavone
2013-04-28Implement RETCC in Z80 core.Mike Pavone
2013-04-28Implement EI, DI and IM in the Z80 coreMike Pavone