summaryrefslogtreecommitdiff
path: root/m68k_to_x86.c
AgeCommit message (Collapse)Author
2013-01-26Tweaks to make blastem compatible with m68k-testerMike Pavone
2013-01-25Fix overflow flag on ASLMike Pavone
2013-01-17Add instruction address logging to translator and support for reading an ↵Mike Pavone
address log to the disassembler
2013-01-17Implement pc indexed mode as move dstMike Pavone
2013-01-16Implement ABCD an SBCD. Fix BTEST with register source.Mike Pavone
2013-01-15Implement support for self-modifying codeMike Pavone
2013-01-14Prep work for handling games that modify code in RAMMike Pavone
2013-01-13Fix movem.w when dest is register listMike Pavone
2013-01-13Fix return address for areg displacement mode JSRMike Pavone
2013-01-13Fix a bunch of bugs in the CPU core, add a 68K debuggerMike Pavone
2013-01-09Fix (a7)+ src when size is byte, fix trap return address, make div with areg ↵Mike Pavone
src decoded to invalid
2013-01-09Fix -(a7) dest when size is byteMike Pavone
2013-01-09Fix signed division with negative result, fix address reg destination with ↵Mike Pavone
word-sized operand, fix cmpm decoding and code generation, fix unbalanced pop in bit instructions
2013-01-08Fix scc to set reg to 0xFF rather than 1 when the condition is trueMike Pavone
2013-01-06Fix order of reading saved pc and swapping user and system stack pointersMike Pavone
2013-01-06Make sure we bail out of translation after translating an invalid instructionMike Pavone
2013-01-06Print a message when we try to run an invalid instruction, not when we try ↵Mike Pavone
to translate it
2013-01-06Fix order of SR and PC saved in an exception stack frameMike Pavone
2013-01-06Implement areg displacement mode for jsrMike Pavone
2013-01-06Implement negxMike Pavone
2013-01-06Implement movepMike Pavone
2013-01-06Implement EORI CCR/SRMike Pavone
2013-01-06Implement RTRMike Pavone
2013-01-06Fix a bunch of addressing modes in movem when a register list is the destinationMike Pavone
2013-01-06Minor optimization and a cycle count fix to leaMike Pavone
2013-01-06Initialize status register to proper value on startupMike Pavone
2013-01-05Fix certain address modes with lea when the destination is not a native registerMike Pavone
2013-01-05Implement more movem modes srcMike Pavone
2013-01-05Implement more address modes for movem dst and fix a missing break statement ↵Mike Pavone
in translate_m68k_dst
2013-01-05FIx movem when src is reg list and dst is not a areg predec modeMike Pavone
2013-01-05Fix predec address mode when used as sourceMike Pavone
2013-01-04Fix rotate instructions that use a register source. Fix ROXL/ROXR to ↵Mike Pavone
actually use the appropriate x86 instruction.
2013-01-04Add cycles for Bcc (needs work, but this changes keeps some ROMs from making ↵Mike Pavone
the emulator unresponsive)
2013-01-04Don't use the native call stack for M68K calls by defaultMike Pavone
2013-01-04Small fix for bit instructionsMike Pavone
2013-01-03Implement TRAP (untested)Mike Pavone
2013-01-03Implement MULU/MULS and DIVU/DIVSMike Pavone
2013-01-01Do a sync when interrupt mask changes so we can recompute the next interrupt ↵Mike Pavone
cycle. Also fix a bug in which the SR part of ORI to SR was not being performed.
2012-12-31Implement most of the "X" instructionsMike Pavone
2012-12-30Add support for pc indexed addressing mode to leaMike Pavone
2012-12-30Support more address modes for jmpMike Pavone
2012-12-29Fix swapMike Pavone
2012-12-29Cleanup bit instructions and fix bug in translate_m68k_move that caused ↵Mike Pavone
incorrect results once translate_m68k_src was fixed
2012-12-29Fix check in translate_m68k_src that deals with instructions for which both ↵Mike Pavone
operands are registers that are not mapped to a native x86-64 register
2012-12-29Fix encoding of movsx instruction when used with new (i.e. r9-r15) ↵Mike Pavone
registers. This fixes the indexed addressing modes when used with a word-wide index register
2012-12-29Some fixes for translating code in located in RAMMike Pavone
2012-12-29Implement the rest of the bit instructionsMike Pavone
2012-12-29Implemented ROL and RORMike Pavone
2012-12-29Fix logic for switching between USP and SSPMike Pavone
2012-12-28Fix return address pushed to stack for jsrMike Pavone