summaryrefslogtreecommitdiff
path: root/m68k_to_x86.h
AgeCommit message (Collapse)Author
2014-03-02Rename x86_68k_options and m68k_to_x86.h to m68k_options and m68k_core.h ↵Michael Pavone
respectively
2014-03-02Refactor gen_x86 to use an interface more like gen_arm and to remove the ↵Michael Pavone
need for the caller to decide whether an 8-bit or 32-bit displacement is needed in the rdisp functions. Update m68k_to_x86 to use the new version of the gen_x86 functions and do some minor refactoring there in the process
2014-03-02Add backtrace (bt) command to 68K debuggerMichael Pavone
2014-02-24Use a typedef code_ptr in place of uint8_t * in 68K core to better support ↵Mike Pavone
host instruction sets with different instruction word sizes. Make x86_68k_options contain a cpu_options so that gen_mem_fun can eventually be shared with the Z80 core.
2014-02-24Rename x86_backend.h and x86_backend.c to backend.h and backend.c respectivelyMike Pavone
2014-02-18Generate get_sr, set_sr and set_ccr at runtime so they can respect the ↵Michael Pavone
flag_regs setting
2014-02-16Generate handle_cycle_limit at runtime so it can use the generated ↵Michael Pavone
save/load_context functions. Since the hand written versions of save/load are no longer used they have been removed.
2014-02-16Generate native_addr and native_addr_and_sync at runtime so they can use the ↵Michael Pavone
generated save/load_context functions
2014-02-16Generate retrans_stub at runtime so it can use the generated ↵Michael Pavone
save/load_context functions
2014-02-15Get rid of the native stack option the 68K core. Trying to make it work with ↵Michael Pavone
code that messes with the stack is not worth the trouble.
2014-02-15Generate m68k_start_context at runtime so it can use the generated ↵Michael Pavone
load_context and save_context
2014-02-14Generate save_context and load_context functions at runtimeMichael Pavone
2013-09-10Added copyright notice to source files and added GPL license text in COPYINGMike Pavone
2013-05-21m68k_trap is now replaced with a generated one so it can call the generated ↵Mike Pavone
memory acccess functions. The old static memory access functions have been removed from runtime.S
2013-05-21Generate handle_cycle_limit_int at runtime so it can refer to the runtime ↵Mike Pavone
generated memory map functions
2013-05-18Mostly working runtime generation of memory map read/write functionsMike Pavone
2013-05-10Initial stab at horizontal interrupts and improving accuracy of vertical ↵Mike Pavone
interrupts. Also added the VINT pending flag to status port.
2013-05-05Add a YM2612 stub implementation with just timers and status registers so ↵Mike Pavone
that games that depend on it can run.
2013-04-30Add a second context pointer to m68k_context so that try_fifo_write can ↵Mike Pavone
still have easy access to the VDP. Handle writes to Z80 code addresses from the 68K.
2013-04-29Implement retranslating code when written to. Possibly broken, need to fix ↵Mike Pavone
some other bugs before a proper test.
2013-04-25Get Z80 core working for simple programsMike Pavone
2013-04-16Small bit of cleanupMike Pavone
2013-01-26Tweaks to make blastem compatible with m68k-testerMike Pavone
2013-01-20Add support for breaking into the debugger while game is runningMike Pavone
2013-01-17Add instruction address logging to translator and support for reading an ↵Mike Pavone
address log to the disassembler
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 a bunch of bugs in the CPU core, add a 68K debuggerMike Pavone
2013-01-04Don't use the native call stack for M68K calls by defaultMike Pavone
2012-12-27Initial work on allowing dynamic branches and code in RAM plus a small fix ↵Mike Pavone
to effective address decoding
2012-12-26RTE doesn't crash the emulator anymoreMike Pavone
2012-12-26Initial stab at interrupt support. Make native code offsets bigger so I ↵Mike Pavone
don't have to worry about overflowing the offset. Implement neg and not (untested).
2012-12-21Implement a couple of supervisor instructionsMike Pavone
2012-12-18Get Flavio's color bar demo kind of sort of workingMike Pavone
2012-12-04M68K to x86 translation works for a limited subset of instructions and ↵Mike Pavone
addressing modes
2012-11-27x86 code gen, initial work on translatorMike Pavone