summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-12-29Added support for JPcc in Z80 test generatorMichael Pavone
2014-12-29Added support for JP in Z80 test generatorMichael Pavone
2014-12-29Add support for Z80 access to VDP via bank areaMichael Pavone
2014-12-29Update .hgignoreMichael Pavone
2014-12-29Fix flag mask for m68k notMichael Pavone
2014-12-28Fix opsize for sbcd in 68K instruction decoder. This fixes the timer bug in ↵Michael Pavone
Strider 2
2014-12-28Removed bcd_add and bcd_sub from runtime.S and generated the logic inline ↵Michael Pavone
with the rest of abcd and sbcd translation. Fixed some edge cases and undefined flag behavior in the process
2014-12-27Fix divide by zero exception return address when div instruction is bigger ↵Michael Pavone
than 1 word
2014-12-27Decrement address register after fetching source in move with -(ax) dest to ↵Michael Pavone
avoid bug when src is the dst addres reg
2014-12-27Uncomment 68000 testcasesMichael Pavone
2014-12-27Don't use out of bounds displacements in indexed mode even if our targeted ↵Michael Pavone
address is out of RAM range
2014-12-26Fix memory map flags in ztestrunMichael Pavone
2014-12-26Fix mask for bank area in Z80 memory mapMichael Pavone
2014-12-26Fix a bug in ori to SR that was swapping USP and SSP inappropriatelyMichael Pavone
2014-12-26Get Z80 banked access sort of working againMichael Pavone
2014-12-26Fix reg-indirect mode for RBP/R13Michael Pavone
2014-12-26Set int_cycle to CYCLE_NEVER in sync_z80 so that the interrupt routine isn't ↵Michael Pavone
taken inappropriately now that the kludge in handle_cycle_limit_int has been removed
2014-12-26Fix a few bugs introduced in the Z80 core from the adjustments to fit with ↵Michael Pavone
the code gen refactor
2014-12-26Add Z80 test runner Python script I wrote a while back and forgot to commitMichael Pavone
2014-12-26Update .hgignoreMichael Pavone
2014-12-26Fix an off-by-one error in a branch destination in the generation of ↵Michael Pavone
handle_cycle_limit for the Z80
2014-12-26Update code->cur before calling z80_get_address_trans in ↵Michael Pavone
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
2014-12-26Set the byte_swap flag in the M68K core so gen_mem_fun correctly inserts xor ↵Michael Pavone
instructions for byte access functions
2014-12-26Add a couple of missing checks for the byte_swap and address_size parameters ↵Michael Pavone
in gen_mem_fun
2014-12-26Add in missing generated Z80 helper functions. Fix a small bug in Z80_HALT. ↵Michael Pavone
Fix generation of save and load context for Z80
2014-12-22Z80 core is sort of working againMichael Pavone
2014-12-17Get rest of emulator compiling again with Z80 core enabledMichael Pavone
2014-12-17Get Z80 core back into compileable stateMichael Pavone
2014-12-14WIP effort to update z80 core for code gen changesMichael Pavone
2014-03-11Split gen_mem_fun out of m68k_core_x86 and make it more generic so it can be ↵Michael Pavone
used by the Z80 core
2014-03-08Move translate_m68k_movem to m68k_core.cMichael Pavone
2014-03-07Made m68k_retranslate_inst host-cpu generic and moved it to m68k_core.cMichael Pavone
2014-03-07Minor refactor to translate_m68k_move_ccr_sr and translate_m68k_stop to ↵Michael Pavone
reduce code duplication
2014-03-07Use swap_ssp_usp in translate_m68k_move_ccr_srMichael Pavone
2014-03-07Combine andi ccr/sr and ori ccr/sr.Michael Pavone
2014-03-07Use update_flags instead of individual set_flag calls in a few placesMichael Pavone
2014-03-07Refactored translate_m68k so that it contains no host-cpu specific code and ↵Michael Pavone
moved it to m68k_core.c
2014-03-05Combine implementations of lea and pea. Update bit instructions to use the ↵Michael Pavone
op_ family of functions to simplify their implementation a bit.
2014-03-05Refactor translate_m68k_cmp to use translate_m68k_arithMichael Pavone
2014-03-04Combine the implementation of ABCD and SBCD in the 68K coreMichael Pavone
2014-03-04Use translate_m68k_unary for SWAP in 68K coreMichael Pavone
2014-03-04Refactor a bunch of the arithmetic instructions in the 68K core to reduce ↵Michael Pavone
duplicate code
2014-03-04Small refactor to flag handling in 68K coreMichael Pavone
2014-03-03Remove jmp_r from gen_x86.h since it got added to gen.hMichael Pavone
2014-03-03More 68K core refactoring to both reduce the amount of code and better split ↵Michael Pavone
the host-cpu specific parts from the generic parts
2014-03-03Enable link time optimizationMichael Pavone
2014-03-03Make some small changes in trans so that it is more likely to produce the ↵Michael Pavone
same output as mustrans when given misbehaving programs. Add lea to testcases.txt. Improve the output of comparetest.py so that known issues can easily be separated from new ones.
2014-03-02Refactor translat_m68k_src and translate_m68k_dst into a single functionMichael Pavone
2014-03-02Initial stab at separating the generic parts of the 68K core from the ↵Michael Pavone
host-cpu specific parts.
2014-03-02Rename x86_68k_options and m68k_to_x86.h to m68k_options and m68k_core.h ↵Michael Pavone
respectively