summaryrefslogtreecommitdiff
path: root/backend.h
AgeCommit message (Collapse)Author
2019-04-18WIP new 68K core using CPU DSLMichael Pavone
2019-02-12Integration of new Z80 core is sort of working nowMichael Pavone
2019-01-28Fix zero flag calculation in CPU DSLMichael Pavone
2018-07-06Update controller config when changed in UI without restartMichael Pavone
2018-01-31Made the NOR flash emulation a bit more flexible, but not yet flexible ↵Michael Pavone
enough to properly support the flash chip in the MegaWiFi cart
2017-09-13Preserve original address when retranslating instructions instead of ↵Michael Pavone
switching to the lowest alias
2017-04-03Improved printing of word at absolute address to support reading from all ↵Michael Pavone
address types. Implemented support for printing the value pointed to by a register. Removed abuse of read_dma_value in internal debugger.
2017-01-04Don't lock up CPU if performing a read with writes configured when in PBC ↵Michael Pavone
mode. Allow access to VDP debug commands from Z80 debugger in PBC mode. Handle Mode 4 in VDP debug print functions
2016-12-28Remove memory map assumptions from Z80 core and move a little bit of logic ↵Michael Pavone
to the generic backend.c so it can be shared between CPU cores
2016-10-04Add a new memory map flag to support an auxilliary buffer for translating ↵Michael Pavone
code from MMAP_PTR_IDX chunks for which the pointer is null
2016-07-27Change cycle tracking code for Z80 core to only use a single register. Store ↵Michael Pavone
low 7 bits of R in a reg and increment it appropriately.
2016-04-26Initial stab at implementing address error exceptions. Need to fill in the ↵Michael Pavone
value of IR, undefined bits of last stack frame word and properly deal with address errors that occur during exception processing.
2015-05-11Sync fixes and logging to fix more sync issuesMichael Pavone
2015-01-14Removed hardcoded assumptions in M68K core about which parts of the memory ↵Michael Pavone
map are RAM
2015-01-03Made the Z80 core more contained by refactoring some code in blastem.c into ↵Michael Pavone
z80_to_x86.c
2015-01-03All cycle counters are now based off the master clock. This seems to have ↵Michael Pavone
messed up Z80 interrupt timing (music in Sonic 2 is too slow for instance), but things are generally working
2015-01-01Remove some of the hard coded assumptions about the memory map from the CPU ↵Michael Pavone
cores
2014-12-29Fix handling of code writes for Z80 core. This seems to get things close to ↵Michael Pavone
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.
2014-12-26Get Z80 banked access sort of working againMichael Pavone
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-22Z80 core is sort of working againMichael Pavone
2014-12-17Get rest of emulator compiling again with Z80 core enabledMichael 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-07Refactored translate_m68k so that it contains no host-cpu specific code and ↵Michael Pavone
moved it to m68k_core.c
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-02-24Moved some generic stuff from backend.h gen_arm.h and gen_arm.c into gen.h ↵Michael Pavone
and gen.c. Added a couple fields to cpu_options so that gen_mem_fun can be made guest CPU generic
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